I cannot get PHP files stored in aliased folders to work correctly.  I am
getting an error:
Warning: Failed opening 'e:/wwwroot/units/test.php' for inclusion
(include_path='') in Unknown on line 0

The root folder of the web tree is e:\wwwroot and I have a folder whose real
path is e:\units but which is mapped (in the server config file) to /units.
HTTP requests to http://localhost/units then work fine, but clearly PHP
scripts do not.  The PHP interpreter is obviously expecting to find the
aliased folder within the root folder of the web tree.

The script is OK - if I move test.php to anywhere within the main directory
tree it works fine.

I have searched the help files but can only find information relating to
Apache (and some relating to IIS).  I am using SAMBAR server, ver 5.0,
together with the ISAPI version of PHP.

Is this a web server issue, or a PHP issue?  That is, is there some use of
the include_file or server_root directives (or other directive) that can
tell PHP to recognise aliased directories?

Many thanks in advance for any help!

---------------------------------
Jeff Waldock
Division of Mathematics
School of Science and Mathematics
Sheffield Hallam University
Howard Street
SHEFFIELD, S1 1WB, UK


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to