NYCPHP Meetup

NYPHP.org

[nycphp-talk] xampp and php5

Joe Crawford jcrawford at codebowl.com
Sat Jul 17 22:41:28 EDT 2004


John,

you are a life saver ;)

although i am not running anything on my dev machine that will not run
on 5 i still needed this info so that if it came to crunch time i could
change back to 4 when needed ;)

Joe Crawford Jr.


On Sat, 2004-07-17 at 22:37, John Lacey wrote:
> Joe Crawford wrote:
> 
> >i have installed XAMPP however it is running php 5, that is not a
> >problem per-se however i would like to know how to switch?
> >i have tried a 'locate php-switch.php file and i get no results ;(
> >
> >  
> >
> I assume from the "locate" command that you're on a Linux box :)   the 
> following are the directions for Linux:
> from the website page: http://www.apachefriends.org/en/xampp-linux.html
> 
> *Note to XAMPP 1.4.7*
> Because such very new versions like PHP 5 always should be handled with 
> care we decided to include both current versions of PHP into XAMPP: PHP 
> 5.0.0 and PHP 4.3.8. If you find out your PHP application doesn't work 
> with PHP 5 you will be able to switch back easily to PHP 4.
> 
> By the following command you can switch "back" to PHP 4.3.8:
> 
> /opt/lampp/lampp php4
> 
> And with the following command you can switch back to PHP 5.0.0:
> 
> /opt/lampp/lampp php5
> 
> If you forgot which version of PHP is in use simply use phpinfo() or 
> call this command:
> 
> /opt/lampp/lampp phpstatus
> 
> 
> ...
> John
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> 




More information about the talk mailing list