Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

[PHP] intalling php as cgi on redhat7 From: Richard Kurth (rkurth <email protected>)
Date: 07/27/01

I can't belive I have to ask this but I can not get it to work
I am trying to get php as cgi installed on a RedHat7 box to be used
with Apache. I configured it with ./configure --with-mysql did a make
and then a make install every thing whet just fine. I add
ScriptAlias /php/ "/usr/local/bin/php"
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps

to the httpd.conf file. and restarted Apache.

When I try to run a test file with a .php ext All it does is try to
download it. This should be simple but I can not figure it out.

Best regards,
 Richard
mailto:rkurth <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>