Asked to save PHP file on Apache instead of running file

From: Date: Tue, 21 Aug 2001 15:23:04 +0000
Subject: Asked to save PHP file on Apache instead of running file
Groups: php.install 
Request: Send a blank email to php-install+get-4043@lists.php.net to get a copy of this message
Hi, I'm trying to install PHP 4.0.6 as a DSO on apache 1.3.17 But when trying to omen a php-file the browser asks me to save the file. It seems like the Apache server does not know that it is configured with PHP Has anyone seen this problem? Best regards, /Fabian Mellegard I have compiled apashe with the -enable-module=so And installed the server. I have configured PHP with the following arguments: ./configure -prefix=/opt/apache/ -with-mysql=/opt/mysql/ --with-apxs=/opt/apache/bin/apxs Compiled and installed the module with no errors. Then I have added the PHP4 support in the httpd.conf file by removing the comment on the following two lines: AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps And started and stopped the Apache server. ---- I have also tried to configure PHP with: ./configure -prefix=/opt/apache/ -with-mysql=/opt/mysql/ --with-apxs=/opt/apache/bin/apxs -with-gnu-ld -enable-gcclib And tried ./configure -prefix=/opt/apache/ -with-mysql=/opt/mysql/ --with-apxs=/opt/apache/bin/apxs -with-config-file-path=/opt/apache/conf/ with the same result --- when a do ./httpd -l I get: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c

« previous php.install (#4043) next »