Re: php4 install

From: Date: Mon, 16 Oct 2000 16:27:24 +0000
Subject: Re: php4 install
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-341@lists.php.net to get a copy of this message
I highly recommend Apache Compile kit (just search on freshmeat) It is relatively painless, though you might have to edit the PHP config module to add --without-gd. ---Matt On Mon, 16 Oct 2000, Clive Storey wrote: > (This is the second posting of the same problem I apologise the return > email address on the first is incorrect) > > Hi > > We need help!!! > > Can anybody give us simple in plain English the install proceedure for > PHP4 + MYSQL + APACHE using O/S RedHat 6.2 . > > We have Apache 1.3.12 installed as by RPM, mysql 3.22.23 installed by > RPM & php4 4.0.3 install by compilling and configuring the source. > > We have followed the INSTALL & README details which come with PHP4 as > follows: > After gunzipping the tar file etc and moving to the directory created we > > did > ./configure --with mysql --apxs > make > make install > this installed with no problems but on checking the httpd.conf file the > install programme placed the LoadModule php4_module > lib/apache/libphp4.so & AddModule mod_php4.c instructions way down in > the httpd section which caused problems with apache not running in > addition we did not have the libphp4.so in the path as specified. > > We moved the 2 lines up to the section where all the other LoadModules & > > AddModules were located. We changed the path to the libphp4.so to > modules/libsophp4.so and when this did not work we changed to the > absolute path to where the file was listed, this also did not work > giving us a message that there was no directory. > > In between these attempts we used httpd -t to monitor the results on > each occasion we got SYNTAX OK Segmentation fault (core dump). > > After 4 long days of reading FAQ's emails ect, we tried to configure > with the following: > ./configure --with-mysql=/usr/include/mysql/mysql.h > --with-apxs=/usr/sbin/apxs > the compile programme could not find the paths. > > The one way we did get the compile programme to accept the path was: > ./configure --with-mysql=/usr --with-apxs > but this then gave us the same problems with the httpd.conf file as > detailed above. > > We have tried every variation of the paths possible but nothing works. > > Can anybody assist your help would be most welcome. > > regards > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#341) next »