Older version of php with Xampp - php

I installed Xampp currently on version 1.8.2 and comes with php version 5.4.16.
My server off of bluehost is currently on php version 5.2.17.
Is there a way to install the older version of php (5.2.17) on my Xampp so my local is compatible with my server?
Or...
Would I have to download an older version of Xampp (one that supports php 5.2.17 version)?
and if that is the case...
How would I know which Xampp version comes with php 5.2.17
Any help will be much appreciated!
Thank you,
Baraa

Well it turns out there is not an Xampp version that supports the exact php 5.2.17 version.
So I installed Xampp version 1.7.1 which supports php version 5.2.8.
And that made my local compatible with the php off of my server!

Related

Why is php 5.3 while my xampp is php 7?

I was installed XAMPP with php version 5.3.
Now i install newer XAMPP with php 7.1
I check php version on localhost is 7.1 but when i check it on terminal with command php -v then it show php 5.3.
So, How can i disable php version 5.3 and use only 7.1?
I use OSX 10. Thank you!
If you are using XAMPP as a server then the other version of PHP doesn't matter. XAMPP will use the version it installed

Php code compatibility version 5.2 to 5.4

I'm currently using a PHP Version 5.2.5. I want to upgrade my php to PHP version 5.4.35 and my apache 2.0.5(no ssl) to apache 2.2.25 (open ssl). Does my code compatible with the current and the latest version or should i rewrite my code to be compatible? Help.. pls Thank you..

Downgrading PHP 5.4 to 5.3 on CentOS 6.5?

I need a big help. Regarding register_globals deprecated and removed as of PHP 5.4.0, I need to downgrade PHP to 5.3 version on CentOS ver. 6.5 server. Please tell me step by step how to do it. I have Scalable Cloud Hosting (VPS) with PHP 5.4.27 and Apache 2.2.15 installed on it.

Trouble when ugrading PHP & Apache

Today, I have on my Windows 8.1 computer (64bit), Wampserver 2.4, php 5.4.12, and apache 2.4.4 . Because of my student project, i have to upgrade my php version to 5.5.10. For this, I used this tutorial : http://forum.wampserver.com/read.php?2,113423,113435#msg-113435
I did every line in this tutorial, but, when i tried to switch php version in wampServer, i got this message :
this php version doesn't seem to be compatible with your actual apache version
So, i installed a VC11 (2.4.9) apache version, but this time, when i switched my apache version, i got this very intersting message :
this Apache version doesn't seem to be compatible with your actual PHP version
This message almost killed me... so i checked in httpd.conf, (i compared it to my old apache version) but nothing more happened...
If someone can help me find out the solution, or give me a tutorial for my case.. I'll be very greatfull.
I believe that you installed the 64bit version of WAMPServer. That means you installed a 64bit Apache/PHP/MySQL.
When you added php version to 5.5.10 did you check that it was a 64bit version? It will need to be!

Downgrade my PHP version from ver. 5.3.8 to ver. 5.2 in XAMPP

I am using Apache 2.2.21 with PHP 5.3.8 in my web development project in windows7 environment but the hosting management of the project can upgrade only to PHP ver. 5.2.
Is there a way to change php version inside XAMPP?
I just want to test if there are bugs appear if I use 5.2 php version.
Install WampServer. WampServer lets you install multiple versions of PHP, Apache and/or MySQL, and switch between them all via a menu option. ;)

Categories