Ok Ive tried playing with this for the past week and still a nogo.

First tried, debian, did apt-get install apache, apt-get install php4 and got all the other necessary packages.

I always checked to make sure it had
LoadModule php4_module /usr/lib/apache/libphp4.so in it with the AddModule line as well, and the AddType line

Every single time i tried to view the site it still would try to download the .php files, obviously not parsing the files like it should.

Ive tried doing manual installs of the tars of both apache 1.3 and apache 2.0 with php4 etc..

Now i decided to wipe it out, install suse, i installed the rpms of apache, mod_php4 and php4 libraries etc... and now it wont load the libphp4.so though it exists, and is specified in correct location. When i try to apachectl start i get this error:

PHP Fatal error: Unable to start session mm module in Unknown on line 0

these are the rpms i have that are related:
apache-1.3.23-88
mod_php4-4.1.0-121
mod_php4-core-4.1.0-121
apache-contrib-1.0.9-335
mod_php4
phpdoc
phplib
apache-devel

Any suggestions ?

    compile apache&php&mysql from the source 😉

      As I stated Malbera, I have done that with my debian install, and no matter what i did it still would not parse php files, and it would just pop up a box to download the file instead.

      Right now im not worried about mysql, just trying to get the server it allow php files to be viewable.

        1. Make sure the software is installed correctly.

        2. Make sure httpd.conf has been updated with the mime type for .php files.

        3. Make sure you have restarted httpd so that it reads the altered conf file.

          Write a Reply...