pavel83
Новичок
не видит папку с pear
Установил модули командой
pear install ...
при подключении либого модуля pear выдается ошибка
хотя в папке /usr/share/pear я своими глазами виже папку Spreadsheet
В чем может быть проблема?
Пробовал указывать абсолютный путь при подключении модулей, та же херня
Установил модули командой
pear install ...
при подключении либого модуля pear выдается ошибка
PHP:
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/Spreadsheet/Excel/Writer.php) is not within the allowed path(s): (/var/www/vhosts/domain.ru/httpdocs:/tmp) in /var/www/vhosts/domain.ru/httpdocs/stat/example_1.php on line 4
Warning: main(Spreadsheet/Excel/Writer.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/domain.ru/httpdocs/stat/example_1.php on line 4
Fatal error: main() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='.:/usr/share/pear:') in /var/www/vhosts/domain.ru/httpdocs/stat/example_1.php on line 4
В чем может быть проблема?
Пробовал указывать абсолютный путь при подключении модулей, та же херня