Apache2 and PHP
I have install Apache2 with PHP4 on my SuSE 9.2 distro via YaST. It loads up index.php fine when not explictly stated. Although when I call the file directly, Apache doesn't process the file and instead offers the user to save the unprocessed PHP script to disk (and does!) I know it works when not explictly stated because "httpd.conf" is setup to seek an index.php/html/htm/etc... I checked "./conf.d/php4.conf" and it "AddType"s the php extension correctly to "x-httpd-php" if the "sapi_apache2" module is loaded. php_info() shows that PHP is being processed by the Apache2 API handler (hence sapi_apache2?) Is there something I am missing and need to check?
Last edited by unreal128; 05-10-2005 at 08:55 PM.
|