Hello All
I try to install php on my Notebook. I have php-4.0.6-Win32 on c:\php and
Apache 1.3.12 on F:\Apache Group\Apache.
My DocumentRoot is "e:/Internet/homepage/blank" and the phpScript should stay in
"e:/internet/homepage/blank/php/"
In php.ini I have:
include_path =
doc_root =e:\internet\homepages\blank
user_dir =e:\internet\homepages\blank\php
extension_dir = c:\php
enable_dl = On
and in httpd.conf I use
LoadModule php4_module c:/php/sapi/php4apache.dll
DocumentRoot "e:/Internet/homepage/blank"
ScriptAlias /php/ "e:/internet/homepage/blank/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
If I run from index.html " <a href="/php/info.php" target="main" name="info">info</a>"
I get the error:
e:/internet/homepage/blank/php/info.php is not executable; ensure interpreted scripts
have "#!" first line
(2)No such file or directory: couldn't spawn child process:
e:/internet/homepage/blank/php/info.php
If I run from index.html " <a href="info.php" target="main" name="info">info</a>"
It works !!
Can anyone tell me what I’m doing wrong ??
Thank you in advance
Ron