On Sun, 19 Oct 2003 20:17:08 +0200, Richard Bos wrote
Op zondag 19 oktober 2003 17:03, schreef Patrick Malone:
I have been looking through the archives and followed any advice I could find there to try and get these two to work together.
Apache2 now starts properly and is running with the prefork MPM package. The apache2 mod_php4 package is installed. Yast shows no dependency errors or other problems.
I have added php4 to the /etc/sysconfig/apache2 APACHE_MODULES line.
The webserver still tries to open or download a .php file.
Is there anything I've missed?
Patrick, I did the following to test PHP4 and Apache2: Create a file called timetest.php with the following lines: <p> The following time: <b> <?php echo date("h:i:s a", time()); ?> </b> was generated by PHP4. </p> Put this file into your web server's document root Type the following into your web browser's address bar: http://localhost/timetest.php (if you have a gui on the server) I got the following output: "The following time: 09:10:29 am was generated by PHP4." HTH Darryl ---- Edgemead High School (Northern Suburbs, Cape Town) Office Tel +27215581132 Office Fax +27215584407 -- EHS uses: Open WebMail (http://openwebmail.org) Apache (http://www.apache.org) SuSE Linux 8.2 (http://www.suse.de; http://www.suse.com) ----