• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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