xtishka |
|
Темы:
24
Сообщения:
92
Участник с: 10 декабря 2012
|
Здравствуйте, я недавний пользватель Archlinux, перкочевал с Ubuntu. Очень нужна ваша помощь. установлено LAMP zendframework 1.11.11-1 из aur netbeans 7.4 из aur при попытке подключения netbeans выдает следующую ошибку: "/usr/share/zendframework/bin/zf.sh" "enable" "config.provider" "NetBeansCommandsProvider" PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/zendframework/bin/../library/Zend/Tool/Framework/Client/Console.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/zendframework/bin/zf.php on line 362 Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/zendframework/bin/../library/Zend/Tool/Framework/Client/Console.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/zendframework/bin/zf.php on line 362 ***************************** ZF ERROR ******************************** In order to run the zf command, you need to ensure that Zend Framework is inside your include_path. There are a variety of ways that you can ensure that this zf command line tool knows where the Zend Framework library is on your system, but not all of them can be described here. The easiest way to get the zf command running is to give it the include path via an environment variable ZEND_TOOL_INCLUDE_PATH or ZEND_TOOL_INCLUDE_PATH_PREPEND with the proper include path to use, then run the command "zf --setup". This command is designed to create a storage location for your user, as well as create the zf.ini file that the zf command will consult in order to run properly on your system. Example you would run: $ ZEND_TOOL_INCLUDE_PATH=/path/to/library zf --setup Your are encourged to read more in the link that follows. Zend_Tool & CLI Setup Information (available via the command line "zf --info") * Home directory found in environment variable HOME with value /home/xtadmin * Storage directory assumed in home directory at location /home/xtadmin/.zf/ * Config file assumed in home directory at location /home/xtadmin/.zf.ini To change the setup of this tool, run: "zf --setup" При запуске в терминале "zf --setup" тоже выдает ошибку... [xtadmin@LinXT ~]$ zf --setup PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/zendframework/bin/../library/Zend/Tool/Framework/Client/Console.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/zendframework/bin/zf.php on line 362 Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/zendframework/bin/../library/Zend/Tool/Framework/Client/Console.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /usr/share/zendframework/bin/zf.php on line 362 ***************************** ZF ERROR ******************************** In order to run the zf command, you need to ensure that Zend Framework is inside your include_path. There are a variety of ways that you can ensure that this zf command line tool knows where the Zend Framework library is on your system, but not all of them can be described here. The easiest way to get the zf command running is to give it the include path via an environment variable ZEND_TOOL_INCLUDE_PATH or ZEND_TOOL_INCLUDE_PATH_PREPEND with the proper include path to use, then run the command "zf --setup". This command is designed to create a storage location for your user, as well as create the zf.ini file that the zf command will consult in order to run properly on your system. Example you would run: $ ZEND_TOOL_INCLUDE_PATH=/path/to/library zf --setup Your are encourged to read more in the link that follows. Zend_Tool & CLI Setup Information (available via the command line "zf --info") * Home directory found in environment variable HOME with value /home/xtadmin * Storage directory assumed in home directory at location /home/xtadmin/.zf/ * Config file assumed in home directory at location /home/xtadmin/.zf.ini To change the setup of this tool, run: "zf --setup" Подскажите пожалуйста в чем дело, Zend ставлю впервые. Спасибо |
corner |
|
Темы:
6
Сообщения:
773
Участник с: 21 июля 2011
|
Так там уже написано, переведите просто. - А зачем вам netbeans из aur - ставьте из Community - Zend лучше стваить из Composer (сначала, конечно, composer установить) |
Jisatsu |
|
![]()
Темы:
17
Сообщения:
389
Участник с: 14 июня 2013
|
PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/zendframework/bin/.. Вас не пускает эта директива в эту папку. Как вариант, её можно вообще закомментировать.
Keep it simple, stupid!
|
NoVASpirit |
|
![]()
Темы:
6
Сообщения:
159
Участник с: 21 января 2011
|
corner Простите, но что такое Composer? Редактор тегов? |
corner |
|
Темы:
6
Сообщения:
773
Участник с: 21 июля 2011
|
Composer Что это такое Geting Started Zend Framework1 |
xtishka |
|
Темы:
24
Сообщения:
92
Участник с: 10 декабря 2012
|
в общем поставил все по инструкции из archwiki, что-то из видеоинструкций, но в общем все работает хорошо и ZendFramework и Netbeans. Правда последним практически не польлзуюсь, как-то не лежит к нему посел sublime text 2, но сейчас пользую phpstorm, партнеры настаивают.
|