/tmp instead of /var/lib/php5. Some PHP applications may not encountered any problem. However, phpmyadmin do run into problem - cannot login. Don't panic, I will show you how to solve this problem at ease.Bug fix on PHP5
Do one of the following command depends on your situation.
sudo nano /etc/php5/cgi/php.inior
sudo nano /etc/php5/apache2/php.inior
sudo nano /etc/php5/cli/php.iniMake the following changes to
php.ini.session.save_path = /tmp
session.auto_start = 1Installation of phpmyadmin
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install phpmyadminMake sure
mysql and php5 are already installed.Configuration file of
Apache2 and lighttp will be setup automatically after answering several questions. Write down what password you have entered.sudo cp /usr/share/phpmyadmin/config.inc.php /usr/share/phpmyadmin/config.inc.php.baksudo cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.phpsudo nano /usr/share/phpmyadmin/config.inc.phpLocate
$cfg['blowfish_secret']='' and enter some password like string, e.g. dlhw034tu034F&W.The outcome will be :
$cfg['blowfish_secret']='dlhw034tu034F&W'Save and then reboot your server. Or,
sudo /etc/init.d/php-fcgi restart or
sudo /etc/init.d/php restartThen, restart Apache or your web server
sudo /etc/init.d/apache2 restartAccess phpmyadmin with your browser and point the url to :
http://your_server_ip/phpmyadminusername is "
root" while the password is what you have entered during installation.This bug has been reported by someone else. I think the fix will be released soon.
That's all! See you.