I have a problem on my ubuntu server.
All started when for a mystake when i installed php7.0 on my old server.
Now everytime Cronjob launch my script i've got this error in my .err and the script wont work.
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/20131226/php_odbc.dll' -
/usr/lib/php/20131226/php_odbc.dll: cannot open shared object file: No
such file or directory in Unknown on line 0
I have already switched from PHP7 to 5.6 by doing this:
-Apache:
sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart
-CLI:
sudo update-alternatives --set php /usr/bin/php5.6
I have searched for solution everywhere but im not able to fix.
If u need to see php.ini i will upload it.
Thanks in advance