1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

HOWTO: Upgrade to PHP 4.3.9 without breaking Plesk!

Discussion in 'Plesk for Windows - 8.x and Older' started by AbsolutelyFreeW, Nov 18, 2004.

  1. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    This is the 3rd contribution in the HOWTO series... Please contribute with your HOWTOs too!

    1. Download the package and unzip it
    2. Move your current Php folder elsewhere and put the new folder there instead with the same name.

    CAUTION: Do NOT follow the install instructions in PHP and move the php.ini from systemroot. Do not replace php.ini there is no new things in there, at least not from 4.3.6

    WARNING: if Plesk should break, This is what Plesk does to detect the PHP installation. Look into the systemroot folder for php.ini, look for the extensions folder in php.ini, look for php.exe in the extensions folder, do a version check on it. Check that your php.ini is in systemroot, check that it has the extension folder specified. If it does not have a php.exe in there (very likely) copy one from the main php folder to it.

    LAST but not LEAST: It will not work until you restart plesk properly. Restart it from services. Restart Plesk management service, (which restarts two other plesk services as well) and restart the control panel service.

    1. Run a script with phpinfo() and check that 4.3.9 is installed
    2. Look into plesk control panel --> component info and see that you see php 4.3.9 installed
  2. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    a few other things I forgot to mention:

    1. Of course, do not forget to put the right permissions on your php folder for plesk to run it

    2. If you have installed plesk on "program files" or any path with spaces in them, change the paths given in your php.ini for extensions to the non-space equivalent. e.g. C:\PROGRA~1\SWsoft\

    3. If restarting just the management service doesn't work, restart all services, using plesk service control panel
  3. I-Web

    I-Web Guest

    I've just updated to PHP 4.3.10 following this thread and now PHP won't work!

    All the paths are right, what could be wrong?

    What permissions does the PHP folder need and which usr account?
  4. I-Web

    I-Web Guest

    I reinstalled to C:\PHP and all is fine... will all the Plesk users be able to use it ok?
  5. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    we haven't upgraded to 4.3.10 yet. Your problem might be that 4.3.10 also need the new zend optimizer. Other than that, your php will most probably not be recognized by plesk if you didn't follow everything said. but they may be able to use it regardless. check the component info in the server page of the control panel.
  6. I-Web

    I-Web Guest

    I upgraded the Zender Opt first...then installed PHP ...

    PHP wasn't listed, although is installed on the server.
  7. I-Web

    I-Web Guest

    Something odd is now happening!

    PHP 4.3.10 is installed with the new Zend Optimizer but it only works on some sites!

    When I view a domain's setup it shows PHP as:

    PHP support [tick] (Component was not installed)

    Any ideas, considering the problems I had above?
  8. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    this is a common problem, and why I made this tut ;)
  9. I-Web

    I-Web Guest

    So where did I go wrong?
  10. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    hard for me to tell from here. You just need to do it right, and if it doesnt work just keep doing it by trial and error. If you want I can try to fix it for you for an agreed amount.
  11. I-Web

    I-Web Guest

    I followed the instructions again and all is now fine, no reinstall was needed just checking of the paths...

    Thanks for the offer anyway. ;)
  12. shwonder

    shwonder Guest

    Thank you, AbsolutelyFreeW.

    We are working on our updates generator. Unfortunatelly, it is not completely ready so we should do some routine work to create update and it takes some time.
    We created hotfix to update PHP up to 4.3.10. Download it using the following URL:
    It can be applied on 7.0.3 and 6.5.2

    But it doesn't fix problem with php.ini in %systemroot% folder (usually c:\windows)
    If path to extensions was broken, it will be broken after PHP upgrade by hotfix.
    We'll try to do it for next PHP upgrade.
    So if php.ini was changed manually, please follow instructions by AbsolutelyFreeW in the first posting.

    Thank you.
  13. I-Web

    I-Web Guest

    Bit confused what the Hotfix is for?

    What does it fix?
  14. knalb

    knalb Guest

    sounds like a hotfix to upgrade to 4.3.10 for php to me
  15. rubensans

    rubensans Guest

    Done the hotfix upgrade and works good for me.

    Best Regards.