| Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-21-2005, 05:45 PM
|
#1
|
|
Member
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70
Rep:
|
PHP5 to PHP4 on FC4?
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?
|
|
|
|
10-21-2005, 08:44 PM
|
#2
|
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
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).
|
|
|
|
10-22-2005, 03:24 PM
|
#3
|
|
Member
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381
Rep:
|
Quote:
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.
Anyone help on this?
|
|
|
|
10-23-2005, 06:55 PM
|
#4
|
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
Quote:
|
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).
|
|
|
|
10-23-2005, 08:56 PM
|
#5
|
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
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.
Last edited by mjmwired; 10-23-2005 at 09:11 PM.
|
|
|
|
10-24-2005, 05:09 AM
|
#6
|
|
Member
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381
Rep:
|
Quote:
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.

|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:21 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|