• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

PHP as CGI not working

curts

New Pleskian
I have Plesk 8.2 for Windows (new install)
On a test site, I have PHP 4.4.7 support selected.
When I have "run as ISAPI extension" checked, the php files work properly.
When I uncheck run as ISAPI extension, refreshing/navigating to a php file brings up a dialog box "Connecting to <domainname>.com" asking for username and password.
I have a Plesk 8.1 for Windows server that php files work fine on as CGI/FastCGI.

I haven't been able to find the configuration difference yet.
It does the same thing when I select PHP Version 5.2.3 (run as ISAPI extension is required to allow php pages to be shown)

What am I missing?
Where should I look?
 
I found this:
http://kb.swsoft.com/en/2087
which is having to do with Plesk being installed in location where spaces are in name (c:\Program Files\SwSoft\plesk).
My server is x64 and plesk is located in
C:\Program Files (x86)\SWsoft\Plesk\
I tried suggested workaround, but PHP still does not work without "run as ISAPI Extension".
 
http://kb.swsoft.com/en/2087 had the workaround to add the following to disksecurity.xml.

<Entry AccounType="1" Account="Psacln" Path="C:\Program Files" AceFlags="ThisFolderAndSubfolders" AccessMask="FullAccess" EntryFlags="0x1"/>

<Entry AccounType="1" Account="Psacln" Path="C:\Program Files\Common" AceFlags="ThisFolderAndSubfolders" AccessMask="0x0080" EntryFlags="0x2"/>

I had previously tried this, but with a path of "C:\Program Files (86)" and it did not work.
When I added these two entries exactly as above, ran the Plesk Reconfigurator --> Check disk permissions, php files started working as expected.
 
Back
Top