Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-21-2003, 09:33 AM   #1
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/" to httpd.conf and this error ocurred

Can't locate API module structure `php_module' in file /etc/httpd/modules/ /usr/lib/ undefined

i would appreciate any help.

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

Rep: Reputation: 270Reputation: 270Reputation: 270
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, is a library that is part of httpd or apache...
Old 10-21-2003, 10:26 AM   #3
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...


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
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 kngharv Linux - General 1 11-21-2001 08:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 PM.

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