• Hi,

    My host has just announced that they will shortly be discontinuing support for PHP4, and only PHP5 software will function.

    I know very little about PHP, so please forgive what must seem like a very stupid question, but is there any way whether I can find out whether my site will be OK?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • As far as I know… you shouldn’t experience any problems.

    wordpress will be prefectly fine. where you may have problems is in carelessly coded plugins – though that’s not likely to be an issue either.

    the rules do change a little between php4 and 5, but not so much that many people notice the difference at all. Generally speaking, there are enough people using either platform now, that any plugin authors tend to get feedback from their users and fix this stuff long before it becomes a problem for you.

    I’ve upgraded very recently, and I had precisely one issue. A very minor one. I’ll lay it out here just so that you know how trivial it was.

    My issue was with my theme, which was my own doing. I had set my date format to (jS of F, Y) to read ‘7th of May, 2008’ — this works fine in php4, but in php5, the ‘o’ actually has a purpose, so my dates ended up being ‘7th 2008f May, 2008’ — that was easily fixed by escaping the extra crap in my date format like so: (jS \o\f F, Y) which if I were worth my weight in dog crap, I would have done from the very beginning.

    That’s it.. the sum total.

    All in all, it’s a good thing that your host is upgrading to php5, as php 4 is apparently no longer being supported by the php folks.

    All my sites run PHP5 and MySQL 5. PHP5 is faster than PHP4 I believe and comes with tons of new awesome functions.

    Short answer though: you have nothing to worry about, at least related to the WordPress core. Plugins (may) be another issue, but it’s unlikely.

    For a script to work on PHP4 but break on PHP5, it has to be pretty poorly coded, minus little things like Ivovic’s issue.

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Way to shamelessly promote your blog.

    Don’t worry! PHP5 is much better than PHP4. And newer versions of WP likes PHP5. So you should think of it as an improvement, not something to be scared of.
    About PHP4, Here are some valuable information for php4
    these resources will help you learn all you need to know about php4
    https://www.dogbreedss.org/dog-diseases.htm hope this will help

    how to convert .htaccess to php.ini

    n my yahoo wordpress I can’t upload .htaccess, so what is an alternative for this?
    Is php.ini could replace .htaccess?
    how to convert .htaccess to php.ini the code below?

    *********
    Mod Rewrite rules cannot be updated!

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    @vdot35 – .htaccess cannot be replaced by php.ini. You could use httpd.conf for the rewrite rules if you can access it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 4’ is closed to new replies.