Solved

Ubuntu and php version

Posted on 2015-02-23
4
160 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

752 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