Написал в Apache-2.2.22_vhost
<Location />
php_admin_value open_basedir "%hostdir%"
</Location>
open server не запускается, смотрел логи там такая ошибка
2012-08-02 17:29:38 --------------------------------------------
2012-08-02 17:29:38 Начало процедуры запуска сервера
2012-08-02 17:29:38 Файл C:\Windows\system32\drivers\etc\hosts недоступен для записи
2012-08-02 17:29:38 Запуск будет продолжен в ограниченном режиме
2012-08-02 17:29:39 Создание виртуального диска
2012-08-02 17:29:39 Обновление конфигурации PostgreSQL-9.1.2
2012-08-02 17:29:39 Обновление конфигурации Sendmail
2012-08-02 17:29:39 Обновление конфигурации PHP-5.4.4
2012-08-02 17:29:39 Обновление конфигурации PHPPgAdmin
2012-08-02 17:29:39 Обновление конфигурации MemcacheAdmin
2012-08-02 17:29:39 Обновление конфигурации Apache-2.2.22
2012-08-02 17:29:39 Запуск PostgreSQL-9.1.2
2012-08-02 17:29:39 Запуск Apache-2.2.22
2012-08-02 17:29:39 Проверка состояния сервера
2012-08-02 17:29:46 Не удалось запустить PHP-5.4.4
2012-08-02 17:29:46 Сбой запуска!
2012-08-02 17:29:47 --------------------------------------------
2012-08-02 17:29:47 Начало процедуры остановки сервера
2012-08-02 17:29:47 Остановка системных модулей
2012-08-02 17:29:48 Отключение виртуального диска
2012-08-02 17:29:48 Веб-сервер успешно остановлен!
зашел логи php там
[02-Aug-2012 13:21:20 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:20 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:20 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:20 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:20 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
[02-Aug-2012 13:21:22 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:22 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:22 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:22 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:22 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
[02-Aug-2012 13:21:23 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:23 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:23 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:23 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:23 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
[02-Aug-2012 13:21:24 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:24 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:24 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:24 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:24 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
[02-Aug-2012 13:21:25 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:25 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:25 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:25 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:25 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
[02-Aug-2012 13:21:26 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:26 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:26 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(W:\modules\system\html\openserver\check.php) is not within the allowed path(s): (W:/domains/localhost) in Unknown on line 0
[02-Aug-2012 13:21:26 UTC] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[02-Aug-2012 13:21:26 UTC] PHP Fatal error: Unknown: Failed opening required 'W:/modules/system/html/openserver/check.php' (include_path='.;C:\php\pear') in Unknown on line 0
- Главная Список форумов Обсуждение Open Server
- Поиск
-
- Текущее время: 25 апр 2025, 21:13
- Часовой пояс: UTC+03:00
Информация: Конференция переехала на GitHub. Старый форум доступен только для чтения.