[mapserver-users] php install. problem
Pushkar Pradhan
pushkar at ERC.MsState.Edu
Sun Feb 17 12:18:18 PST 2002
Hi all,
Pardon me for asking php install. problem but I'm doing this since I
didn't get an ans. on the php mail. list.
I am using solaris sparc 10, I want to install php 4.0.6 on apache 1.3.22:
My php config. is as follows:
./configure --prefix=/rstc/user1/erc/pushkar/php-4.0.6
--with-apxs=/rstc/user1/erc/pushkar/apache_1.3.22/bin/apxs
It is a dynamic module and my apache config. is:
./configure \
"--with-layout=Apache" \
"--prefix=/rstc/user1/erc/pushkar/apache_1.3.22" \
"--enable-module=so" \
"--enable-shared=max" \
"--enable-rule=SHARED_CORE" \
During php install. it copies the libphp4.so to the libexec dir. of
apache.
I've added the foll. lines to httpd.conf as suggested:
LoadModule php4_module libexec/libphp4.so
AddModule php4_module mod_php4.c
When I try to start apache I get the foll:
Banshee[96] pushkar$ apachectl start
Syntax error on line 206 of
/rstc/user1/erc/pushkar/apache_1.3.22/conf/httpd.conf:
Cannot add module via name 'php4_module': not in list of loaded modules
./apachectl start: httpd could not be started
If anyone has experience with this please help. Thanks,
------------------------------------------------------------------------------
PUSHKAR S. PRADHAN
Research Assistant
MISSISSIPPI STATE UNIVERSITY,
STARKVILLE, MS 39759.
Engineering Research Center
Box 9627
Mississippi State, MS 39762-9627
------------------------------------------------------------------------------
More information about the MapServer-users
mailing list