I had a working installation of php 5 & MySQL 5 on Apache as localhost under win XP, but something broke it.
PHP calls to MySQL functions return "undefined function" errors. MySQL and Apache are running as services. I can execute PHP scripts that don't call MySQL and use MySQL on its own via command line or mysqladmin. Php.ini is in the right place (windows directory) and appears to be properly configured to load MySQL. It's the only php.ini file on the system. PATH=C:\windows;%SystemRoot%\system32;\Wbem;c:\%program files\php5%;%ext%;\c:program files\MySQL\MySQL Server 5.0\bin. I don't think PHPinfo()is reading that file, even though it says it is, because it does not show any changes to php.ini, even after restarting the server. Documentation in php.ini suggests that php's built-in defaults will take effect if there's no php.ini. I think that's what's happening, but I don't understand why. Can anyone help?
