php and Apache won't play nice

From: Date: Mon, 31 Mar 2003 01:00:53 +0000
Subject: php and Apache won't play nice
Groups: php.install 
Request: Send a blank email to php-install+get-10455@lists.php.net to get a copy of this message
When I surf to a phpinfo.php file in apache htdocs dir the browser insists on downloading the file instead of executing it showing me my php setup page I've modified httpd.conf adding: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddModule mod_php4.c here are the last few lines in the section: AddModule mod_access.c AddModule mod_auth.c AddModule mod_so.c AddModule mod_setenvif.c <IfDefine SSL> AddModule mod_ssl.c </IfDefine> AddModule mod_php4.c When I do apachectl configtest I get: Syntax error on line 233 of /usr/local/apache/conf/httpd.conf: Cannot add module via name 'mod_php4.c': not in list of loaded modules I installed php from source. I used this config statement ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --enable-bcmath --enable-sockets --enable-track-vars then i mv'ed php.ini-recommended to /usr/local/lib/php.ini Could someone please point me straight? Why is php stubbornly refusing to work here jim kelly

« previous php.install (#10455) next »