E
eara01
Guest
I had a problem. Development for our application was done in PHP on an Apache server.
We are checking out Plesk for Windows (IIS instead of Apache). PHP pages on the Apache server took less than a second to load and on IIS took anywhere from 2-10 seconds....very annoying.
After two weeks of searching, I finally found the answer on the PHP site here: http://ca.php.net/function.include
"To avoid painfully SLOW INCLUDES under IIS be sure to set "output_buffering = on" in php.ini. File includes dropped from about 2 seconds to 0 seconds when this was set."
The PHP.INI file to change is in the server's WINDOWS directory, or in each site if you've made a copy there to customize each site.
Our scripts use a lot of includes, and the difference is very dramatic (I consider load times dropping from 8 seconds to less than a half-second to be dramatic)
It might me, but it seems the control panel is a tad faster now too.
I don't know if Plesk will over-write the PHP.ini file during an upgrade of Plesk...does anyone know? If so, what folder contains the 'master' PHP.ini file?
Hope this helps someone else out there.
We are checking out Plesk for Windows (IIS instead of Apache). PHP pages on the Apache server took less than a second to load and on IIS took anywhere from 2-10 seconds....very annoying.
After two weeks of searching, I finally found the answer on the PHP site here: http://ca.php.net/function.include
"To avoid painfully SLOW INCLUDES under IIS be sure to set "output_buffering = on" in php.ini. File includes dropped from about 2 seconds to 0 seconds when this was set."
The PHP.INI file to change is in the server's WINDOWS directory, or in each site if you've made a copy there to customize each site.
Our scripts use a lot of includes, and the difference is very dramatic (I consider load times dropping from 8 seconds to less than a half-second to be dramatic)
It might me, but it seems the control panel is a tad faster now too.
I don't know if Plesk will over-write the PHP.ini file during an upgrade of Plesk...does anyone know? If so, what folder contains the 'master' PHP.ini file?
Hope this helps someone else out there.