Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-27-2003, 03:00 AM #1
- Join Date
- Oct 2003
- Thanked 0 Times in 0 Posts
Apache2 + PHP4 setup problem! Plz help!
My OS is Win2K.
httpd.conf is included follow:
DirectoryIndex index.php index.html index.html.var
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
Options Indexes FollowSymlinks MultiViews execCGI Includes SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "C:/Program Files/Apache Group/PHP/php.exe"
[error] [client xxx] C:/Program Files/Apache Group/Apache2/cgi-bin/hello.php is not executable; ensure interpreted scripts have "#!" first line
[error] [client xxx] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Group/Apache2/cgi-bin/hello.php
extension_dir = "C:\Program FilesApache GroupPHPextensions"
doc_root = "C:Program FilesApache GroupApache2htdocs"