PHP4 Installation
| From: | communtech \ ) | Date: | Fri, 02 Mar 2001 16:20:03 +0000 |
| Subject: | PHP4 Installation | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2243@lists.php.net to get a copy of this message | ||
Hi there, can anybody help me ?
I tried to install php4 als Apache Module.
I tried to compile it as a static module
(./configure --with-apache=../apache_1.3.17) but make on apache returned the
following error message:
===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DMOD_SSL=208100 -DUSE_
HSREGEX -DEAPI -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 `/home/klaessner/config/apache_1.3.17/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/klaessner/config/apache_1.3.17'
make: *** [build] Error 2
The directories Zend and TRSM exists.
While trying to install php4 als an DSO Module (--with-apxs), httpd -t
returns the following message:
Cannot load /usr/local/libexec/libphp4.so into server:
/usr/local/libexec/libphp4.so: undefined symbol: mysql_field_count
Can anybody tell me what I've done wrong ?
Thanks !
cu Martin