PHP configuration error

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

 



Howdy.

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

yet it still doesn't seem to work after an apache restart.

Does anyone have any suggestions?  My apologies if this is the wrong place
to ask this.
-- 
Jay Chandler
Network Administrator
Chapman University


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