Thought I would start a second thread as this is a bit different issue and to alert others.
I am finding that FastCGI does not work properly at the Root with the Default setup on Plesk here at HN.
I am finding the issues as reported here:
PHP/FastCGI unable to write to domain directory. - Parallels Forums
"We're running into a permissions issue, however - PHP has the ability to overwrite existing files, but not create new files." This is the same issues that I am finding. Breaking a number of pages that need to be able to create a file on the Session root. It will create files in sub directories fine but at the root will not. In my setup, this is needed in the Modx CMS.
There are also a number of side issues, but the above is the main one.
In my case
1. The installation will run in a Subdirectory fine in CGI or FastCGI
2. The installation will run at the Root in CGI but not FastCGI
Why do I want to use FastCGI? I could run in CGI which runs the site without breaking but with a significant performance drop.
Here are a number of pages tested at
Free web site speed test - website speed analysis. You can do similar tests for yourself on your own pages. My Site is on PION using PHP 5.2.6 and MySQL. Using pages that do not break.
Setup to run as CGI this is my result:
Domain name Size Load Time
1
www.mydomain.com/index.php?id=24 11.72 KB 5.51 seconds
2
www.mydomain.com/index.php?id=22 11.38 KB 5.34 seconds
3
www.mydomain.com/index.php?id=49 10.14 KB 0.53 seconds
4
www.mydomain.com/index.php?id=15 10.45 KB 5.47 seconds
5
www.mydomain.com/index.php?id=16 10.69 KB 5.42 seconds
6
www.mydomain.com/index.php?id=14 10.71 KB 5.53 seconds
7
www.mydomain.com/index.php?id=48 10.46 KB 5.48 seconds
8
www.mydomain.com/index.php?id=33 11.3 KB 5.58 seconds
9
www.mydomain.com/index.php?id=32 10.28 KB 5.45 seconds
10
www.mydomain.com/index.php?id=6 11.16 KB 5.46 seconds
49.77 seconds total
Same pages changing to FastCGI
Domain name Size Load Time
1
www.mydomain.com/index.php?id=24 11.72 KB 0.58 seconds
2
www.mydomain.com/index.php?id=22 11.38 KB 0.41 seconds
3
www.mydomain.com/index.php?id=49 10.14 KB 0.44 seconds
4
www.mydomain.com/index.php?id=15 10.46 KB 0.6 seconds
5
www.mydomain.com/index.php?id=16 10.7 KB 0.37 seconds
6
www.mydomain.com/index.php?id=14 10.72 KB 0.37 seconds
7
www.mydomain.com/index.php?id=48 10.46 KB 0.38 seconds
8
www.mydomain.com/index.php?id=33 11.31 KB 0.38 seconds
9
www.mydomain.com/index.php?id=32 10.28 KB 0.37 seconds
10
www.mydomain.com/index.php?id=6 11.16 KB 0.38 seconds
4.28 Seconds total
As you can see, less than 1/10 the time with FastCGI. FastCGI working helps HN as the load on the data servers goes way down and the websites as they say 5 to 8 second page loads you start to lose people on the site.