Talk:PS Optimization

From DreamHost

Jump to: navigation, search

php_mod

The article states;

Enabling FastCGI for all PHP switches your site over to using mod_fcgid (see Fcgid php).

The PS configuration page states;

Disable mod_php:
Removes mod_php from the Apache web server. This will save a significant amount of memory if your site serves a lot of static :content. PHP-intensive sites may benefit more from setting all domains to use mod_php in Manage Domains and enabling a PHP cache.

My sites are very PHP intensive, but I thought that using FCGI replaced the need for mod_php.

Could I disable this mod_php and rely on mod_FCGI without negatively impacting my PHP sites?

Regards,

Eddiewebb 14:26, 23 October 2009 (UTC)

Parameters for AB

Hi there,

Because the URL in the example code for 'ab' has been converted by the wiki into a link, it means that the code example doesn't work!

The syntax needs the trailing / in the URL

 ab -n 1000 -c 20 http://www.example.com/

which I think is there in the original code, but isn't showing on the page because the URL has been converted to a link. Is it possible to suppress the conversion for this particular section?

Took me ages to work out why my ab wasn't working!

Thanks Kieran Cambridge, UK January 2012

Personal tools