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
Solved

Ubuntu and php version

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS EC2 HTTP & HTTPS 2 44
Upgraded from Debian 7 to 8.7 and got black screen 20 67
Ahax pagination 9 32
PHP website on Linux - server DNS address could not be found. 18 46
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The viewer will learn how to count occurrences of each item in an array.

856 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