[mapserver-users] php install. problem

Pushkar Pradhan pushkar at ERC.MsState.Edu
Mon Feb 18 08:56:48 PST 2002


Vinko,
That's right I executed the run-tests.php program from my command line.
I don't think there is a utility ldconfig on solaris.
Where does the php.ini file have to be put for apache, the docum. of php
says it goes in /usr/local/lib?
i.e. does it have to be in the apache dir?
> On Sun, Feb 17, 2002 at 02:18:18PM -0600, Pushkar Pradhan wrote:
> > During php install. it copies the libphp4.so to the libexec dir. of
> > apache.
>
> Then PHP compiles fine, am i wrong? (can you execute php console
> applications?)
>
> > 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,
>
> Has Solaris a ldconfig equivalent?, it seems that apache can't find the
> module, is in the right libexec directory? :-)
>
> Good luck,
> --
> V. <v at w.cl>
>

------------------------------------------------------------------------------
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