Problem is default PHP settings:
with include_path all ok, php53 automatically changed to phpXX when you change PHP version via DirectAdmin. But with open_basedir - problem. I try to find where setuped include_path to add some logic with open_basedir, but... Also I can not detect php version with DirectAdmin variable like PHP1_RELEASE
this solution wasn work because PHP1_RELEASE always 53. I add to custom/virtual_host2.conf
have you another solution?
Code:
... include_path.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php open_basedir/home/user13/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php53/lib/php/ ...
Code:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/var/tmp:/opt/alt/php`PHP1_RELEASE`/usr/share/pear:/usr/local/lib/php/`OBDP1``OBDP2`|
Code:
|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/var/tmp:/opt/alt/php44/usr/share/pear:/opt/alt/php51/usr/share/pear:/opt/alt/php52/usr/share/pear:/opt/alt/php53/usr/share/pear:/opt/alt/php54/usr/share/pear:/opt/alt/php55/usr/share/pear:/usr/local/lib/php/`OBDP1``OBDP2`|