LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-21-2007, 12:11 PM   #1
Jubalint
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 35

Rep: Reputation: 15
Apache problems with libphp5.so


I'm running a Debian Sarge box with Debian Main branch, in addition to the dotdeb respiratory's for MySQL5 and php5.

I haven't updated my software in a few months so I performed a apt-get dist-upgrade.

Everything went fine except now my apache2 installation is broken.

Another thing is that I'm using ISPConfig to manage my web server.

My problem is that when I attempt to start apache I get the following error:
Code:
# apache2
apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
?
I'm thinking I'll have to recompile php5, but I'm really not very knowledgeable about this, since I use ISPConfig to mange most of it. Is there a simple way I can just recompile libphp5.so or download it or what? I'm a little scared of compiling it manually since I've been getting php5 from dotdeb as binaries. I'm not really sure how I managed to mess it all up, and my google searching hasn't helped.

Thanks for looking at my question .

Last edited by Jubalint; 04-21-2007 at 03:11 PM.
 
Old 04-22-2007, 11:54 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Honestly, I would recompile php5. Why not? You won't break anything else since apache is broken anyhow. If your scared about overwriting files, make a tar of your existing apache tree. Compiling code is easier than you think .

-twantrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 + Apache 2.x : /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set" Ephracis Linux - Software 6 10-01-2010 12:26 PM
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load libphp5.so jun_tuko Linux - Software 7 01-05-2008 11:12 PM
error while trying to launch apache server- permission prob with libphp5.so rlee923 Linux - Newbie 2 03-11-2007 04:41 AM
Apache Server error, libphp5.so crillegs Linux - Software 3 05-23-2006 01:56 PM
libphp5.so fukumdaryl *BSD 4 03-21-2005 06:34 PM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration