Hi I would like to know if there is a way where I can downgrade my PHP version to 5.1.6 to using the current version of xammp?
I need this PHP version in one of my clients existing intranet application.
Thanks in advance!
In order to downgrade PHP in XAMPP it's probably easiest to downgrade XAMPP itself: see Xampp Sourcefourge Files
Related
Do you know how to downgrade php from 5.6 to 5.3?
I created a website with PHP 5.6 but when my client uploaded on their server some functions on my website are not compatible and they say that the problem is because their PHP version is 5.3 and I don't know about it, so they want me to downgrade my PHP version. Can you help me?
Or any solution to my problem? So, my website can be compatible on their server.
You're most likely talking not about downgrading of the PHP executables, but about downgrading language level from 5.6 to 5.3
There is no automatic way to do it, but you can study syntax changes between versions (information can be found into official manual) and update your code accordingly.
Also it may be good idea to remind customer that PHP 5.3 is not supported anymore so it may be good idea to upgrade PHP version instead of downgrading site. 5.3 -> 5.6 upgrade is relatively plainless.
good day! Just a quick question about laravel since we are planning to use laravel on our new project, the problem is the client is using php 5.3.3 on their server. I know that laravel works on php 7 but the question is will it still work on php 5.3.3? Thank you in advance.
Looking at the oldest version available in the documentation located at https://laravel.com/docs/4.2/#server-requirements
It states
PHP >= 5.4
So I would say No.
This is due to found security risks in various versions of PHP so Laravel has a baseline for PHP.
If you can use Docker, you can use a PHP7 Docker container with the latest stable version of Laravel, and then you will not touch the PHP 5.3 version
I have updated the PHP version to 5.6.18 in my Mac. But my Yii2 application is still using PHP/5.5.14 version. How can I change it? Thanks!
There is a bug in php 5.3 with the iconv module. Apple applied a patch for their version of php. However, MAMP didn't include this patch and is thus unusable with Zend Framework (for example).
I tried to include Apple's version of php 5.3 into the MAMP's httpd.conf, but ran into problems with symbols which could not be found. Does anyone know of a proper way to use MAMP with php 5.3 /w iconv? Is recompiling or linking apple's version an option?
Just rename the php directories in /Applications/MAMP/bin/php
Duplicate php 5.3 directory and rename it to the same ver number of 5.2, and it works. :d
I'm not sure this leave a whole lot of value in the MAMP, but you probably are best served compiling your own php and apache.
http://fabien.potencier.org/article/37/php-5-3-0-on-mac-os-10-6-snow-leopard
There is a discussion of this issue here:
iconv_strlen function causing execution timeout, running on MAMP
The basic solution is either to downgrade your MAMP to version 1.9.4 which is the last stable version as far as “iconv” is concerned. Or you can use any version of MAMP from 1.9.5 onwards but switch the PHP version from the MAMP preferences from 5.3 to 5.2.
I am using xampp for my development, however the bundled version is 1.5.3, our servers are only 1.5.2.6 hence, I need to downgrade php so I dont use any 5.3 features.
Is this possible?
You can easily get older versions of XAMPP from SourceForge that contain the appropriate PHP version for your needs.