Apache, php and mysql
Posted: Wed Feb 06, 2008 10:38 pm
Hello
I am having an odd problem, i've installed php,mysql and apache, everything works fine except mysql.
Its not the usual problem though, if i run C:\dev\Apache2.2\php\php.exe C:\dev\Apache2.2\htdocs\index.php, php will execute the code and run the mysql query.
however if i am to load http://localhost/index.php, i get:
Fatal error: Call to undefined function mysql_connect() in C:\dev\Apache2.2\htdocs\index.php on line 5
So mysql does work with php, and php does work with apache, but mysql doesnt work with apache :S
anyone had a similar problem?
I am having an odd problem, i've installed php,mysql and apache, everything works fine except mysql.
Its not the usual problem though, if i run C:\dev\Apache2.2\php\php.exe C:\dev\Apache2.2\htdocs\index.php, php will execute the code and run the mysql query.
however if i am to load http://localhost/index.php, i get:
Fatal error: Call to undefined function mysql_connect() in C:\dev\Apache2.2\htdocs\index.php on line 5
So mysql does work with php, and php does work with apache, but mysql doesnt work with apache :S
anyone had a similar problem?