How to install php 5.5.9 on ubuntu 16.04 [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I tried with a PPA - ppa:ondrej/php but it says
PLEASE DON'T USE PHP 5.4 OR PHP 5.5. The PHP 5.5 and later are no longer supported with security updates, therefore they are not included in this repository.
Note: I understand it is not preferred to use PHP5.5+ still i wanted to install. Is there is any ppa is available with php5.5.9 with all supported extensions?

Best option
As I stated in comments I very strongly advise you to use a supported version of PHP. Using outdated versions of PHP means being susceptible to all kinds of security vulnerabilities. Upgrading your application to work with PHP 5.6 may not be very much work.
Much, much worse option
If you absolutely must use PHP 5.5 (which I don't recommend), you should use the latest release (5.5.38), not 5.5.9. There should not be any breaking changes in 5.5.38 vs. 5.5.9; you'll just get a whole bunch of bugfixes and security patches.
Since PHP 5.5 has reached end-of-life you won't receive any updates to it via any channel, so there isn't much value in installing via PPA vs. building from source. I agree with the stance taken by ppa:ondrej/php not to provide PHP 5.5 anymore, and other PPA providers are likely to go down the same path.
If you're confident that you know the risks of using an ancient version of PHP, and accept them (please don't!), you can download the source code for PHP 5.5.38 from PHP.net and then build it.
PHP 5.5.9
Seriously, I beg you, don't use this version of PHP. If using PHP 5.5.38 in 2017 is crazy (it is!), using PHP 5.5.9 is complete insanity.

Related

Finding the best environment to test different PHP versions [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I've got Apache + PHP 5.2.17 + mySQL on a Linux/Ubuntu server, and I was requested to upgrade the PHP version (I guess to 5.3.x or 5.4.x).
I would like to test my code in a versatile environment where I can switch among the PHP versions, and I'm trying to locate the proper software. I'm not sure whether 'UwAmp' or 'Laragon' could fit my needs (I don't mind to test it on a Windows machine).
Any suggestion is welcome. Thank you very much.
I've got Apache + PHP 5.2.17 + mySQL on a Linux/Ubuntu server, and I was requested to upgrade the PHP version (I guess to 5.3.x or 5.4.x).
Do yourself a favour and update to a version of php that have not been abandoned for years, at least 7.1. For reference, find the supported versions here. PHP 5.6 is not even in security fixes support anymore.
I would like to test my code in a versatile environment where I can switch among the PHP versions, and I'm trying to locate the proper software.
Use a local development server stack such as Ampps, MAMP, XAMP, or one of the myriad of such software. They allow for easy switching between php versions.
Alternatively, set up Travis CI with different php versions and a suite of tests. Travis is geared up to run tests suites in various PHP versions automagically.
Manually compiling and maintaining multiple versions of PHP, while doable, is not very practical if you actually wish to get things done. Using software that comes with multiple versions installed is arguably the only viable solution.

Where do I change my PHP version for Laravel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My web host is running a different PHP then the one Laravel is using. To overcome this I want Laravel to use another version of PHP. I'm having trouble finding where to do this. My question is it possible and if so where can I change it.
Laravel has a version of php as a dependancy. You cannot use a version of Laravel that requires, for example, PHP>=5.4 on a server that is using a version of PHP below 5.4.
If you have to use an older version of PHP, you need to use an older version of Laravel that supports your desired version of PHP.
Try searching the Laravel website for older versions, or consider upgrading your version of PHP to match Laravel's requirements.
If your web host is not running a version of PHP that supports Laravel (5.4+), they are a dangerous and unprofessional webhost and you should find a new one. PHP 5.3 and lower have been end-of-lifed (http://php.net/eol.php), meaning they may (and likely do) contain unpatched security holes and other bugs that will never be fixed.

How to use Chef PHP cookbook to install version higher than 5.3.3 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using the Opscode community PHP cookbook to install PHP on a node. The node is CentOS and I have attempted setting the install_method to "source" and also tried overriding the version in my Role file.
No matter what I do - Chef continues to install PHP 5.3.3.
I want to know how to use this cookbook to install a newer version of PHP - or understand if it's even possible. I see references to PHP 5.3.28 and 5.4.15 in the default attribute settings - so I am under the impression that it should be possible.
Does anyone know how I might accomplish this?
Chef simply uses the packages available in the systems package repositories. So that might be 5.3 in your case.
The reference to 5.4.15 is for the source install. You'd have to use another recipe
php::source
You could set the preferred version for PHP from chef
:php => {
:version => "5.5",
},

install php5.3 what is minimum of apache server version? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
i installed the following s/w versions
php5.3.0
mysql5.0
now what is minimum requirement of apache server... anybody give right version to suggest me
thanks
Kumar
The best version is always the latest version.
This because with every updated version a lot of bugs and security problems are fixed.
Using an outdated version of software is never a good idea.
But then, sometimes you come accross poorly written software, or software written 10 years ago that still needs that old buggy software to run on. My advice: don't connect it to the internet.
Do you have to connect it to the itnernet? Look for another job ;)
As DCoder mentioned in the comment. ALWAYS test before deploying an update.
Minimum version of Apache server: 1.3.x (Windows, Unix)
Recommended version of Apache server: 2.x (Windows, Unix)
"We strongly recommend that users of all
earlier versions, including 1.3 family release, upgrade to to the
current 2.2 version as soon as possible." (source)

Should I ask my web host to use PHP Version 5.3.5 on my VPS [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Situation:: My current web host has given me a brand new VPS today with PHP 5.2.9 (released: Feb 2009).
What I did: I asked my web host to upgrade it to latest PHP 5.3.5 so I can get all security vulnerabilities fixed.
What web host replied: No, you should not. Your PHP scripts will break. Instead you can use PHP 5.2.17.
My Question: Should I force my web host to install PHP 5.3.5 on my VPS? What problem can possibly I get by upgrading. I currently do not use any PHP 5.3 features but may use those in future. My main concern is to get fully secure from known vulnerabilities.
Please don't close this question. It's not directly related to programming but is related to PHP which only PHP experts at SO can answer, I guess.
Well, simply install PHP 5.3.5 locally and see if any of your scripts break. If everything's okay, let them install PHP 5.3.
Concerning "It will break things": PHP normally is backwards compatible. Maybe it will give you some E_STRICT errors, but those don't break scripts. But really, you should just try ;)
An old release date does not means that it has vulnerabilities. For instance most Linux distributions keep the same PHP version forever (for the lifetime of the distribution's release), but they fix vulnerabilities as they are discovered.
Just make sure that all your distribution's packages are up to date.
If its a VPS do you have root access? If so you could upgrade yourself. I imagine it should be possible with a little work to install both versions.

Categories