Solved

Ubuntu and php version

Posted on 2015-02-23
4
146 Views
Last Modified: 2015-02-27
Hi,
I'm trying to find out if I install Ubuntu 12.04 on a rackspace cloud server,
what version of Php will be installed when I install it through aptitude ?
Is there a way for me to find this out before I spin up a server and try to install php?

The end result I would like is to be able to run php 5.3.3 or 5.3 because some of the scripts I have need that version to function correctly. I've tried to run them on 5.5.9 and they are not working.
Thanks
0
Comment
Question by:nachtmsk
  • 2
4 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
It appears that Ubuntu 12.04 comes with PHP 5.3.6 as best I can tell.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Backports has 5.3.10

If the script does not work on PHP 5.5 what makes you think they work better on any other version?
Can you post ANY error messagesyou get?
0
 

Author Comment

by:nachtmsk
Comment Utility
Because the scripts are running fine now on 5.3.3 and I looked up the errors I am getting. They have been dealing with Php upgrades.  So far, I fixed one (needed to use $_SESSION instead of some deprecated functions) and the next one is connecting to mysql. I fear I will need to spend more time then I have patching scripts that I didn't initially write. There are a lot of them.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
But why in the hell you want a burden to support later PHP version, when Ubuntu gives you full free support for old version?
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now