Re: [PHP4BETA] php3/php4 problem with apache

From: Date: Mon, 17 Apr 2000 17:59:17 +0000
Subject: Re: [PHP4BETA] php3/php4 problem with apache
Groups: php.version4 
Request: Send a blank email to php-version4+get-13632@lists.php.net to get a copy of this message
Andi, I am using linux version 2.2.12. I get the message "httpd could not be started" but the syntax is ok when I run "apachectl configtest" command. My main goal is to be able to run all my .php3 file with version4. I tried to use the following AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .php4s but when I access any .php3 file, my browser displays the "save file" prompts and does not recognize the "application/x-httpd-php3" mime. Is there any way I can use php4 to use my old php3 extension files? Thanks, -Asghar > X-Sender: andi@127.0.0.1 > Date: Sat, 15 Apr 2000 13:15:35 +0200 > To: Asghar Nafarieh <nafarieh@impact.xerox.com>, php4beta@lists.php.net > From: Andi Gutmans <andi@zend.com> > Subject: Re: [PHP4BETA] php3/php4 problem with apache > Mime-Version: 1.0 > > Hi, > > What platform are you under? Not all support versioning. > Do you get an error message? > > Andi > > At 02:18 PM 4/14/00 -0700, Asghar Nafarieh wrote: > >hi, > > > >I cannot run apache with both php3 and php4 RC1. Apache will not > >start when I use both of them but they work fine individually. Your help > >is appreciated. > > > >Here what I did. > > > >I Compiled both php3 and php4 with the option --with-versioning. > > > >Then in my httpd.conf I added the following > > > >----------- > >## In the loadmodule section: > > > >LoadModule php3_module lib/apache/libphp3.so > >LoadModule php4_module lib/apache/libphp4.so > > > >## In the addmodule section: > >AddModule mod_php3.c > >AddModule mod_php4.c > > > > > >## In the typehandling section (you can change this as needed): > >AddType application/x-httpd-php3 .php3 > >AddType application/x-httpd-php3 .phtml > >AddType application/x-httpd-php3-source .phps > >AddType application/x-httpd-php .php > >AddType application/x-httpd-php-source .php4s > >---------- > > > > > > > >-- > >PHP 4.0 Beta Mailing List > ><http://www.php.net/version4/> > >To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > >For additional commands, e-mail: php4beta-help@lists.php.net > >To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/

« previous php.version4 (#13632) next »