List:General Discussion« Previous MessageNext Message »
From:Al Feisal Date:July 14 1999 5:33am
Subject:Re: Apache, mySQL, and PHP3
View as plain text  
I had the same problem when I installed Apache, mySQL and PHP3 on few on my
servers. After a couple of installations, I think I've figured it out (few
visits to Dejanews & the Manuals) :

From my observations, the problems lies with the fact that PHP didn't load
the mysql libraries even though you specified the option --with-mysql during
configure.
1) Check that the mysql libraries are turned on in the php3.ini;
2) make sure libmysqlclient.so in in your ldconfig path i.e. either edit
/etc/ld.so.conf OR put a soft link to libmysqlclient.so into one of your
ldconfig paths
3) Rebuild PHP and apache (fresh install i.e. remove those config.caches)

Hope that helps


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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread7140@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
Thread
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