I have recently updated my server and it forced a PHP update from PHP 5 to 7.
I got all my php.ini files point to .dll files (php_curl.dll for example) and not to curl.so. (it's pointing to the files in /var/lib/php/20131012/ where all the files there are .so - which make scence).
Can that cause any other problems in the future with other things (like fork, which was installed in the previous php5 and now doesn't work).
What is mostly recommended to do in this case in the best secure way for not messing up my server (although the feeling that it's messed up already).
Running the query after this edit outputs an error an my email file: /var/mail/root
which says:
/usr/lib/php5/sessionclean: 12: /usr/lib/php5/sessionclean: php5: not found
What is going on??
I just updated php on my Debian and had the same error. Check if you fully deleted php5, I had to manually uninstall package
php5-common
. (Package php5 was however uninstalled automatically bydist-upgrade
)Try to comment all extensions with .dll restart apache and see if it works. Mine was resolved after doing so. Don't forget to backup your php.ini file