3 messages in com.mysql.lists.mysqlFIX [PHP-INST] Problem with PHP/Apach...
FromSent OnAttachments
T. Purol12 Jan 2001 00:00 
<LD>12 Jan 2001 00:24 
T. Purol12 Jan 2001 00:28 
Subject:FIX [PHP-INST] Problem with PHP/Apache/MySQL on fresh RH7 install
From:T. Purol (web@angelhaven.com)
Date:01/12/2001 12:00:59 AM
List:com.mysql.lists.mysql

There is no such thing as a stupid question. only stupid answers *that being my reply to all the other current issues floating around the MySQL
list*

being your on a redhat i am 100% possitive this is your problem so atleast try
it. i myself recieved no replies from this list when i posted the same problem..
i figured it out a couple days later.. then recieved a personal mail from
another with the exact same problem and my fix worked for him as well. perhaps
its a bug or something.. but do the following

go to rpmfind.net

BOOKMARK this URL. it will most likely have anything you ever need and it it
awesome for listing dependancies(sp?)

search for MySQL-Shared NOTE: it can be finiky about caps so always be sure to use MySQL not mysql etc..

look through the list and find one that matches version number.. (dont know how
important this is. but would guess dumb to install the wrong version) NOTE2: you do not need to touch MySQL again after running this rpm.. only rerun
the PHP ./config script

if you are unsure on the process it would be like this. at a command line under
root just type rpm -i (paste rpm ftp address here) odds are you'll get a failed dependancy for perl if so run rpm -i --nodeps (paste rpm ftp addy here)

NOTE3- leave off the ()'s in the ftp addy the ftp addy should look similar to ftp://rpmfind.net/linux/MySQL/MySQL-3.23/MySQL-shared-3.23.29a-1.i386.rpm

Also i recomend a version from MySQL itself and not another developer.. MySQL is
a very good and well documented program.

Webmaster AngelHaven.com

On an ending Note... we're here to learn and help each other. Lets not beat each other up cause someone missed something. Lets just do what we're here to do... give the knowledge we've gained to others.
On a free basis.

BTW.. if anyone has a clue about Postfix.. email me *chuckles*

---------- Original Message ---------------------------------- From: homer <hom@spaceland.com> Date: Thu, 11 Jan 2001 21:17:28 -0800

Hey thanks for the feedback! But I'm not sure what MySQL-Shared is...? I couldn't find anything about it anywhere I looked. If you could point me in the right direction I would appreciate it. I read in the MySQL manual about problems with the shared libraries, and to configure with --disable-shared. But the install script mysql_install_db takes over and bypasses that whole process, where do you configure in options?. Forgive me if these are stupid questions, I'm still learning this stuff. Thanks Case

I had the same problem a bit back I figured it out. For some reason when i installed the shared libraries they didnt take.. I reinstall the MySQL-Shared and then re ran the php configure and everything slipped right together with no trouble... hope this helps.

homer wrote:

On a fresh RedHat 7 install, I¹m trying to get PHP/Apache/MySQL working on a local box.

With the fresh RH7 install, I included all necessary RPM¹s for these packages (including php-mysql) but couldn¹t get PHP to connect to MySQL, so I figured I would ditch the RPM¹s and start from scratch and put everything in /usr/local/.

When I untar and make everything (MySQL first, then Apache & PHP), all looks fine. But when I fire up apache I get his error...

Cannot load /usr/local/apache_1.3.14/libexec/libphp4.so into server: undefined symbol: uncompress ./bin/apachectl start: httpd could not be started

(I saw another recent message saying GD was necessary, and it seems to be installed on this box (via RPM in the base RH installation.))

Any help here would be appreciated... Thanks, Case

-------------------------------------------------- This holiday season give the gift of love. Shop AngelHaven.com http://store.angelhaven.com

-------------------------------------------------- This holiday season give the gift of love. Shop AngelHaven.com http://store.angelhaven.com