note 48025 deleted from function.phpinfo by didou

From: Date: Fri, 04 Feb 2005 10:33:33 +0000
Subject: note 48025 deleted from function.phpinfo by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84507@lists.php.net to get a copy of this message
Note Submitter: salimrjy at intnet dot mu ---- hi The PHP installation manual instructs to specify doc_root in php.ini. You should also add NOT to specify doc_root if the web server is hosting multiple web sites. Otherwise, you will get weird results like a phpinfo page displaying and other php pages not displaying ( HTTP 404 - File not found - The page cannot be found). For example, if you add: doc_root="c:\inetpub\wwwroot" in php.ini and under c:\inetpub\wwwroot (which can be accessed by http://127.0.0.1/) you have 2 web sites http://MYIBM/ and http//MYSUN/ , you will be able to access their contents if you type http://127.0.0.1/MYIBM/ (instead of http://MYIBM/ ) and http://127.0.0.1/MYSUN/ (instead of http://MYSUN/ ) respectively. Regards S.Ramjany

« previous php.notes (#84507) next »