faqts : Computers : Programming : Languages : PHP : Installation and Setup : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

23 of 46 people (50%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I add a PHP configuration directive in http.conf (Apache)?

May 7th, 2000 08:50
Henrik Hansen, Alejandro Miguel, unknown unknown, apache docs


If you have compiled php as an apache module, you need to add the
folowing to your httpd.conf:
LoadModule php3_module /path/to/libphp3.so
Secondly you need to add:
AddType application/x-httpd-php3 .phtml .php3 .php
AddType application/x-httpd-php3-source .phps