O
O
Oleg Voitenko2014-08-23 12:46:05
PHP
Oleg Voitenko, 2014-08-23 12:46:05

How to allow execution of php scripts not only from under /var/www but also from under /usr/share in php.ini?

How to allow execution of php scripts not only from under /var/www but also from under /usr/share in php.ini
OS Centos 6.5 x86_64
The task is for Zabbix because I can’t disable open_basedir in php.ini for a number of reasons, you need to allow execution from under another folder.
Push me, somehow I forgot this thing ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
svd71, 2014-08-23
@svd71

the www-data user must be a member of the folder owner's group. But since there is only one DOCUMENY_ROOT, it is better to use a link to /usr/share

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question