Danial Nazari
Danial Nazari

Reputation: 499

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

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?

Upvotes: 0

Views: 2817

Answers (1)

Ziauddin Robin
Ziauddin Robin

Reputation: 1

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

Upvotes: 0

Related Questions