LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2003, 09:33 AM   #1
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Can't load php module in Apache


Hey !

I tried to configure php in apache but i'm having some problems:

Added "LoadModule php_module modules/libphp4.so" to httpd.conf and this error ocurred

"
Can't locate API module structure `php_module' in file /etc/httpd/modules/libphp4.so: /usr/lib/libapr.so.0: undefined
"



i would appreciate any help.

pepino
 
Old 10-21-2003, 10:14 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What version of apache, php?? Did you compile yourself or install from RPM? Or is this the default version that came with what version of Linux, Redhat, Mandrake... etc since you don't mention any of this??

BTW, libapr.so.0 is a library that is part of httpd or apache...
 
Old 10-21-2003, 10:26 AM   #3
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Apache 2.0 over Red Hat 8.0.
It was installed during the Red Hat installation.

I changed in httpd.conf php_module to php4_module and it started correctly, but it still doesn't execute php...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache module won't load. amphion Linux - Software 1 10-19-2005 07:50 AM
Apache + PHP Module chrisk5527 Linux - General 16 04-06-2004 06:09 AM
Installing PHP as an apache module? birv Linux - Software 2 04-05-2004 12:22 PM
Compile a dynamic MySQL module/load into PHP dleone Linux - General 2 01-31-2003 09:39 AM
apache and php module mod_php.so kngharv Linux - General 1 11-21-2001 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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