Home Forum Advertise Contact Me About WPTavern WPWeekly Show Info

Go Back   WordPress Tavern Forum » WordPress » General WordPress

General WordPress Talk about news, share great posts and more

Reply
 
Share LinkBack Thread Tools Display Modes
  post #1 (permalink)  
Old 09-29-2009, 12:53 PM
dstrojny's Avatar
Hello World
 
About
Join Date: May 2009
Location: Boise, ID
Posts: 18
Default When will WordPress drop PHP 4?

I have a question for anyone actively involved in developing the WordPress core. What is the plan is for discontinuing PHP 4 support?

With all the talk about WordPress security lately I can't help but think of this issue. PHP 4 has been officially unsupported (no security updates) for almost a year now. I feel it is irresponsible of shared webhosts to actually run PHP 4 on their servers. The number of WordPress users actually using PHP 4 has to have dropped significantly considering PHP 5 is nearly 5 years old.

I think it is time for WordPress to step up, be responsible, and draw the proverbial "line in the sand" on this issue. Many other high-profile GPL projects have already done this. I know this has been discussed in the developer IRC meetings but I want to know if any decisions have been made. Does anyone have specifics on what the plan is for discontinuing support for PHP 4?
Reply With Quote
  post #2 (permalink)  
Old 09-29-2009, 01:02 PM
andrea_r's Avatar
WPTavern Forum Moderator
 
About
Join Date: Jan 2009
Location: Eastern Canada
Posts: 907
Default

Don't have the link, but Matt had said when usage drops below 10%. That is, when less than 10% of the sites that call home report that they are on php4, then they'll stop support.

I think it was less than 20% when he said that.
Reply With Quote
  post #3 (permalink)  
Old 09-29-2009, 01:10 PM
dstrojny's Avatar
Hello World
 
About
Join Date: May 2009
Location: Boise, ID
Posts: 18
Default

Thanks for the update Andrea, it has to be getting really close to 10% by now.
Reply With Quote
  post #4 (permalink)  
Old 09-29-2009, 01:32 PM
JohnM's Avatar
Big Tipper
 
About
Join Date: Feb 2009
Location: Norway
Posts: 314
Default

Well, its not.

PHP4 support is discussed "all the time" and I believe 2.9 comes with a nag to upgrade, and 3.0 drops PHP4 if enough users/hosts are convinced to move to PHP4 by then.

https://irclogs.wordpress.org/chanlo...ort=desc#m3774

http://core.trac.wordpress.org/ticket/9751

http://codex.wordpress.org/Switching_to_PHP5

Plugin and theme developers may help by not supporting PHP4, but requiring PHP 5.

John Myrstad

Last edited by JohnM; 09-29-2009 at 01:40 PM..
Reply With Quote
  post #5 (permalink)  
Old 09-29-2009, 02:04 PM
andrea_r's Avatar
WPTavern Forum Moderator
 
About
Join Date: Jan 2009
Location: Eastern Canada
Posts: 907
Default

Kind of like refusing the support IE 6 in themes. :) At some point, gotta say enough.
Reply With Quote
  post #6 (permalink)  
Old 09-29-2009, 04:35 PM
dstrojny's Avatar
Hello World
 
About
Join Date: May 2009
Location: Boise, ID
Posts: 18
Default

Thanks for links John.

I think the last post in the trac link hits it on the head. What happens when PHP 4 has an unpatched security hole and all of those PHP 4 WordPress users are vulnerable? I think at some point it isn't responsible to include support for unsupported software.
Reply With Quote
  post #7 (permalink)  
Old 09-29-2009, 06:23 PM
JohnM's Avatar
Big Tipper
 
About
Join Date: Feb 2009
Location: Norway
Posts: 314
Default

http://wordpress.org/about/requirements/ reads:

Quote:
To run WordPress your host just needs a couple of things:

  • PHP version 4.3 or greater
  • MySQL version 4.0 or greater
That's really it. We recommend Apache or Litespeed as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do. That said, we can’t test every possible environment and each of the hosts on our hosting page supports the above and more with no problems.
Ask for it

Here's a letter you can send to your host; copy and paste!
I'm interested in running the open-source WordPress <http://wordpress.org/> blogging software and I was wondering if my account supported the following:
  • PHP 4.3 or greater
  • MySQL 4.0 or greater
  • The mod_rewrite Apache module
Thanks!
Its kinda strange with a blessed task to make 2.9 nag php4 users when the official requirements doesnt mention php5 at all, but has a pre-written copy to ask hosts for php 4.3.

This info should be updated saying that 4.3 is the current minimum requirement but php 5 is recommended. 2.9 is scheduled for oct/nov isnt it ?

Whats the appropriate way to give feedback about WP.org ? Neither the wp.org component in trac or wp-docs list seems to be the
appropriate place.

John Myrstad
Reply With Quote
  post #8 (permalink)  
Old 09-30-2009, 04:08 PM
andreasnrb's Avatar
Big Tipper
 
About
Join Date: Jun 2009
Posts: 322
Default

I think they should drop it as soon as possible =). People on servers using old PHP is probably the same ones that doesn't upgrade wordpress and then complain when hacked.
Reply With Quote
  post #9 (permalink)  
Old 09-30-2009, 09:27 PM
conorp's Avatar
Patron
 
About
Join Date: Jan 2009
Location: Australia
Posts: 462
Send a message via AIM to conorp Send a message via MSN to conorp Send a message via Skype™ to conorp
Default

Quote:
I think they should drop it as soon as possible =). People on servers using old PHP is probably the same ones that doesn't upgrade wordpress and then complain when hacked.
I disagree with this because most users are on shared hosting

The lord of every land, rising for them,
The Aton of the day, great of majesty.

Great Hymn of the Aton
Reply With Quote
Old 10-01-2009, 02:55 AM
Ryan's Avatar
WPTavern Forum Moderator
 
About
Join Date: Jan 2009
Location: New Zealand
Posts: 1,776
Default

Quote:
Originally Posted by conorp View Post
I disagree with this because most users are on shared hosting
They should upgrade to a better webhost, or get their webhost to upgrade the server.

Do any of the major web hosting companies support PHP4 by default anymore?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:53 PM.