List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:July 21 1999 5:16pm
Subject:Re: Apache, mySQL, and PHP3
View as plain text  
Mihaela IFTIMI-ILIE wrote:
> Hi, all!
> I can't connect to mysql via php3 ! I get this error (on browser):
> Call to unsupported or undefined function mysql_connect()!
> I have instaled : mysql 3.22.23, mod-php3, apache 1.3.2 (these packets are
> rpm) and I have RedHat 5.2 linux box.
> First I instaled mysql 3.22.23 next mod-php3 and then apache 1.3.2.
> Where I'm wrong ?
> Can anyone help me ?
> Thanks in advance

It looks like your PHP module is not aware of mysql_connect() - it was
probable compiled without support for MySQL.

The best thing to do is to bring in the Apache and PHP sources and build
everything yourself - make sure to give
-with-mysql=/path/to/libmysqlclient.a to configure when building PHP (
read the manuals carefully)
Sasha Pachev (home) (work)
Apache, mySQL, and PHP3 on OpenBSD 2.4John Kerbawy13 Jul
  • Re: Apache, mySQL, and PHP3 on OpenBSD 2.4Sasha Pachev13 Jul
    • Apache, mySQL, and PHP3Mihaela IFTIMI-ILIE13 Jul
      • Re: Apache, mySQL, and PHP3Darrell Shifflett13 Jul
      • Re: Apache, mySQL, and PHP3Al Feisal13 Jul
      • Re: Apache, mySQL, and PHP3clhubert14 Jul
      • Re: Apache, mySQL, and PHP3Sasha Pachev21 Jul
      • open sized window with PHPWilliam Samplonius22 Jul
      • Re: open sized window with PHPDaniel Koch22 Jul
      • Re: open sized window with PHPSasha Pachev22 Jul