Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 59148 invoked by uid 500); 22 Dec 2000 01:22:50 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 59137 invoked from network); 22 Dec 2000 01:22:49 -0000 Date: Thu, 21 Dec 2000 10:22:59 -0800 (PST) From: Rasmus Lerdorf X-Sender: To: "new-httpd@apache.org" cc: Subject: Re: Apache + PHP4 Installation problem... In-Reply-To: <3A40CCD5.64FA4E62@rbg.informatik.tu-darmstadt.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is not the list for PHP questions. You didn't follow the instructions and made a very common mistake covered in the PHP FAQ at http://www.php.net/FAQ.php#6.9 Basically the instructions told you to do: --activate-module=src/modules/php4/libphp4.a But you decided to use: --activate-module=src/modules/php4/libmodphp4.a -Rasmus On Wed, 20 Dec 2000, Eric Tchepannou wrote: > > Hi everybody > > I am quite new to this Mailing list, and hope to find here the necessary > > help in order to be able to install PHP4 as an Apache Module. I have to > say that I am working on it since almost a week...:-( > Here is how I proceeded : > > I first compiled PHP4 : > $ ./configure --with-mysql=/usr/local/mysql... > --with-apache=/usr/local/apache... > $ make > $ make install > > that created a php4 directory under /path/to/apache/src/modules/ > > Then I started with Apache: > $ ./configure --activate-module=src/modules/php4/libmodphp4.a > --enable-module=so > $ make > > and it ended with this errror mssages : > > <=== src/modules/standard > ===> src/modules/php4 > gcc -c -I../../os/unix -I../../include /opt/php-4.0.3pl1/Zend/ > -DHPUX10 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` > mod_php4.c > mod_php4.c:28: zend.h: No such file or directory > mod_php4.c:29: php.h: No such file or directory > mod_php4.c:30: php_variables.h: No such file or directory > mod_php4.c:47: php_ini.h: No such file or directory > mod_php4.c:48: php_globals.h: No such file or directory > mod_php4.c:49: SAPI.h: No such file or directory > mod_php4.c:50: php_main.h: No such file or directory > mod_php4.c:52: zend_compile.h: No such file or directory > mod_php4.c:53: zend_execute.h: No such file or directory > mod_php4.c:54: zend_highlight.h: No such file or directory > mod_php4.c:55: zend_indent.h: No such file or directory > mod_php4.c:57: ext/standard/php_standard.h: No such file or directory > make[4]: *** [mod_php4.o] Error 1 > make[3]: *** [all] Error 1 > make[2]: *** [subdirs] Error 1 > make[2]: Leaving directory `/usr/local/apache_1.3.14/src' > make[1]: *** [build-std] Error 2 > make[1]: Leaving directory `/usr/local/apache_1.3.14' > make: *** [build] Error 2 > > I found out that the Zend*.h files are under /opt/php-4*/Zend. So should > > I edit the Makefile? > > > PS : I am working on a HP-UX 10.20, with PHP 4.0.3 and Apache 1.3.14 > > > Yours, Eric Tchepannou >