Hello, I have installed PHP 7.4 and you said that it has installed PDO. MBString and other extensions automately. However, when I run my website, the pictures cannot appear. So I run this command:
php artisan storage:link
And then it gives out many warnings:
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mbstring (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mbstring: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mbstring.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/openssl (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/openssl: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Module 'fileinfo' already loaded in Unknown on line 0
PHP Warning: Module 'exif' already loaded in Unknown on line 0
Could not open input file: artisan
acutally I have installed exif, and also enabled fileinfo and all other extensions above. Now the artisan cannot be opened, so the storage link cannot be produced, that's why the pictures cannot appear.
I want to know why my extensions always have many warnings and errors.
Another thing, my website has this error:
ErrorException
file_exists(): open_basedir restriction in effect. File(/usr/bin/ffprobe) is not within the allowed path(s):
I have installed FFmpeg properly and now it always said the above information.
In all, the other engineers said that all of the above information are related with the panel. so I create this ticket.
Please send me your email and I can give you my server information and make things clear.
Thanks in advance.