file_exists(): open_basedir restriction in effect. File(/usr/bin/ffprobe) is not within the allowed path(s)

2.5k views Asked by At

after changing the value of open_basedir in php.ini in this path /usr/local/php73/lib/php.ini to

/home/admin/:/tmp/:/var/tmp/:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/php73/lib/:/usr/local/php73/lib/:/usr/local/lib/php/:/usr/bin/ffprobe/:/usr/bin/ffmpeg/  

It still does not work and I am trying to show php.ini in browser to check if these changes have been made, I see that it has not been added to the ini configuration.i see the changes for other conf like memory_limit after changing it's values but open_basedir not updated. How can this be fixed?

1

There are 1 answers

2
Ziauddin Robin On

You have to restart your server to see the update of php.ini