ID: 48919
User updated by: insekticid at gmail dot com
Reported By: insekticid at gmail dot com
Status: Open
Bug Type: Directory function related
Operating System: win32 only - Windows 7 / Vista
-PHP Version: 5.3CVS-2009-07-14 (snap)
+PHP Version: 5.3.0 stable + newest
New Comment:
D:\dev\web_branch\library>mklink /D Zend "..\..\zend_svn\library\Zend"
symbolic link created for Zend <<===>> ..\..\zend_svn\library\Zend
file D:\dev\web_branch\public\index.php
using Zend Framework from D:\dev\web_branch\library\Zend (symlinked
dir)
<?php
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) .
'/../application'));
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
get_include_path(),
)));
/** Zend_Application */
require_once 'Zend/Application.php';
?>
apache error log
[Tue Aug 04 16:05:35 2009] [error] [client 127.0.0.1] PHP Warning:
require_once(Zend/Loader/Autoloader.php) [<a
href='function.require-once'>function.require-once</a>]: failed to open
stream: No such file or directory in
D:\\dev\\zend_svn\\library\\Zend\\Application.php on line 73
But there is incorrect path!
"D:\\dev\\zend_svn\\library\\Zend\\Application.php"
there have to be "D:\dev\web_branch\library\Zend"!!!
Previous Comments:
------------------------------------------------------------------------
[2009-07-23 14:40:34] zagser168 at yandex dot ru
I have similar problem for junctions but only if the path to link
contains non English characters. include_path contains both link path
and linked path. (PHP 5.3.0 release)
------------------------------------------------------------------------
[2009-07-16 08:00:11] v dot venkov at gmail dot com
I have same problem, I can't find solution
------------------------------------------------------------------------
[2009-07-14 16:03:20] insekticid at gmail dot com
Description:
------------
DocumentRoot "D:\dev\web_trunk" in Apache
in develop I am changin directories via symlink
mklink /d web_trunk web_tag_beta
or
mklink /d web_trunk web_trunk_actual
Working on PHP 5.2.10 but fails with PHP 5.3+
from apache error log with symlinked dir and PHP 5.3.1-dev
[Tue Jul 14 17:28:03 2009] [error] [client 127.0.0.1] PHP Fatal error:
Unknown: Failed opening required 'D:/dev/web_trunk/index.php'
(include_path='.;D:\\dev\\web_trunk') in Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48919&edit=1