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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.