Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-01-2005, 10:26 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Upgrading php?

Hello everybody,

I am currently using a (rented) Linux (DeBain with cPanel) server, for a temporary (html) website. I have been looking into php, and buying a php template.
Currently the server has php 4.3.10 installed. This is what the compamy had on it. I have figured out some things on it, but not nearly what I need to know.
I wanted to upgrade the php to a newer version >= 6.5.

How do I get the newer version installed? Through ftp and cpanel?

I appreciate any help I can get, my linux knowledge is extremely limited. Unfortunately, I can't just pop a CD in, and let it go to work!

Thanks for any input ahead of time,

Old 09-01-2005, 11:26 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
The latest version of PHP is 5.0-something, so you're going to have to wait awhile for 6.5 . Do you have shell access to the server (i.e. can you SSH to it)? If so you can always download the newest PHP version, compile it and install it (read the guides here for how to install from source). Be aware that some applications make not work correctly with PHP 5 since it has updated the language a lot. You might consider staying with the latest PHP 4 release -- you can find more info on .
Old 09-02-2005, 06:06 AM   #3
LQ Newbie
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for the input. I will have to check on the SSH, as I don't even know what that is?
As for my 6.5 comment? That's why it seems a bit confusing. I have seen versions listed up to 7.8? Some of the template ads claimed, the template required php 6.5 or newer?
Once again thank you very much for the advice and info.

Old 09-02-2005, 09:18 AM   #4
Registered: Sep 2002
Distribution: Ubuntu 12.04
Posts: 55

Rep: Reputation: 16
it sounds like you have php version numbers confused with version numbers for some other application. You can find out what the latest versions are at Believe me, anyone who tells you some app requires PHP 6.5 is pulling your leg.

if yours is a dedicated server, you can probably install whatever you please, I would imagine (don't know from experience, being a downscale shared server kind of guy). But if you don't know, e.g., what SSH is, then compiling PHP 5 from source will probably be more of an adventure than you would enjoy. But if you want to have a wack at it, try it on a non-production machine first. I daresay there are plenty of folks here who have built PHP just a few times and can help with your questions. And yes, make sure your PHP apps support PHP 5. A lot of PHP 5 code will not even parse on PHP 4 -- that is, PHP 5 has a wider vocabulary than PHP 4, stuff that PHP 4 does not understand.

if you really need PHP 5, perhaps your hosting company can set it up for you for a nominal fee (again, speculation on my part).
Old 09-02-2005, 08:24 PM   #5
LQ Newbie
Registered: Aug 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Well from the input I have gotten, I have clearly misunderstood some things from some of the other sites. Thank You immensly for the updates. I will stick with what I have for now. It is a dedicated server, I think? I have 500MB of space to run the site on.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading PHP with RH 9 rtcary Linux - General 1 09-11-2005 11:27 AM
Upgrading PHP?!? gldfngr Linux - Software 1 08-25-2005 09:32 AM
Upgrading Php dlc2000 Linux - Newbie 0 07-16-2003 07:46 AM
Upgrading php 4.2.2 to 4.3.2 maceking Linux - Software 1 06-30-2003 02:02 PM
upgrading php zurron Linux - Software 6 02-18-2003 07:31 AM

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration