i have upgraded my server and can’t log in to ispCp. it show error massage
An error occurred. Please contact your administrator
Solution:
- set DEBUG mode
vi /etc/ispcp/ispcp.conf
DEBUG=1 - enter control panel to see what error.
it’s show
can’t load php5-mcrypt
- try this
updatedb
locate mcrypt.iniShould show it located at /etc/php5/mods-available
locate mcrypt.so
Edit mcrypt.ini and change extension to match the path to mcrypt.so, example:
extension=/usr/lib/php5/20121212/mcrypt.so
- Now this
php5enmod mcrypt
- Restart Apache
service apache2 restart
- Restart php5 or php5-fpm
service php5 restart
Ref: http://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql