LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 11-27-2002, 08:40 PM   #1
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
cannot load libexec/libphp4.so into server


I just installed apache 1.3.27 over apache2.x so that I could install phorum. After installing apache, I went through configuring php to work with apache1.x. PHP installed OK, but when I try to start apache, I get the following error:

Syntax error line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so:
undefined symbol: core_globals
httpd cannot be started

On line 205 in httpd.conf is the LoadModule command inserted by the php installation:

LoadModule php4_module libexec/libphp4.so

Here are the params for my apache install:
./configure --prefix=/usr/local/apache --enable-modules=so

and for PHP:

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql

If anyone can shed some light on this error, I would be very grateful. Thanks in advance.

Last edited by GabeF; 11-28-2002 at 07:34 PM.
 
Old 11-29-2002, 04:36 PM   #2
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Original Poster
Rep: Reputation: 15
I have finally fixed this problem. What I ended up doing was removing the pho src directory (the one with the ./configure in it) and untarred it again. This way, any leftover compiled stuff that was configured for the other version was removed. This did the trick!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start Apache "Cannot load /etc/httpd/modules/libphp4.so" dagalicous Linux - Software 1 03-10-2005 01:43 AM
cannot load libphp4.so becasue i havent such a file papitu76 Linux - Software 8 01-07-2005 12:12 PM
Can' t load libphp4.so into apache delfins Slackware 3 01-10-2003 09:49 AM
Cannot load /usr/lib/apache/libphp4.so into server jmnovak Linux - General 3 07-01-2002 10:52 AM
apache can't load libphp4.so rangga_k Linux - General 7 03-01-2001 02:52 AM


All times are GMT -5. The time now is 12:04 PM.

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
Open Source Consulting | Domain Registration