Easysoft ODBC-ODBC Bridge

How do I tell Apache to pass PHP scripts to the PHP interpreter?

Article:
00087
Last Reviewed:
25th November 2011
Revision:
2

You should read the INSTALL file that comes with PHP very carefully before using Apache and PHP. It has instructions which tell you how to make Apache pass PHP scripts to the PHP interpreter. Briefly you must add lines like:

For PHP3:

AddType application/x-httpd-php3 .php3

or

AddType application/x-httpd-php3 .phtml

or for PHP4 just:

AddType application/x-httpd-php .php

to your Apache srm.conf file. Note that this has changed for PHP4 betas where the type became application/x-httpd-php4. The best place to find out is in the INSTALL file that comes with PHP.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)