Bug #14904: configuring apache with php4
| From: | b dot benjlil at ocpgroup dot ma | Date: | Mon, 07 Jan 2002 11:56:27 +0000 |
| Subject: | Bug #14904: configuring apache with php4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76162@lists.php.net to get a copy of this message | ||
From: b.benjlil@ocpgroup.ma
Operating system: AIX 4.3.3
PHP version: 4.1.1
PHP Bug Type: Compile Failure
Bug description: configuring apache with php4
Materiel : IBM RS6000
OS : AIX 4.3.3
Compiler : IBM cc
I have apache v 1.3.20 in /usr/apache and i want to install php module.
I give the last version of php 4.1.1 but in the installation, I occurs some
problems with apache.
Procedure :
Installation of PHP module :
# /sauvegarde/tools/php-4.1.1> ./configure
with-oci8=/envpat/oracle/patdb/8.1.6
with-oracle=/envpat/oracle/patdb/8.1.6 with-apache=../apache_1.3.20
enable-track-vars
# /sauvegarde/tools/php-4.1.1>make
# /sauvegarde/tools/php-4.1.1>make install
this commands passed with success.
But when I want to configure apache for adding php4 module
Configuring apache :
# /sauvegarde/tools/apache_1.3.20 >./configure --prefix=/usr/apache
--activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for IBM AIX 4.3 platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/php4
# make
----
----
-----
<=== src/modules
cc -c -I./os/unix -I./include -DAIX=43
-DUSE_PTHREAD_SERIALIZED_ACCEP
-I/sauvegarde/tools/php-4.1.1 -I/sauvegarde/tools/php-4.1.1/main
-I/sauvegarde/t
auvegarde/tools/php-4.1.1/Zend -I/sauvegarde/tools/php-4.1.1/TSRM
-I/sauvegarde/
PAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci modules.c
cc -c -I./os/unix -I./include -DAIX=43
-DUSE_PTHREAD_SERIALIZED_ACCEP
-I/sauvegarde/tools/php-4.1.1 -I/sauvegarde/tools/php-4.1.1/main
-I/sauvegarde/t
auvegarde/tools/php-4.1.1/Zend -I/sauvegarde/tools/php-4.1.1/TSRM
-I/sauvegarde/
PAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci buildmark.c
cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__
-DAIX_BIND_PROCES
-I/sauvegarde/tools/php-4.1.1/main -I/sauvegarde/tools/php-4.1.1/main
-I/sauveg
d -I/sauvegarde/tools/php-4.1.1/TSRM -I/sauvegarde/tools/php-4.1.1/TSRM
-I/sauve
L_NEEDED ./apaci -lm -lpthread -ma -o httpd buildmark.o modules.o
modules/p
.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a
-R/envpat/oracle/p
php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lld -lbsd_r
-lm -l
l -lcrypt -lclntsh -lclntsh
ld : 0706-027 the -R /envpat/oracle/patdb/8.1.6/lib flag is ignored
ld : 0711-317 ERREUR : Symbol not defined : .alloca
ld : 0711-345 Pour plus de d tails, utilisez
l'option -bloadmap ou -bnoquiet.
make : 1254-004 Code d'erreur de la derni re commande : 8.
Arrét.
make : 1254-004 Code d'erreur de la derni re commande : 2.
Arrét.
make : 1254-004 Code d'erreur de la derni re commande : 2.
Arrét.
--
Edit bug report at: http://bugs.php.net/?id=14904&edit=1