Php code compatibility version 5.2 to 5.4 - php

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..

Related

Update PHP version to PHP 7.* on Palapa Web Server (PAW)

Would it be possible to update the version of PHP to PHP 7.* on Palapa Web Server (PAW), and if so can someone point me in the right direction? Currently the PHP version is 5.5.11 and I require a version >= 5.6.4 as I would like to do development using Laravel 5.4, and in the future Laravel 5.5.
Thanks,
Tim

Install php 5.3.28 error 2356

I have Apache installed on C:\Apache\ and conf on C:\Apache\conf\
When I try to install php 5.3.28 on Windows 8.1 with Apache 2.2.x web server Module I have an 'error 2356' and the php install can not be done !!!
Any ideas ?
Thanks for your help...
Apparently the archived versions of 5.3.28 and 5.3.29 on windows.PHP.net/downloads/releases/archives/ are corrupt as evidenced by their file sizes, 848k vs 47MB for 5.3.27.
Both PHP 5.2 and 5.3 are available for msi install from the archive page http://windows.php.net/downloads/releases/archives/
scroll down and you will find versions upto PHP 5.3.27
Use VC6 version of PHP and download from http://windows.php.net/downloads/releases/archives/
I used PHP 5.2.10 without this error 2356 on Windowc8.1 and Apache 2.2.25
I have got the same error in version 5.3.28. My OS version is win7.
I finally give up and turn to use the Microsoft web platform installer..It does helps and very convenient ,but the disadvantage is that it only supports window IIS server .
I ran the install using archived version 5.3.28 but the install failed with the error code 2356. I ran the install using archived version 5.3.29 and it works. File size looks ok now.

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!

Older version of php with Xampp

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!

Categories