I'm having problems with PHP and MYSQL. OK, I'm running apache2 and PHP on a test Ubuntu(Warty) pc at home, I have MySql installed. I can access from other machines and have created tables.
I also have PHP install from what I can tell correctly. I can show the PHP info when I issue the PHPINFO () command from a web page. So it appears that the two are install OK.
The problem comes in when I try to issue code to display a MySql database from PHP. I get this error "Fatal Error: Call to undefined function: mysql_connect()".
I've spent the last two days on the web and have tried all the suggestions,
1. Uncomment the extensions = mysql.so in php.ini.
2. point the dir to the directory of the MySql.so
3. move around web pages etc.... etc....
I've tried everthing and nothing seems to work. Could someone please help!!!!
I also have PHP install from what I can tell correctly. I can show the PHP info when I issue the PHPINFO () command from a web page. So it appears that the two are install OK.
The problem comes in when I try to issue code to display a MySql database from PHP. I get this error "Fatal Error: Call to undefined function: mysql_connect()".
I've spent the last two days on the web and have tried all the suggestions,
1. Uncomment the extensions = mysql.so in php.ini.
2. point the dir to the directory of the MySql.so
3. move around web pages etc.... etc....
I've tried everthing and nothing seems to work. Could someone please help!!!!