lozina
Lifer
first time using php, I downloaded php 5 zip and unzipped it to c:\php on my windows xp machine.
then I followed some steps here to set it up so i can use it on my Apache Tomcat install. I created a file with php.phpinfo() in it and it worked- got a page full of config details. But the mysql section was missing from this page, and when I try a code snippet that does database I get the following error:
Fatal error: Call to undefined function mysql_connect() in C:\Tomcat6\webapps\test\test.php on line 6
and there is alot of stuff on google on resolving this but NONE of it is helping. basically i am supposed to activate the php_mysql.dll in extensions in php.ini (done) and make sure that libmysql.dll and php_mysql.dll are in the c:\php directory (done) and that c:\php is part of system path (done). I even restarted my computer after doing this and still getting that error and no mysql section is showing up from phpinfo..
can someone help me?
then I followed some steps here to set it up so i can use it on my Apache Tomcat install. I created a file with php.phpinfo() in it and it worked- got a page full of config details. But the mysql section was missing from this page, and when I try a code snippet that does database I get the following error:
Fatal error: Call to undefined function mysql_connect() in C:\Tomcat6\webapps\test\test.php on line 6
and there is alot of stuff on google on resolving this but NONE of it is helping. basically i am supposed to activate the php_mysql.dll in extensions in php.ini (done) and make sure that libmysql.dll and php_mysql.dll are in the c:\php directory (done) and that c:\php is part of system path (done). I even restarted my computer after doing this and still getting that error and no mysql section is showing up from phpinfo..
can someone help me?