I have only just started playing with PHP, and have installed it onto my Microsoft 2000 Server. It works fine, and I have played with some code.
I decided to install MySQL, I am sure the MySQL installed successfully - I can create a database etc at the MySQL command prompt.
However, PHP scripts that need to use MySQL do not run.
I have looked over a couple links, and put a couple test scripts on my server.
One script tells me to include the full path to the Mysql.dll file, so I tried this with no success (extension=c:\php\ext\php_mysql.dll)
The other script tells me the location of the php.ini file is in the c:\WINNT directory, which it isn't. It also says the php.ini is not loaded.
I copied the php.ini to the c:\WINNT folder as a test, and then non of my PHP scripts will run, not even the two test ones I had running. Removing this file allows the PHP scripts to run again.
So, I am assuming some settings are incorrect in the php.ini file, and possibly somewhere else, as I thought the php.ini file is meant to go in the c:\php dir.
Any clues as to where to start looking!?!
I am using PHP V5.2.5 and MySql V5.0.45 Community Edition.
Thanks all!