CVS update: php3

From: Date: Sun, 16 May 1999 12:41:37 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5680@lists.php.net to get a copy of this message
Date: Sunday May 16, 1999 @ 8:41 Author: rasmus Update of /repository/php3 In directory php:/tmp/cvs-serv26734 Modified Files: INSTALL.REDHAT configure.in Log Message: More RH6 build notes, and give up on trying to get apxs to correctly enable PHP in the .conf files. A little too much magic here. People will have to uncomment the appropriate lines manually. Index: php3/INSTALL.REDHAT diff -u php3/INSTALL.REDHAT:1.14 php3/INSTALL.REDHAT:1.15 --- php3/INSTALL.REDHAT:1.14 Sun May 16 08:22:36 1999 +++ php3/INSTALL.REDHAT Sun May 16 08:41:37 1999 @@ -58,13 +58,32 @@ The 'make install' step should produce something very similar to: - /usr/sbin/apxs -i -a -n php3 libphp3.so + /usr/sbin/apxs -i -n php3 libphp3.so cp libphp3.so /usr/lib/apache/libphp3.so chmod 755 /usr/lib/apache/libphp3.so - [activating module `php3' in /etc/httpd/conf/httpd.conf] -At this point you just need to tell your server to restart. +At this point you just need to tell your server to load and activate +the php module. Your /etc/httpd/conf/httpd.conf and /etc/httpd/conf/srm.conf +files already have the appropriate lines in them to do this. You simply have +to uncomment them. Edit these two files and make sure the following lines +are uncommented: +in /etc/httpd/conf/httpd.conf: + + LoadModule php3_module modules/libphp3.so + AddModule mod_php3.c + +And in /etc/httpd/conf/srm.conf: + + AddType application/x-httpd-php3 .php3 + AddType application/x-httpd-php3-source .phps + +(Uncommenting these lines means you need to remove the # character at + the beginning of each of these lines) + +Once you have done this you need to restart your server with a command +like the following: + /etc/rc.d/init.d/httpd restart NOTE: If you get an error at this point saying that the libphp3.so @@ -94,7 +113,7 @@ is, if your LoadModule line is the last of its kind, then the AddModule line needs to be the same. The lines themselves should look something like: - LoadModule php3_module lib/apache/libphp3.so + LoadModule php3_module modules/libphp3.so AddModule mod_php3.c Also, doublecheck that you have a line like this in on of your .conf files: Index: php3/configure.in diff -u php3/configure.in:1.360 php3/configure.in:1.361 --- php3/configure.in:1.360 Sun May 16 07:56:54 1999 +++ php3/configure.in Sun May 16 08:41:37 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.360 1999/05/16 11:56:54 sas Exp $ +dnl $Id: configure.in,v 1.361 1999/05/16 12:41:37 rasmus Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) @@ -248,7 +248,7 @@ APACHE_INCLUDE="-I$APXS -q INCLUDEDIR" BINNAME=libphp3.so - INSTALL_IT="\$(APXS) -i -a -n php3 $BINNAME" + INSTALL_IT="\$(APXS) -i -n php3 $BINNAME" CFLAGS_SHLIB=perl -V:cccdlflags | cut -d\' -f2 LDFLAGS_SHLIB=perl -V:lddlflags | cut -d\' -f2 LDFLAGS_SHLIB_EXPORT=perl -V:ccdlflags | cut -d\' -f2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5680) next »