faqts : Computers : Programming : Languages : PHP : Installation and Setup : CGI

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

36 of 118 people (31%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

Why does my PHP CGI installation always get the error 'No input files specified'?
What httpd.conf changes do I need to make for a PHP CGI installation?

Jan 24th, 2000 18:59
Nathan Wallace, Dave Reed


I was having problems getting started a few weeks ago and got this
answer - make certain you have apache set up correctly to handle php:

change .php3 to whathaver extension you use (.php or .phtml) and
change the /path/to/php to /home/httpd/cgi-bin/php

In short, put the following in your httpd.conf

   AddType application/x-httpd-php3 .php3
   AddType application/x-httpd-php3-source .phps

   Action application/x-httpd-php3 /path/to/php