Premature end of script headers: hello.php
is returned by browser. (mozilla 1.7.2).
(8) Exec format error: exec of '/home/username/domain.com/hello.php' failed -- is the entry in /var/log/httpd/error_log
I am using Fedora Core 2. Since receiving this error, and some Internal Server Error 500's, I completely removed Apache 2.0.50, then reinstalled a new copy (via configure). I have also reinstalled PHP 4.3.8 and reconfigured --with-apxs=/path/to/apxs (and) --with-mysql.
The compile of PHP seemed to work fairly well, though I did get a couple of grumbles, which I believe I have attended to, 1) libtool --finish /path/to/php/libs, which I did, 2) chmod 755 on libphp4.so, and adding 3) /usr/local/lib/php to my include_path statement in php.ini.
So, my questions are 1) Why am I still not able to browse to my hello.php script, without getting this error, 2) why is life so finely complicated? 3) What are the top three books on implementing PHP?
Here is my simple script.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
TIA for any help!
Andrew L.--
At any given moment, on a continuum between genius and dunce. Hope you're catching me on a good day! :bemused: