[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] PHP 4.2.3 PKG - Problem?



-----Original Message-----
From: Paul Shuttleworth
Subject: RE: [cobalt-users] PHP 4.2.3 PKG - Problem?

In trying to put things back I have done the above and now get

[root apache]# /etc/rc.d/init.d/httpd restart
Shutting down Web Service:
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libpdf.so.1: cannot
open shared object file: No such file or directory /usr/sbin/httpd

Doing a search on the php.ini file for libpdf returns not found.

Any thoughts

If I comment out
LoadModule php4_module modules/libphp4.so
in the httpd.conf apache will come back up, but I guess there would be no
PHP support.

Regards
Paul.
_____________________________________


Paul, the package file that I made does the following

ln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so
ln -s /usr/lib/libpng.so.3.1.2.1 /usr/lib/libpng.so 

mkdir /etc/httpd/4.2.3
mkdir /usr/lib/apache/php/4.2.3

mv libphp4.so /etc/httpd/modules/libphp4.2.3.so
mv libmysql.so libpg.so interbase.so pdf.so /usr/apache/php/4.2.3

makes the 1 change in /etc/httpd/conf/httpd.conf

(libphp4.so => libphp4.2.3.so)

restarts your HTTP server

/etc/rc.d/init.d/httpd restart


I never made it touch your "libpdf.so.1"

There is a libpdf.so in the /usr/lib/apache/php directory.  Look in your
php.ini
that says "extension_dir=" and see where that points to.  My php.ini was
placed
in /etc/httpd/4.2.3 ... The main php.ini [cobalt stock ver] was put into 
/etc/httpd/ ... It is possible some how you copied it over?

Thanks,

Brian