I newly installed on my WIN2000 box PHP 5.2 and MySql 5. The installations went successfully.
I can manipulate Mysql from the command line;
I can run many non-mysql scripts in PHP;
But PHP will not connect to Mysql.
It croaks on mysql_connect();
( Fatal error: Call to undefined function mysql_connect() ).
1) I added PHP to my environmental path;
2) Added PHPRC to my system variables;
3) Put php.ini into Winnt directory;
4) Added libmysql.dll file to the Winnt system32 directory;
but no dice. Would appreciate to hear from some good tek tippers.
.... .... .... .... .... .... .... ....
I can manipulate Mysql from the command line;
I can run many non-mysql scripts in PHP;
But PHP will not connect to Mysql.
It croaks on mysql_connect();
( Fatal error: Call to undefined function mysql_connect() ).
1) I added PHP to my environmental path;
2) Added PHPRC to my system variables;
3) Put php.ini into Winnt directory;
4) Added libmysql.dll file to the Winnt system32 directory;
but no dice. Would appreciate to hear from some good tek tippers.
.... .... .... .... .... .... .... ....