1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Install PHP5 (With a poor attempt already)

Discussion in 'Plesk for Windows - 8.x and Older' started by GhostGT, Sep 14, 2006.

  1. GhostGT

    GhostGT Guest

    I'm having a lot of PHP issues since I did what I thought was an upgrade. I upgraded Plesk and the php pages for it would not work(Figure A) so I figured it was using PHP5, am I correct? (Question A) But after installing PHP5 I then noticed no PHP pages would work, not webmail, not my test page (Figuare B) nothing, how can I install PHP5 from a Broken Install or how can I possible fix it? (Question B)

    (Figure A)
    *WTF is this?

    (Figuare B)
    <php? phpinfo(); ?>

    Hope I presented this well enough for you all. This was the resource I used to install PHP5. http://kb.swsoft.com/article_149_1048_en.html
  2. shortcut

    shortcut Guest

    http://kb.swsoft.com/article_149_1048_en.html has a problem,

    you need to run IIS manager, and for each site, right click properties,
    Click Home Directory,
    Click Configuration,
    Find the PHP entry, and EDIT it

    and change it from
    "C:\Program Files\SWsoft\Plesk\Additional\Php\php-cgi.exe"

    Somethingt to do with spaces, and quoting, means it cant find the short path.

    After doing this, PHP5 works a treat.

    You need to set WEBMAIL to be the php4.exe at

    "C:\Program Files\SWsoft\Plesk\Additional\Php4\php.exe"

    however, as Horde doesnt like PHP5

    you can do this manually for any other php sites that need php4 isntead of five too.

  3. ikovan55

    ikovan55 Guest

    In Plesk 7.6.1

    simply create ".php" extension mapping from IIS : right click "Web Sites" : "Home Directory" tab >Configuration>Mappings

    click "Cache ISAPI Extensions" then click "Add"

    Executable: "C:\Program Files\SWsoft\Plesk\Additional\Php\php.exe"

    Extension: .php

    Verbs: All Verbs

    so, even your PLESK will be faster and your php scripts work correctly! I tried it!