How to install 5.2 version of PHP in wamp - php

I have wampserver 2.5 installed on my machine which has PHP 5.5.12
But I need to setup and application which is built in PHP 5.2. So how do I use this 5.2 version of PHP?

To get that far back in history, you may find it easier to install one of the old WampServer 2.2 releases.
You can find the old releases here

There is a special extension to WampServer 2, which will let you install PHP 5.2.11 in your WampServer.
Here's the download link: WampServer Extension for PHP 5.2.11

WampServer Extension for PHP 5.2.11 - is not the best solution, as you could get compatibility error error image.
Better to use RiggsFolly solution and install older wamp version.

Related

How to install imagick with heic for alternative php verison?

Got server with control panel. Cli working on php 7.2 with alraedy installed imagick with heic support. But my php-fpm with 7.4 version working on another dir, like /opt/php74/bin and got lower imagick lib version.
How to upgrade this version too?
I sorted this out in my installation. Make sure you have "apt install php7.4-dev" rather than for the 7.2. https://eplt.medium.com/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1

Mongodb extention 1.3.0 not installed in php 5.6.26 wamp

I need to install mango db PHP extension 1.3.0 with my wamp64
WINDOWS
Windows10 64bit
WAMP
apache 2.4.23 / php 5.6.25 / php 7.0
I try everything but still having issue
- see solutions from this Q
PHP Startup Unable to load dynamic library php_mongo.dll
other drivers work fine but I need a specific driver to person some function. experts help appreciated.
Driver I need
https://pecl.php.net/package/mongodb/1.3.0/windows
Why I need
More updates
When I add Mongodb 1.3.0 ts version in wamp / bin / php / php 5.6.25 / ext folder it give me error. I try to fix it with copy paste solution but not worked.
As Cocorico is compatible with PHP 7.1 i would use PHP 7.1 instead of PHP5 and mongodb extension 1.3.4 instead of 1.3.0.
You will find here http://wampserver.aviatechno.net/ most of what you need to use php 7.1 in Wamp.
Take care of TS / NTS and x64 / X86 informations for PHP and pecl mongodb extension.
Last thing don't forget to install the Microsoft VC++ packages as described in the bottom of the page.
Finally, I figured out the issue and fix it with done few more steps and Yes #Tsounabe comment help me to go further in it.
The first step I have php 5.6 , php 7 and php 7.1 in my WAMP server so removed 5.6 to make thing much clear but you guys should keep if you want it. Then i Select php 7.1 and right click on WAMP SERVER icon and change CLI too.
The Second step I already have composer so I uninstall it and install it again with .exe file and select PHP 7.1.
Then restart everything and my mongodb extention worked :)
WAMP SERVER VERSION : 3.1.1 64bit - http://wampserver.aviatechno.net/
PHP VERSION 7.1.12 - You can install WAMP SERVER PHP ADDON from ABOVE URL
MongoDB VERSION 1.3.4 - https://pecl.php.net/package/mongodb/1.3.4/windows

install old php extension ubuntu 14.04

I want to install the phpmotion on Ubuntu 14.04. I need to use it for php 5.3, and older. I did the PHP installation package but I can not attach extensions. How can I do?
I'm unsure how to get an old copy of PHP 5.3 except from compiling it yourself; it's past end of life so you might be better off finding a newer library than risking the security of your entire application.
The Ondřej Surý PHP 5.4 repo is your best bet to get an older version, though it's one ahead of the version you suggest.

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.

I want to downgrade my php version to 5.2 (or around)

In my archives I have an old version of Drupal (Drupal 6.14, 2009-09-16)
I want to be able to reconstitute the website on my local machine (computer)
My problem:
I want to downgrade my php version to 5.2.. (or around) cause my Drupal files does not work with php 5.4...
Now I have installed on my local computer an old version of Easyphp 12.1
APACHE 2.4.2
MYSQL 5.5.27
PHP 5.4.6
How can I downgrade my php version? Do I need to uninstall easyphp?
yes, the easy way is to install again the easy php with the version of php that you want.

Categories