Bluehost.com Web Hosting $6.95

Mimicking a Virtual Host Setup

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-26-2003
Gerard Samuel
 
Posts: n/a
Default Mimicking a Virtual Host Setup

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0