Hi,
This is probably some simple error, but I cannot get my php scripts to work.
I have this ibay 'billeder' with dynamic content enabled
I have created an index.html that calls a php script in cgi-bin, but I get an internal server error:
The script and the cgi-bin directory has been chmod to 755, the script is a small sample script, that should work:
When I look at the error_log it says:
[Mon Dec 10 22:17:25 2001] [error] (8)Exec format error: exec of /home/e-smith/files/ibays/billeder/cgi-bin/spis.php3 failed
[Mon Dec 10 22:17:25 2001] [error] [client xx.xxx.xxx.xxx] Premature end of script headers: /home/e-smith/files/ibays/billeder/cgi-bin/spis.php3
I tried to imbed some php in a html in the html directory file like this:
PHP Test
"; ?>
and this does not work either. No errors in error.log, it just does not display anything.
Any ideas?
Kind regards
Brian