#24427 [NEW]: Can't Find Mysql function
| From: | flyruns at hotmail dot com | Date: | Tue, 01 Jul 2003 02:22:52 +0000 |
| Subject: | #24427 [NEW]: Can't Find Mysql function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-42952@lists.php.net to get a copy of this message | ||
From: flyruns at hotmail dot com
Operating system: windows 2000 Server sp2(chinese)
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: MySQL related
Bug description: Can't Find Mysql function
Description:
------------
when i install php5
-----------
copy php5beat1/dlls/* -> %SYSTEMROOT%/system32/
copy php5beat1/php4ts.dll -> %SYSTEMROOM%/system32/
copy php5beat1/php.ini_dist -> %SYSTEMROOT%/php.ini
edit httpd.conf
LoadModule php5_module pathto/php5beat1/sapi/php4apache2.dll
Addmodule module_php5.c
edit php.ini
----------------
http://localhost/phpinfo.php
i can't find any mysql info!!!!!!
Reproduce code:
---------------
<?php
$conn=@mysql_connect("localhost","root","") or die(mysql_error());
@mysql_close($conn) or die(mysql_error());
?>
--------OUTPUT-----------
Fatal error: Call to undefined function: mysql_connect() in C:\Program
Files\Apache Group\Apache2\htdocs\mysql.php on line 2
Expected result:
----------------
i think.
what's wrong happend in my install.
--
Edit bug report at http://bugs.php.net/?id=24427&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24427&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24427&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24427&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24427&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24427&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24427&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24427&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24427&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24427&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24427&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24427&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24427&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24427&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24427&r=gnused