Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
php 5.2 on a fedora 14 server
my company has been in the process of migrating several sites it has hosted off of an archaic server onto a newer one with fedora 14
the problem is that fedora 14 has php 5.3 which does not bode well with some of the web scripts that are being migrated (Drupal 5.2, creates quite a few warnings about paramater X should be a reference in function y and ereg() being deprecated)
is there any way to either downgrade php on fedora 14 to 5.2, or preferably install it along side php 5.3 and only using it for those particular web scripts that need it with a .htaccess file?
before you ask or suggest it, no, upgrading the sites to drupal 6 or 7 is not an option, nor is manually re-coding each site to accomodate php5.3
any help would be appreciated, i have tried googling for an answer and haven't had much luck.
your company is fully aware that in 4 to 5 months fedora 14 hits end of life
RHEL5.6 or 6.1( or cent or SL) would be , by far, way better choices .
as to the older php 5.2
add a exclude option to the fedora 14 yum repo file
and build from source
then in 5 months uninstall yum
you will never need it again .
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Original Poster
Rep:
i realize that about f14, unfortunately we didn't have much choice in the matter as we don't physically own the machine we're just renting the unit, although we do have root access to install software on it we can't change the OS (it's not even physically located in our building) if we have to compile php from source that would be a problem and a last resort, is there any solution that doesn't involve compiling?
i realize that about f14, unfortunately we didn't have much choice in the matter as we don't physically own the machine we're just renting the unit, although we do have root access to install software on it we can't change the OS (it's not even physically located in our building) if we have to compile php from source that would be a problem and a last resort, is there any solution that doesn't involve compiling?
You can use Ermine (http://magicErmine.com). On any Linux system that has installed PHP 5.2 use it to create self-contained executable. This executable can be copied to another system without need to drag with it any additional shared libraries - everything will be packaged in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.