in

Dotnetpanel Forums

Community support forums for DotNetPanel products

User Web Site Extension "PHP" setting not being saved.

Last post 10-16-2008 6:38 AM by Ingvald. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-13-2008 8:15 AM

    User Web Site Extension "PHP" setting not being saved.

    Problem:

    User Web Site Extension "PHP" setting not being saved. When user tries to select PHP settings to 5.x, and clicks updates. The setting returns to 'None' after going back into the web site.

    Environment:

    1. DNP 2.6.0.

    2. Windows Server 2003 Standard R2 SP2 x86 single server.DNP Portal, DNP Enterprise Server and DNP Server 2.6 all installed here.

    3. SmarterMail 5.x, MS DNS, PHP 5.2, ActivePerl 5.10.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, MS SQL 2005 Express, IIS 6.0

    4. No errors in Audit Log found

    5. No errors found in Event Viewer.

    Please note, reports without mandatory information will be ignored by DNP staff.

    Optional information:

    6. This issue is constant.Create a website using the joomla or wordpress (php applications). Those sites will still run. I checked in IIS Settings - Applications Configuration - Application Extensions, it has .php mapped to a correct path to php-cgi.exe on Verbs: GET,HEAD,POST.

    7. Screenshots Attached.

    8. Changes done before error appear. Reinstalled PHP as IIS CGI PHP. Was PHP-ISAPI previously. Changed because it did not work with applications before hand.

     

    Thanks.

    Filed under: ,
  • 10-15-2008 4:17 PM In reply to

    Re: User Web Site Extension "PHP" setting not being saved.

    When you enable PHP for a website via DNP and click on save and then look in IIS Manager, is the mapping to .php made for that website? (Sorry, but this is not clear from your explanation).

    Are you using regular CGI or FastCGI?

    You said you reinstalled PHP. Did you use the installer or the zip file?

    Which NTFS permissions do you have on the PHP installation folder? 

    Did you update the path to the PHP executable in IIS Service settings in DNP after changing from ISAPI to CGI?

  • 10-16-2008 5:25 AM In reply to

    Re: User Web Site Extension "PHP" setting not being saved.

    Hi Ingvald,

    Firstly, Thank you for your response to my mystery :)

    My responses are below - 

    When you enable PHP for a website via DNP and click on save and then look in IIS Manager, is the mapping to .php made for that website? (Sorry, but this is not clear from your explanation).

    > No the mapping isn't made when DNP creates a web site, even if I enable PHP 5.x by default in the policy. But it has been mapped automatically after the install to all of my web applications. ANy new ones DNP creates, does not have the mapping.

    Are you using regular CGI or FastCGI?

    > When I install Php, it gives me options, and I selected "IIS CGI"

    You said you reinstalled PHP. Did you use the installer or the zip file?

    > I installed PHP using the installer.

    Which NTFS permissions do you have on the PHP installation folder? 

    > What permissions should I have set on the folder? I've enabled read and execute access on the folder for DNPWebUsers

    Did you update the path to the PHP executable in IIS Service settings in DNP after changing from ISAPI to CGI?

    > Yes, it is already change to "%SYSTEMDRIVE%\Program Files\Php\php-cgi.exe"

     

    Filed under:
  • 10-16-2008 6:38 AM In reply to

    Re: User Web Site Extension "PHP" setting not being saved.

    dougleung:

    Which NTFS permissions do you have on the PHP installation folder? 

    > What permissions should I have set on the folder? I've enabled read and execute access on the folder for DNPWebUsers

    Don't know if the installer handles setting the correct NTFS permissions. The account (probably NETWORK SERVICE) under which your application pool runs should also have read/execute rights on the PHP installation folder. PHP will also need access to your Windows temp folder.

Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems