I’m testing a connection to mysql 5.1, with php5 on apache2 (windows).
I have made a regular php test connection page from a tutorial but I’m getting the error "mysql_connect" not defined.
In eclipse for php, I see the function defined under the language library. However when I make a page:
<?php
phpinfo();
?>
I don’t see mysql functions or anything there; can someone tell me why? I thought PHP5 at the least would support MySQL, no?
there is php documentation
http://php.net/docs.php
mysql_connect
http://php.net/manual/en/function.mysql-connect.php
however mysql extension should be enabled in php.ini
(linux: /etc/apache2/)