httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Prangnell" <richard.prangn...@ntlworld.com>
Subject Re: [users@httpd] Problem loading PHP module in Apache 2.1.8
Date Thu, 06 Oct 2005 19:06:48 GMT
Hi Uzo

Try this:

1. Modules need to be loaded in a specific order. Delete the LoadModule line
you entered, go to the block of LoadModule lines much higher up in the
httpd.conf file, find your line and uncomment it. If it is not there, just
add your line immediately after the last line in the LoadModule block.

2. Go a bit further down the file to the AddModule block of lines and
uncomment the appropriate line here as well. If it is not there, just add
your line immediately after the last line in the AddModule block.

I think I'm right in saying that every LoadModule command should have a
corresponding AddModule command


-Richard Prangnell
www.webnetwizard.co.uk

----- Original Message ----- 
From: "Chris" <listschris@leftbrained.org>
To: <users@httpd.apache.org>
Sent: Thursday, October 06, 2005 6:37 PM
Subject: Re: [users@httpd] Problem loading PHP module in Apache 2.1.8


> Just a possiblity, but are you trying to load the Apache 1 module into
> Apache 2?
>
> I know it won't work, and I seem to recal the errors one gets being
> similar to what you're describing.
>
> Chris
>
> Uzo Madujibeya wrote:
>
> > Hi,
> > I have just upgraded to Apache 2.1.8 on OS X 10.4.2 and am having a
> > problem trying to load php. At the bottom of my httpd.conf file I
> > specify the following:
> >
> > # PHP4 configuration
> > LoadModule php4_module modules/libphp4.so
> > AddType application/x-httpd-php .php .phtml
> > AddType application/x-httpd-php-source .phps
> >
> > and the libphp4.so module is located as specified, in the modules
> > folder, but when i try to start or shutdown Apache I get the
> > following error message:
> >
> >
> > httpd: Syntax error on line 444 of /usr/local/apache2/conf/
> > httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into
> > server: Library not loaded: /Library/Apache2/lib/libaprutil-0.0.dylib
> > \n  Referenced from: /usr/local/apache2/modules/libphp4.so\n  Reason:
> > image not found
> >
> >
> > What is the issue here?
> >
> > Uzo
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message