RE: [PHP] PANIC- upgrade from 4.0.0 to 4.0.2 Part 2

From: Date: Tue, 03 Oct 2000 11:09:00 +0000
Subject: RE: [PHP] PANIC- upgrade from 4.0.0 to 4.0.2 Part 2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18402@lists.php.net to get a copy of this message
Thanks, I think I'm almost back in business. I've removed my offending apache installations (I think) I reinstalled Apache from the RedHat secureweb RPM (Apache 1.3.12 +SSL +???) and got it running fine w/o PHP. I then reran my PHP configure from scratch (deleting config.cache first). Using --with-apxs only worked WITHOUT the path, but the make install ultimately did not complain. I then stopped and started httpd... or tried to start httpd. I get an error indicating that libphp4.so is not found. It seems that my apache install wants the shared objects to reside in /etc/httpd/lib/apache and they were installed into /usr/local/lib. I tried copying the files into the /etc/httpd/lib/apache directory, but it still chokes. Samantha recommended running make install on Apache after PHP, but the RPM doesn't want to do this -- attempting to 'upgrade' from the RPM fails, and although I have package that looks like a source RPM, it doesn't want to unpack in GnoRPM. I'm open to suggestions and really appreciate any help anyone can give. It's been a really long night, and I need to get this running in the morning. Thanks, J!M On 3 Oct 2000, at 16:55, Samantha Savvakis wrote: > PHP only grabs the one you tell it to do on the ./configure line. > > Your configure line for PHP should be something like this: > > ./configure \ > --with-mysql=/usr/local/mysql-x.x.x \ > --with-apache=/usr/local/apache_x.x.x \ > --enable-track-vars > > plus any other modules that you need to activate. > > I specify full paths to apache and mysql. If you do this, it will never be > installed into the wrong directory. Plus, as I said earlier, I always go > into the apache_x.x.x src/modules directory and remove the PHP4 module > directory before installing PHP. > > Before you configure PHP, it always says in the INSTALL script to run > "./configure" in the apache_x.x.x directory to have a clean configure of > apache. > > Don't forget a complete make/make install of apache. > > > -----Original Message----- > > From: J!M [mailto:jim@dynamisys-llc.com] > > Sent: Tuesday, 3 October 2000 16:47 > > To: samantha@cfs.net.au > > Subject: RE: [PHP] PANIC- upgrade from 4.0.0 to 4.0.2 > > > > > > hi, > > > > Thanks for your reply. It seems I have multiple (3) Apache installs, > > and php grabbed the wrong one when configuring. I've never had to > > uninstall any of this - do you have any advice for cleaning off all > > three and restarting the process? > > > > Thanks, > > J!M > > > > On 3 Oct 2000, at 16:07, Samantha Savvakis wrote: > > > > > did you do a "make install" of php > > > > > > and then re-compile Apache ? > > > > > > As a good rule, I do this: > > > > > > 1. always remove the PHP4 directory from under apache_x.x.x/src/modules > > > directory. > > > 2. "make" in php directory > > > 3. "make install" in php directory > > > 4. cd to apache directory > > > 5. "make" apache > > > 6. "make install" apache > > > > > > > > > > > >

« previous php.general (#18402) next »