Re: PHP configuration error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, January 5, 2007 5:22 pm, Jay Chandler wrote:
> Richard Lynch wrote:
>> On Fri, January 5, 2007 1:34 am, Jay Chandler wrote:
>>
>>> Using FreeBSD 6.1 here with Apache 2.2 and PHP 5 (both installed
>>> from
>>> ports)-- trying to get it to render .php pages correctly, but
>>> instead
>>> it
>>> insists on trying to save the files instead.
>>>
>>> I've added the following lines to httpd.conf:
>>>
>>> LoadModule php5_module libexec/apache22/libphp5.so
>>>     DirectoryIndex index.html index.php
>>>     AddType application/x-httpd-php .php
>>>     AddType application/x-httpd-php-source .phps
>>>
>>
>> Check your error.log file right after startup of Apache, and see if
>> it
>> complains about libphp5.so not being there, or something similar...
>>
>> Paths, permissions, or a failed compilation of PHP could yield
>> various
>> different error messages there.
>>
>> Most of them are more or less clear to read/understand...
>>
>>
> [Fri Jan 05 15:23:11 2007] [notice] SIGHUP received.  Attempting to
> restart
> [Fri Jan 05 15:23:12 2007] [notice] Digest: generating secret for
> digest
> authentication ...
> [Fri Jan 05 15:23:12 2007] [notice] Digest: done
> [Fri Jan 05 15:23:13 2007] [notice] Apache/2.2.3 (FreeBSD)
> mod_ssl/2.2.3
> OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.0 with Suhosin-Patch configured --
> resuming normal operations
>
> And that's it-- nothing else.

Hmmmm.

Any chance that the httpd.conf you changed with the AddType is not the
same httpd.conf that Apache is actually reading?...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux