Thanks for your help;
I have installed apache1.3.23 and php4.2.1 on my WindowsXP system.and apache server works well.howerver,after I configured php.ini and http.conf ,the server doesn't
works well when it comes to files with .php extension.Following is the logs:
[Sun Jul 21 17:36:30 2002] [error] [client 127.0.0.1] d:/apache group/apache/index.php is not executable; ensure interpreted scripts have "#!" first line
[Sun Jul 21 17:36:30 2002] [error] [client 127.0.0.1] (2)No such file or directory: couldn't spawn child process: d:/apache group/apache/index.php
[Sun Jul 21 22:11:36 2002] [error] [client 127.0.0.1] Options ExecCGI is off in this directory: d:/apache group/apache/htdocs/index.php
and I got such infomation on the browser:
Forbidden
You don't have permission to access /index.php on this server.
Apache/1.3.9 Server at localhost Port 80
I think i should add ExecCGI item after
"Options"in the directive
<directory "..../htdocs"></directive>
but still there are errors:
[Sun Jul 21 22:19:00 2002] [error] [client 127.0.0.1] d:/apache group/apache/htdocs/index.php is not executable; ensure interpreted scripts have "#!" first line
[Sun Jul 21 22:19:00 2002] [error] [client 127.0.0.1] (2)No such file or directory: couldn't spawn child process: d:/apache group/apache/htdocs/index.php
and the infomation in the browser is as follows:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.9 Server at localhost Port 80
I am sure i have added the "AddType"
and "Action"items correctly,even
"Addhandler".
why these errors?
I am appreciating your answers.
Thank you again.