Re: php4 on RedHat 7.1

From: Date: Fri, 27 Apr 2001 14:43:49 +0000
Subject: Re: php4 on RedHat 7.1
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-50631@lists.php.net to get a copy of this message
Yes, it has that in there right out of the box like this: <IfDefine HAVE_PHP4> LoadModule php4_module modules/libphp4.so </IfDefine> # # AddType: allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # The following is for PHP4 (conficts with PHP/FI, below): <IfModule mod_php4.c> AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps </IfModule> It comes like that from a clean install of RH 7.1, but why is it not working? Any Ideas? Ralph Guzman wrote in message ... >Your httpd.conf configuration should look something like this: > >AddType application/x-httpd-php .php .phtml .php3 .php4 >AddType application/x-httpd-php-source .phps > >-----Original Message----- >From: j2n tech [mailto:dweeb@geek.com] >Sent: Thursday, April 26, 2001 8:42 PM >To: php-general@lists.php.net >Subject: [PHP] php4 on RedHat 7.1 > > >I'm trying to get a webmail client to work under RH 7.1 with Apache 1.3.19. >I downloaded php-4.0.4pl and configured and installed it. Now when I try to >bring up a php page it trys to download it instead of execute. I added the >"AddType" line for php4 in my httpd.conf but it made no difference. I >noticed Apache 1.3.19 with RH7.1 treats modules differently with the >IfDefine functions...am i missing something here? Anybody have any idea how >I might be able to get this to work? > >Thanks. > >--j2n. > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#50631) next »