FedoraThis forum is for the discussion of the Fedora Project.
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.
Help! I am using a Fedora Core 4 box as an Apache webserver with PHP to host my website
(see signature) . The server is running Apache 2.0.54 with PHP 5.0.4. However I am using phpATM http://phpatm.free.fr , a php file manager which is designed to run with php4. phpATM freaks out on php5; all I get is a blank page. Anyone know if I can safely downgrade my php5 to php4, preferably with an RPM?
I'd be interested in this too. Has someone generated a working RPM? I've tried compiling the SRC RPM for PHP4 from FC3 but it breaks all over the place. Too frustrating.
The response I get from the Fedora community is that Fedora Core is bleeding edge and hence using FC4 is not recommended if you need things like PHP4 or Apache1.3.
Anyways, I have PHP4 running on my FC4 box, but I installed from source. I didn't kill PHP5, just disabled it in the Apache conf (httpd.conf).
Originally posted by mjmwired I'd be interested in this too. Has someone generated a working RPM? I've tried compiling the SRC RPM for PHP4 from FC3 but it breaks all over the place. Too frustrating.
The response I get from the Fedora community is that Fedora Core is bleeding edge and hence using FC4 is not recommended if you need things like PHP4 or Apache1.3.
Anyways, I have PHP4 running on my FC4 box, but I installed from source. I didn't kill PHP5, just disabled it in the Apache conf (httpd.conf).
Can't understand you using Apache 1.3 isn't this a bit dated for LAMP.
I'am still trying someone to answer my question if anyone has full LAMP working on Fedora 4 on x86_64
The apache 2 and php has had problems for the last 6 months on Mandrake 10.2 and Suse 9.3 (now fixed on 10) looking for answers
in Fedora 4 since the other two distro's have problems with wireless on x86_64.
Can't understand you using Apache 1.3 isn't this a bit dated for LAMP.
Apache 1.3 maybe a bit outdated, but many providers still use it (mine inclusive). So if I wanted to mirror a public webserver on my own lan, then it would be nice to match it. In my case Apache2 works almost exactly as my 1.3 on the internet. SO this is not the main issue.
However, PHP4 is still very much standard and many apps still use it. I've spent the past few hours trying to rebuild a modified PHP4 RPM for FC4 and have had no luck. Too many things either won't compile with GCC4 or some settings in the .SPEC file have problems. In the end my goal is to have a PHP4 RPM without disturbing the include PHP5 on FC4.
Quote:
The apache 2 and php has had problems for the last 6 months on Mandrake 10.2 and Suse 9.3 (now fixed on 10) looking for answers
in Fedora 4 since the other two distro's have problems with wireless on x86_64.
Anyone help on this?
How can anyone help if you haven't described your problems in detail and what you have tried to resolve them? Although I would recommend a separate thread instead of changing the main point on this thread (PHP4 on FC4).
Okay, if anybody cares at all, I have compiled PHP4 RPM's for FC4. I gave up trying to get PHP4 and PHP5 working together so, I have simply uninstalled PHP5 altogether.
The basic procedure I followed was this:
- Obtained and installed the latest PHP4 src.rpm from Fedora Updates (php-4.3.11-2.7.src.rpm)
- Installed (from source) GCC 3.4 **
- Did an rpmbuild of the php4 .spec file
- Uninstalled all PHP5 rpms
- Installed all necessary PHP4 rpms
** I had found out that the PHP4 SRC.RPM would not properly compile with GCC4 or GCC3.2 (included in FC4) so I used a GCC3.4 which I had installed separately.
Anyways, I don't know if this provides any advantage over installing the binary RPMs from FC3 with any necessary compatibility libraries.
Originally posted by mjmwired Apache 1.3 maybe a bit outdated, but many providers still use it (mine inclusive). So if I wanted to mirror a public webserver on my own lan, then it would be nice to match it. In my case Apache2 works almost exactly as my 1.3 on the internet. SO this is not the main issue.
However, PHP4 is still very much standard and many apps still use it. I've spent the past few hours trying to rebuild a modified PHP4 RPM for FC4 and have had no luck. Too many things either won't compile with GCC4 or some settings in the .SPEC file have problems. In the end my goal is to have a PHP4 RPM without disturbing the include PHP5 on FC4.
How can anyone help if you haven't described your problems in detail and what you have tried to resolve them? Although I would recommend a separate thread instead of changing the main point on this thread (PHP4 on FC4).
Sorry I tried that on the other two forums and never got anyone to come up and admit that apache 2 and php did not work on
x86_64 systems until now. I hadn't been following Fedora for the last 6 monthsand especially, since they seperated from Redhat 8.1.
Seeing that you might have been able to answer some of my questions I was grasping at straws in returning to test Fedora 4 again.
This is the other two distro's have solved the LAMP problems now, but the wireless on x86_64 does not work to the best of my knowledge on these distro's and thought you were ecperienced enough to answer my problems.
I think I already have asked these questions on Fedora as well, but maybe I will ask again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.