Re: PHP4.0.4pl1 + Apache1.3.19 + MySQL3.23.36

From: Date: Sun, 01 Apr 2001 17:53:53 +0000
Subject: Re: PHP4.0.4pl1 + Apache1.3.19 + MySQL3.23.36
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-2644@lists.php.net to get a copy of this message
I did research on how to install it and here is what I did. 1. gunzip apache_1.3.x.tar.gz 2. tar xvf apache_1.3.x.tar 3. gunzip php-x.x.x.tar.gz 4. tar xvf php-x.x.x.tar 5. cd apache_1.3.x 6. ./configure --prefix=/www 7. cd ../php-x.x.x 8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.x 12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a 13. make 14. make install Instead of this step you may prefer to simply copy the httpd binary overtop of your existing binary. Make sure you shut down your server first though. 15. cd ../php-x.x.x 16. for PHP 3: cp php3.ini-dist /usr/local/lib/php3.ini for PHP 4: cp php.ini-dist /usr/local/lib/php.ini You can edit your .ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 8. 17. Edit your httpd.conf or srm.conf file and add: For PHP 3: AddType application/x-httpd-php3 .php3 For PHP 4: AddType application/x-httpd-php .php You can choose any extension you wish here. .php is simply the one we suggest. You can even include .html . 18. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) "Jani Taskinen" <sniper@iki.fi> wrote in message news:Pine.LNX.4.30.0104011941200.4143-100000@kossu.pentap.net... > On Sun, 1 Apr 2001, Daniel Ouellet wrote: > > >Is anyone could tell me what I could do to fix this compilation problem. > > > >When I do the step for: > > > >./configure --activate-module=src/modules/php4/libphp4.a > > > >in the apache compilation part, I get the error message: > > Did you follow all the steps mentioned in the INSTALL file > included in the PHP 4 package? > > --Jani > > > > -- > 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 (#2644) next »