Results 1 to 23 of 23
Thread: Why do so many hosts run PHP4?
-
01-26-2008, 02:54 AM #1Junior Guru Wannabe
- Join Date
- Jan 2006
- Location
- New York
- Posts
- 34
Why do so many hosts run PHP4?
So I was just playing around with a nice little php/mysql based invoice system I found. It worked great on my local test machine, decided I liked it, and uploaded it to my web host.
All seemed well untill I tried to run it and got a mysterious 404 error. You can't be telling me that the files I just uploaded don't exist. After consulting the readme, I learned that it only runs on PHP5. My host uses PHP4.
I checked several other hosts, it seems that a lot run PHP4. Is there any reason for this? PHP5 has been around for a while now hasn't it?To deny our own impulses is to deny the very thing that makes us human. ~Mouse, The Matrix
-
01-26-2008, 03:55 AM #2-=*/E=-
- Join Date
- Sep 2005
- Location
- In canada
- Posts
- 3,374
You sure permissions are not screwed up for files?
And ask ur host if they also run php5 side by side most hosts do that !!12+ years -same website , new server [SSD Inside] providing shared/reseller hosting only !
These things we do not provide/offer : Unlimited Storage ! Unlimited Bandwidth ! But Why? Cause, we were unable to put such a large number on our pages, it just would not fit.
So check out the numbers that actually fit >> << the page as well as your budget too !
-
01-26-2008, 04:02 AM #3Junior Guru Wannabe
- Join Date
- Jul 2007
- Posts
- 82
PHP4 will be reaching end of life soon, if hosts do not at least offer PHP5 as an option they may have problems in the future.
Newbies Rock. Oh wait, now I'm a Guru Wannabe!
Go Wannabes!
Disclaimer: My thoughts and opinions do not reflect any company I work for as they are mine and only mine.
-
01-26-2008, 05:20 AM #4Web Hosting Master
- Join Date
- May 2006
- Location
- EU & USA
- Posts
- 3,684
PHP4 IS EOL as from 1-1-2008 and most hosts run PHP5 next to PHP4 due to compatibility of scripts of their users. Ask your hosting provider if they give you the possibility to switch to PHP5, they most likely will be more than happy to help you.
-
01-26-2008, 06:23 AM #5Newbie
- Join Date
- Feb 2007
- Posts
- 18
there are still many scripts running only on PHP4. They're not ready to upgrade to PHP5 yet. Not sure why
SevenX Media - do you need a quality web design service?
-
01-26-2008, 06:28 AM #6Retired Moderator
- Join Date
- Mar 2004
- Location
- Singapore
- Posts
- 6,990
The reason why web hosting companies cant upgrade although they would want to stay abreast of the latest development is because a lot of scripts still run on PHP 4 only, upgrading and causing scripts to malfunction and would be the last thing they wanted to do.
-
01-26-2008, 06:41 AM #7Junior Guru Wannabe
- Join Date
- Jul 2007
- Posts
- 82
It is possible to run both php4 and php5 on a server, so really the hosts have no excuse if they are not running php5 yet
Newbies Rock. Oh wait, now I'm a Guru Wannabe!
Go Wannabes!
Disclaimer: My thoughts and opinions do not reflect any company I work for as they are mine and only mine.
-
01-26-2008, 09:15 AM #8Web Hosting Guru
- Join Date
- Jan 2005
- Posts
- 326
-
01-26-2008, 09:29 AM #9Web Hosting Guru
- Join Date
- Mar 2007
- Posts
- 283
-
01-26-2008, 10:21 AM #10Web Hosting Master
- Join Date
- Aug 2004
- Location
- Canada
- Posts
- 3,785
I would find this especially strange for cPanel hosts considering it is now possible to install PHP4 and PHP5 side by side without any custom work being done. It is all handled through cPanel apache build script and even gives you the option of what version you'd like for the default. Even after that so users can have it easy they can select their PHP versions right from within cPanel so no need to be messing with .htaccess files if their site is entirely one version.
█ Tony B. - Chief Executive Officer
█ Hawk Host Inc. Proudly serving websites since 2004
█ Quality Shared and Cloud Hosting
█ PHP 5.2.x - PHP 8.1.X Support!
-
01-26-2008, 02:05 PM #11Junior Guru Wannabe
- Join Date
- Dec 2007
- Posts
- 58
Am I wrong or PHP4 development is no longer sustained?
-
01-26-2008, 02:29 PM #12WHT Addict
- Join Date
- Apr 2007
- Location
- Bath, UK
- Posts
- 132
-
01-26-2008, 03:02 PM #13Big fan of RajiniKanth!!!
- Join Date
- Sep 2004
- Location
- Chennai , India
- Posts
- 4,632
-
01-26-2008, 05:06 PM #14Disabled
- Join Date
- Nov 2003
- Posts
- 306
normally hosts would include both php4 and php5 and lets the customer change it in its control panel. Many hosts do that and lets you choose which version of php you want to run.
-
01-26-2008, 06:10 PM #15Junior Guru Wannabe
- Join Date
- Nov 2003
- Posts
- 74
yeah from waht ive seen a host will run both.
to force scripts to run php 5 you can usually rename the extension to .php5 rather than leaving at as .php until the defaults are changedBX
-
01-26-2008, 06:11 PM #16Web Hosting Guru
- Join Date
- Jan 2005
- Posts
- 326
Actually you can force scripts to run with PHP5 in your .htaccess file!!
Charles
-
01-26-2008, 07:01 PM #17Web Hosting Master
- Join Date
- Apr 2006
- Posts
- 562
-
01-28-2008, 05:47 PM #18Web Hosting Guru
- Join Date
- Aug 2005
- Posts
- 309
-
01-28-2008, 06:48 PM #19THE Web Hosting Master
- Join Date
- Jan 2003
- Location
- Chicago, IL
- Posts
- 6,957
Karl Zimmerman - Founder & CEO of Steadfast
VMware Virtual Data Center Platform
karl @ steadfast.net - Sales/Support: 312-602-2689
Cloud Hosting, Managed Dedicated Servers, Chicago Colocation, and New Jersey Colocation
-
01-28-2008, 07:59 PM #20Disabled
- Join Date
- Jan 2005
- Location
- UK
- Posts
- 132
We have been using just PHP5 on all our boxes for a while now. We have had no problems and no reports of scripts not working.
I am sure there will be a few that don't run on PHP5 but we have yet to see them. Or at least clients have decided to use different scripts rather than reporting the problem to us.
-
01-28-2008, 09:54 PM #21Hosting Specialist
- Join Date
- Sep 2003
- Location
- Washington, USA
- Posts
- 3,262
Most hosts delayed the switchover since for a long time PHP5 was less stable and slower than PHP4. More recently that has begun to change, so you'll see more hosts start to offer PHP5 instead of PHP4.
█ ‹‹SHAW NETWORKS›› Simple. Professional. Reliable. Web Hosting Done Right.
█ Low Cost & Award-Winning: cPanel Reseller Plans ›› 24/7/365 Live Technical Support ‹‹
█ Website: www.shawnetworks.com Fast Response E-mail: sales @ shawnetworks.com
█ Sick of downtime? Fed up with excuses? Drop your host! Switch to Shaw Networks.
-
01-28-2008, 09:58 PM #22Invented the Internet
- Join Date
- Feb 2001
- Location
- West Michigan, USA
- Posts
- 9,687
We upgraded all of our shared servers to PHP5 exclusively (no more PHP4) a few weeks ago. Surprisingly, out of around 15,000 hosted - we had only 2 complaints and 1 cancellation. Obviously, we've been warning everyone for a couple of months now that the upgrade was going to happen.
There's no reason not to upgrade to PHP5, at this point.
--Tina||| 99.999% Uptime SLA!!!
Plenty of space and bandwidth to fit your needs!
www.AEIandYou.com - - (WP Friendly - Premium Reseller Hosting and Cheap Dedicated Servers)
-
01-31-2008, 05:23 PM #23Junior Guru Wannabe
- Join Date
- Aug 2007
- Posts
- 32