Solved

Ubuntu and php version

Posted on 2015-02-23
4
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 83

Accepted Solution

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

Expert Comment

by:gheist
ID: 40626536
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
ID: 40626547
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 62

Expert Comment

by:gheist
ID: 40626558
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.

756 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