Re: PHP4 & PHP3 on same system?

From: Date: Sun, 24 Dec 2000 11:58:30 +0000
Subject: Re: PHP4 & PHP3 on same system?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31750@lists.php.net to get a copy of this message
Hey Danny- Most likely all php3 scripts will work fine on php4. Just change the a php addtype in apache : AddType application/x-httpd-php .php .php3 .phtml .foobar If you have access to httpd.conf then modify there. If you must use .htaccess then add/create a .htaccess in the given directory and add the above. More information on this topic can be found here : http://phpbuilder.com/tips/item.php?id=79 Regards, Philip --.sig [ Learning requires a teachable humble attitude. ] [ Will work for Money: http://www.cornado.com/ ] On Sun, 24 Dec 2000, Danny Horne wrote: > Hi, > > I'm just starting out trying to create an online database using Apache, PHP4 > & MySQL. Technically everything works fine, but I've found some useful > scripts on the web which I'd like to use that are written in PHP3 (have > .php3 suffix). > > How can I use these scripts, can I just change the suffix to .php (very > tedious, lots of scripts) or is it possible to have PHP3 & PHP4 on the same > system? > > Thanks for all replies. > > > > -- > 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 (#31750) next »