phpMyAdmin with error 404

shally87

Verified User
Joined
Mar 30, 2010
Messages
8
Hi,
I am running on 512mb Centos VPS with DA installed. Since my website (wordpress website) requires quite high memory usage, I manage to change the webserver from APACHE to NGINX. Following these guide;
http://www.directadmin.com/forum/showthread.php?t=20133
and
http://vpslife.blogspot.com/2009/09/nginx-php-cgi-spawn-fci-ftp-vhosts.html

* Of Course the first one is the main tutorial

I manage to install NGINX and it is running after 2 days of hardwork. But still I have the warning;
Warning: Invalid argument supplied for foreach() in /etc/rc.d/init.d/nginx.php on line 460
Warning: Invalid argument supplied for foreach() in /etc/rc.d/init.d/nginx.php on line 460
when i do /etc/init.d/nginx restart

Since It is running with the warning, I decided to ignore it (I hope someone could fix that too), and to install my website.
But when it comes to the database, I was unable to access phpMyAdmin.
I get phpMyAdmin redirected to my 404 error page and thus this make me unable to get my site online.

Hope someone could help me with this problem?

Thanks in advance

Regards
Shally
 
maybe im wrong but you can check this:

If phpmyadmin is present in /var/www/html/

If there is phpmyadmin so means that ngix is not looking at /var/www/html/ at all for basic page...

Another try is move that phpmyadmin in your public_html

like
Code:
mv /var/www/html/phpMyAdmin-VERSION /home/USER/domains/DOMAIN/public_html

If you have just one domain shoould work, of course, set ngix for look into that directory should be better but ive never used it :)
 
Back
Top