LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-29-2002, 02:15 PM   #1
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Rep: Reputation: 15
Arrow Apache & PHP error - libphp4.so....


I have done every thing that the PHP manual tells me, but when I trie to start apache I get this error msg:

Syntax error on line 205 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: /www/libexec/libphp4.so: undefined symbol: core_globals
./apachectl start: httpd could not be started

Hmmm , What can I have done wrong?
 
Old 06-29-2002, 03:16 PM   #2
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
version of apache / php

rpm or .tar.gz?
 
Old 06-29-2002, 03:40 PM   #3
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
MySQL v3.23.51
PHP 4.2.1

And they are .tar.gz
 
Old 06-30-2002, 11:07 PM   #4
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
http://www.rocketry.org/~tim/geek_stuff/mysql.php
 
Old 07-01-2002, 12:53 AM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
is the module libphp4.so in the apache/.../libexec/ or is it missing? what options did u use installing apache?

Last edited by j-ray; 07-01-2002 at 12:59 AM.
 
Old 08-06-2002, 04:18 AM   #6
MrNiceGuy
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
hmm... i've got the same problem and i don't think, that the error is in the compilation of apache!

turn out the lines in httpd.conf where php will be included and start the server: it works!

i guess that there has something to be configured in the compilation of php... but i don't know

the file is at the right place and as the error-msg tells me, there has to be something defined: core_globals

but WHERE??

if someone knows help i would be happy to get an email to L.Mahlstedt@gmx.net or LMahlstedt@Landkreis-Nienburg.de

thanks a lot!
 
Old 08-06-2002, 04:45 AM   #7
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
post-configure-line
 
Old 08-06-2002, 01:52 PM   #8
MrNiceGuy
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
I've found the misstake!

I compiled PHP with this parameter: --with-jpeg-dir=/usr/local/lib and the compilation ends well.

I decided to let this parameter out of the config-tag, because I had an compiled PHP4 running before. After the new compilation the Apache startet!!

So I was looking for the problem and recognized that there are much more LIBs in /usr/lib than in /usr/local/lib. All the files included in /usr/local/lib are also included in /usr/lib!

I compiled PHP (again!) with the right parameter: --with-jpeg-dir=/usr/lib and startet Apache -->

SUCCESS!!!

I hope that you may resolve this problem the same way
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
make php does not create libphp4.so dlublink Linux - Software 3 02-07-2005 10:28 PM
PHP - Apache - libphp4.so TBomb Linux - Software 10 12-24-2004 03:33 PM
php installed but no sign of libphp4.so (apache needs it) unholy Linux - General 6 01-18-2004 05:15 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:10 AM.

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