Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Red hat 9 default apache server with no MySQL PHP support?

    Is the default apache server (with the corresponding default php module) that installs with red hat 9 lacking MySQL support?. I am traying to connect to a database using mysql_connect() and I get this error:

    Fatal error: Call to undefined function: mysql_connect() in /var/www/html/x3.php on line 9


  2. #2
    Linux Newbie
    Join Date
    Dec 2004
    Barrie, Ontario
    I've only installed apache, php, mysql, etc during the base install procedure once, and as I recall, php only has mysql support if you also install mysql... or maybe it didn't even then. Either way, the simplest way to fix it is to just install apache and php from source...
    Blog - KB5UMQ - Linux User #272983
    3 Rules:
    1) "It doesn't work..." is simply not useful information.
    2) Don't cross post!
    3) If you are asking for help, start by telling us your distro/os and version.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts