Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 running SuSE Enterprise 9, and would like to upgrade my php to version 5; however, Novell only officially supports version 4 at this time (there are no Novell-made PHP5 binaries). So, I decided to compile it from source. Unfortunately, the configure script fails.
Before I go into detail as to how the configure script fails, I would like to know if people have, in fact, compiled PHP5 for the EMT64 architecture, and if so, how they went about doing it.
I've used the following to configure. I did have an rpm install working great from ftp.suse.com, but the rpms seemed to have vanished from their site, and as I needed to add some features, I decided to manually install anyway.
At the moment, I am not configuring GD, due to unrelated issues for me, but php5.0.3 is working fine. I did try a quick ./configure with this same setup for 5.1.1, and it is failing on an out of date libxml something.
This may help get you started, and if interested, I still have the original rpm set from my March 2005 install, which worked fine on my original sles9 install.
You should stick with 32-bit programs instead of 64-bit programs because EMT64 is just a feature in Intel processors to convert 64-bit programs into 32-bit programs. The speed will be much faster if it is compiled for 32-bit for Pentium 4 processors instead of 64-bit. If you want 64-bit x86 processors, Opterons or Athlon64 are the only processors.
To compile, make sure all glibc and other programs that php depends on like their header files are installed. To compile any program you run ./configure && make && make install. You may need to run make depend before running make.
I currently have two sites in place; one is a production site, and I'm thinking it's dependent on php 4.x. The other is in beta, and is a replacement of the other. It uses a lot of object-oriented code, and would greatly benefit from php 5.x.
If I upgrade my php, will it break my old site? I'm not really familiar with the changes from 4 to 5. If there are a few function name changes, I can deal with that... but if there are major behavioral changes, then I'll have to wait until the new site replaces the old one.
Concerning EMT64... This machine flies... I've really been impressed with its performance, based upon the cost (which was pretty affordable). However, as I have learned more about EMT64, I wished we'd have gone with an AMD solution. The next 64-bit OS we get will definitely have an AMD in it, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.