Page 1 of 1

PHP4/RedHat8/MySQL Problems

Posted: Wed May 14, 2003 11:06 am
by Nunners
I've got a serious problemwhen trying to get MySQL functionality in PHP4. It doesn't seem to recognise the mysql.so module.

Basically any PHP that has a mysql fucntion in it, it says undefined function.

PHP4 is supposed to support MySQL without having to reconfigure, but this doesn;t seem to be the case.

Has anyone come across a problem - or know how to fix it????!!!

Posted: Sat May 17, 2003 12:06 pm
by jim35802
You dont need to run mysql as a module because php4 has it built in. You might want to run php4 as a cgi module rather than a SAPI module. Especially if you are using apache, because support for php4 in apache 2 is quote unquote experimental. This may be the case for other webservers as well.