Web Hosting Talk







View Full Version : On plesk server just updated php to 4.1.2 with gd but now httpd wont start ! HELP !!!


hoot
03-16-2002, 07:23 PM
Hi, I've just upgraded my linux 7.1 plesk server to php 4.1.2 with gd , all went well except httpd wouldn't start afterwards :

[root@plesk php-4.1.2]# cp -f /usr/local/src/php-4.1.2/.libs/libphp4.so /usr/local/psa/apache/libexec/
cp: overwrite `/usr/local/psa/apache/libexec/libphp4.so'? y
[root@plesk php-4.1.2]# /usr/local/psa/apache/bin/apachectl start
Syntax error on line 247 of /usr/local/psa/apache/conf/httpd.conf:
Cannot load /usr/local/psa/apache/libexec/libphp4.so into server: /usr/local/psa/apache/libexec/libphp4.so: undefined symbol: mmdfdriver
/usr/local/psa/apache/bin/apachectl start: httpd could not be started
[root@plesk php-4.1.2]#


How can I fix this ?

Maybe I shouldn't have let it rewrite libphp4.so ...

Looks as if I have the same problem as mpkadadia... anyone found a solution to this ?

If it helps, here is my configure :
./configure --with-apxs=/usr/local/psa/apache/bin/apxs \
--prefix=/usr/local/psa/apache --with-system-regex \
--with-config-file-path=/usr/local/psa/apache/conf \
--disable-debug --enable-sockets --without-pear \
--enable-track-vars --with-gd=/usr --with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib --with-zlib-dir=/usr/include \
--with-mysql=/usr/local/psa/mysql --with-iodbc=/usr/lib/libiodbc \
--with-mcrypt=/usr/local/lib --with-imap=/usr/local/src/imap-2001a

CagedTornado
03-20-2002, 10:19 PM
So what's on line 247 of /usr/local/psa/apache/conf/httpd.conf ? (Considering the error message referenced it?)

Dan

roly
03-22-2002, 04:03 AM
What version of Plesk? Remeber to also set it up to parse .php3 files as .php files

Maniac
03-22-2002, 11:00 AM
Plesk as a forum on thier site, alot of people help you out with questions and problems over there. Try that.. (I hope my post doesn't get removed)

hoot
03-23-2002, 06:13 PM
Originally posted by CagedTornado
So what's on line 247 of /usr/local/psa/apache/conf/httpd.conf ? (Considering the error message referenced it?)

Dan

On line 247 is just says to load the libphp4.so module when I replace the new libphp4 by the backup of the old one php works but says that it is old version. On the plesk forum they say that I should try installing a newer version of imap than the one mentioned in the install instructions but I do not know how to first remove the version that I installed with the instructions and install the first version

hoot
03-27-2002, 11:33 AM
no one with any ideas?

kunal
03-27-2002, 12:14 PM
try recompiling php 4.1.2? :)

hoot
03-29-2002, 07:07 PM
how?

cyansmoker
03-30-2002, 12:45 AM
Apparently an IMAP lib issue...

my guess is that your PHP lib was compiled with support for IMAP but your local IMAP lib isn't correct.
Check your libs path, you should find a libc-client.so or maybe libimap.so that doesn't match.
That's odd, because I would personnally link statically with the IMAP lib, but since you see this error message...
Actually, try 'ldd libphp4.so' and see what it reports, regarding these libraries.

-Chris.