PDA

View Full Version : Error on running test script


Ian Johnson
Tue 2nd May '06, 8:44am
Hi all,

I have installed mysql 5.0.20 and PHP 5.1.2 on windows 2k I have also installed mysqli.

I have created a test db and test user then I have run the test script and always get the same message:-

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\vb_test.php on line 113

And the server is running.

Sounds like I am doing something silly can anybody spot it?:cool:

thanks

Ian Johnson
Tue 2nd May '06, 8:50am
I tried this as the user I created for mysql and also as root

Colin F
Tue 2nd May '06, 9:52am
It seems as if the mysql functions aren't compiled into PHP.

Ian Johnson
Wed 3rd May '06, 9:35pm
I reinstalled PHP the manual way instead of using the auto window install.

All going now:o