Hi,
On php 5.3, I have this php.ini
ubuntu@fr13:~/php-5.3.29$ cat /usr/local/lib/php.ini
[Session]
session.save_path="/tmp/http_sessions"
extension="apc.so"
extension="pdo_mysql.so"
extension="odbc.so"
extension="curl.so"
extension="memcache.so"
extension="gd.so"
file_uploads = On
upload_tmp_dir = /tmp
error_reporting = E_ALL
display_errors = Off
log_errors = On
safe_mode = 0
short_open_tag = On
[Session]
session.save_path="/tmp/http_sessions"
extension="apc.so"
extension="pdo_mysql.so"
extension="odbc.so"
extension="curl.so"
extension="memcache.so"
extension="gd.so"
file_uploads = On
upload_tmp_dir = /tmp
error_reporting = E_ALL
display_errors = Off
log_errors = On
safe_mode = 0
short_open_tag = On
I also have set PHPRC as below
ubuntu@fr13:~/php-5.3.29$ echo $PHPRC
/usr/local/lib
/usr/local/lib
when I run php-fpm, I get these warnings
ubuntu@fr13:~/php-5.3.29$ sudo /usr/local/sbin/php-fpm
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/odbc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/odbc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
[15-Mar-2020 16:13:54] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have searched about these messages, however, it is not clear what is missing. Who should create
pdo_mysql.so?
Regards,
Mahmood
Mahmood