open_basedir issues on subdomain

shanti

Verified User
Joined
Apr 8, 2009
Messages
94
Location
Wien / Vienna - Austria
Hi
Ia got a masterdomain running php74 and a subdomain on php73 where i like to run an installatron-instance of invoiceninja.

sadly i get a open_basedir- error on the subdomain:
is_executable(): open_basedir restriction in effect. File(/usr/local/php73/bin/php) is not within the allowed path(s): (/home/myuser/:/tmp/:/var/tmp/:/dev/urandom:/usr/local/php74/bin/:/usr/local/php74/lib/:/usr/local/php73/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/)
resulting from ${DA}/data/templates/custom/php-fpm.conf:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp/:/var/tmp/:/dev/urandom:/usr/local/php`PHP1_RELEASE`/bin/:`ACTIVE_USR_LOCAL_PHP_LIB`|
phpinfo() says:
open_basedir: /home/myuser/:/tmp/:/var/tmp/:/dev/urandom:/usr/local/php74/bin/:/usr/local/php74/lib/:/usr/local/php73/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/

i think, if there would be TEMPLATE-variables like ACTIVE_USR_LOCAL_PHP_BIN or PHP2_RELEASE PHP3_RELEASE PHP4_RELEASE i could address this issue via template, but there arent.

What would be a way to address this situation ?

thanks 4 support & br
 
Back
Top