Posts Tagged ‘andevery’

how do i install php on apache?

i got apache to run andevery thing but i cant install php because I dont know how to do it, i tried to read the installation manual but it dosnt say where to put all the files i need help with this lok what the manual says
Installing as a CGI binary

You need to insert these three lines to your Apache httpd.conf
configuration file to set up the CGI binary:

Example 2-5. PHP and Apache 2.0 as CGI
ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php

# For PHP 4
Action application/x-httpd-php “/php/php.exe”

# For PHP 5
Action application/x-httpd-php “/php/php-cgi.exe”

Warning

By using the CGI setup, your server is open to several possible
attacks. Please read our CGI security section to learn how to defend
yourself from those attacks.

TigerDirect