Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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 www.php.net .
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.
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 php.net. 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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.