ID: 24427 Updated by: [EMAIL PROTECTED] Reported By: flyruns at hotmail dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: windows 2000 Server sp2(chinese) PHP Version: 5.0.0b1 (beta1) New Comment:
MySQL is not compiled into the distributed Windows binaries in PHP 5, like they are in PHP 4, so undefined MySQL functions are expected here. And btw, there is no php_mysql.dll in beta1, so wait for beta2 or use a snap: http://snaps.php.net/ Previous Comments: ------------------------------------------------------------------------ [2003-06-30 21:22:52] flyruns at hotmail dot com 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 [EMAIL PROTECTED]("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 this bug report at http://bugs.php.net/?id=24427&edit=1