|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-07-14 16:03 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
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"!!!