I'm trying to install the latest version of php (4.01pl2), and I'm following
their instructions for installing it as a DSO. This is under RedHat 6.2.
Everything compiles fine. Apache has DSO enabled (mod_so is present
when I go httpd -l). Then, I put in the appropriate line in
httpd.conf:
AddType application/x-httpd-php .php
However, when I create a simple PHP page, it doesn't load it
as a PHP page. It doesn't process it, and it returns it as MIME type
of x-httpd-php, which the browser doesn't know how to handle,
of course.
I followed the very simple instructions for building PHP as a DSO, and
it didn't work. Any ideas?
Thanks.