How is it that I am able to remove all php.ini files from my Win XP machine, restart Apache, reboot, numerous time mind you, and still be able to see the \localhost\phpinfo.php file.
Can seemingly get PHP working, shows PHP page, but can't get MySql going at all.
Seems to be I can't read the php.ini file, yet, the phpinfo.php file is showning up.
What file is PHP reading if I have deleted all PHP.ini files from my machine?
About to just stick with php 4.3.8.
--
Well, not 5 minutes after posting this, I have resolved it, after days of working on it.
In apache I HAVE TO POINT to were the PHPINFO.php file is expecting to find the PHP.INI file, C:\Windows.
So in Apache I had to add:
PHPINIDir = "C:\WINDOWS"
I had it as C:\PHP.
Then I put the PHP file in C:\Windows.
Then in the PHP.INI I added the PHP EXT directory:
C:\php\ext
and uncommented out the:
extension:php_mysql.dll
mover the libmysql.dll from php to Windows\System32 and now everything works.
PHP5.0.5, MYsql 4 something, and APache 2.0.50
ahhhhhhh