httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@apache.org>
Subject Re: Apache + PHP4 Installation problem...
Date Thu, 21 Dec 2000 18:22:59 GMT
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
>



Mime
View raw message