httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plantier, Spencer" <spencer.plant...@stratech.com>
Subject RE: [users@httpd] adding php
Date Tue, 08 Feb 2005 20:54:39 GMT
It should be picking up /usr/local/apache2/modules instead of
/usr/apache/modules

Thanks,
 
 
Spencer

-----Original Message-----
From: Jeremy Hilton [mailto:jeremy-list@adtcs.com] 
Sent: Tuesday, February 08, 2005 3:41 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] adding php

On 2/8/05 3:37 PM, "Plantier, Spencer" <spencer.plantier@stratech.com>
wrote:

> LoadModule php5_module        modules/libphp-5.so
> 
> Still get the same error.
> 
> Thanks,
> 
> 
> Spencer
> 
> -----Original Message-----
> From: Jeremy Hilton [mailto:jeremy-list@adtcs.com]
> Sent: Tuesday, February 08, 2005 3:13 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] adding php
> 
> On 2/8/05 2:42 PM, "Plantier, Spencer" <spencer.plantier@stratech.com>
> wrote:
> 
>> Without the path?
>> 
>> Thanks,
>> 
>> 
>> Spencer
>> 
>> -----Original Message-----
>> From: Jeremy Hilton [mailto:jeremy-list@adtcs.com]
>> Sent: Tuesday, February 08, 2005 2:40 PM
>> To: users@httpd.apache.org
>> Subject: Re: [users@httpd] adding php
>> 
>> On 2/8/05 2:04 PM, "Plantier, Spencer"
<spencer.plantier@stratech.com>
>> wrote:
>> 
>>> LoadModule php5_module usr/local/apache2/modules/libphp-5.so
>>> 
>>> AddModule mod_php5.c
>>> 
>>> AddType application/x-httpd-php.php
>>> 
>>> I added /usr/local/apache2/modules/libphp-5.so to my path and
>> LD_Library.
>>> 
>>> In my httpd.conf I added the lines.
>>> 
>>> 
>>> Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
>>> 
>>> Cannot load /usr/local/apache2/usr/local/apache2/modules/libphp-5.so
>> into
>>> server: ld.so.1: /usr/local/apache2/bin/httpd: fatal:
>>> /usr/local/apache2/usr/local/apache2/modules/libphp-5.so: open
> failed:
>> No such
>>> file or directory
>>> 
>>> # 
>>> 
>>> How do I fix this error?
>>> 
>>> Thanks. 
>>> 
>>> 
>>> Spencer Plantier
>>> 
>>> System Network Administrator
>>> 
>>> 
>>> 
>>> 301 Gregson Dr
>>> 
>>> Cary, NC  27511
>>> 
>>> Office 919-379-8513
>>> 
>>> Cell    919-272-8833
>>> 
>>> spencer.plantier@stratech.com
>>> 
>>> 
>> 
>> 
>> LoadModule php5_module modules/libphp-5.so
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> 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
>> 
> 
> Yes.The declaration path is relative to the Server's root directory.
> 
> Jeremy
> 
> 
> ---------------------------------------------------------------------
> 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
> 

What does the error_log say when you try the syntax I suggested?


---------------------------------------------------------------------
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