Re: [PHP-INSTALL] I need help...
[email protected] (Janet Valade)
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
Vu.. Ma........ wrote: > Hie > > I've installed Apache 2 on my computer. I now want to install PHP 4. > I've tried the installer, but it keeps giving me the error "SORRY THE > SOFTWARE TO AUTOMATICALLY CONFIGURE THE APACHE httpd.conf FILE HAS NOT > YET BEEN WRITTEN, YOU WILL HAVE TO CONFIGURE APACHE MANUALLY". How do I > do this ? I've tried to read the install file, but its not understandable. > > My computer is running Windows XP, I have am Apache server and I want to > install PHP. From the manual: You need to insert these three lines to your Apache httpd.conf configuration file to set up the CGI binary: Example 6-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" Janet > > THANKS... > > Vu > -- Janet Valade -- janet.valade.com