• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Install PHP5 (With a poor attempt already)

G

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)
https://www.elementsystems.net:8443/
*WTF is this?

(Figuare B)
http://www.elementsystems.net/phpinfo.php
<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
 
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:\Progra~1\SWsoft\Plesk\Additi~1\Php\php-cgi.exe
to
"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.

Cheers,
-Sean
 
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!
 
Back
Top