I am using Nginx with Centos 7 which is working fine.
After that I installed phpMyAdmin which was successfully installed as well, however when I access it on the browser it shows white blank page with no HTML source code.
What am I doing wrong?
I am using Nginx with Centos 7 which is working fine.
After that I installed phpMyAdmin which was successfully installed as well, however when I access it on the browser it shows white blank page with no HTML source code.
What am I doing wrong?
based on the accepted answer I found the solution, But instead of changing the permission to 777
I prefer changing the ownership like below:
sudo chown -R nginx:nginx /var/lib/php/session/
The group of the session
directory is apache
by default, I changed it to nginx
which is the user that runs php-fpm
and nginx
I've found the solution.
The /var/lib/php/session/ folder was not writeable by nginx/php-fpm, I've just edited the permissions to 777 and now it works.
You need to add a symlink
sudo ln -s /usr/share/phpMyAdmin /usr/share/nginx/html
After that, restart your php-fpm process.
sudo systemctl restart php-fpm