Jump to content

libphp5.so failing to load - help!


Gazz1982

Recommended Posts

Hi,

 

Well I installed a LAMP server on ubuntu karmic from the CD, everything worked fine, then I installed mapserver, that went surprisingly well, then I restarted the server using apachectl restart, it stopped no problems but then tried to start and returned the following:

 

* Starting web server apache2                                                                                              apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

                                                                                                                      [fail]

how do I fix this? the libphp5.so exists and is in ../modules/

 

any ideas?

 

Thankfull as always

 

Gary

Link to comment
https://forums.phpfreaks.com/topic/185721-libphp5so-failing-to-load-help/
Share on other sites

Of course you can do it via the command line. You really should read up on your OS if your administering the thing.

 

Anyway, a very basic install would simply be something like....

 

apt-get update
apt-get install php5 php5-mysql mysql-server mysql-client

 

Add any further extensions you need to the list. This should pull in Apache + any other required dependencies.

 

You can search whats available by using....

 

apt-cache search <keyword>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.