This is a discussion on Mimicking a Virtual Host Setup within the PHP General forums, part of the PHP Programming Forums category; Im looking to find out information on what hosting companies do to run php on their servers. So that I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Im looking to find out information on what hosting companies do to
run php on their servers. So that I can try to duplicate their environments, to see how my scripts behave under "real world" conditions. Currently, I use a default php.ini setup, and control domains via apache's config file. --snip-- <VirtualHost *> ServerName www.foo.org DocumentRoot /path/to/files/ <IfModule mod_php4.c> php_admin_value include_path ".:/usr/local/lib/php" php_admin_flag register_globals on php_admin_flag safe_mode on php_admin_flag magic_quotes_gpc on php_admin_flag output_buffering 0 # php_admin_flag display_errors off php_admin_value error_log '/tmp/php-error.log' </IfModule> </VirtualHost> --snip-- Plus I make all files/folders owned by a user other than the apache user, to mimick ftp uploaded files to a virtual account. So if one can point me to an online reference, or first hand accounts on seting up up a "real world" server would be appreciated. Thanks |