note 48025 added to function.phpinfo

From: Date: Thu, 09 Dec 2004 12:20:34 +0000
Subject: note 48025 added to function.phpinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-81583@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.phpinfo.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48025 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48025&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48025&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81583) next »