PHP4/RedHat8/MySQL Problems

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Nunners
Forum Commoner
Posts: 89
Joined: Tue Jan 28, 2003 7:52 am
Location: Worcester, UK
Contact:

PHP4/RedHat8/MySQL Problems

Post 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????!!!
jim35802
Forum Newbie
Posts: 3
Joined: Sat May 17, 2003 11:00 am
Location: Nashville, TN

Post 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.
Post Reply