1

I have installed phpMyAdmin on my VPS LAMP server (Debian Squeeze/Apache2/MySQL/PHP5), but am unable to access it: //my-ip/phpmyadmin/ and //my-domain/phpmyadmin/ both produce the following error message: "No input file specified".

The phpMyAdmin FAQ identifies this as a permission problem, but the suggested solution seems not to apply to my situation. Every other solution I have come across involves removing/purging and reinstalling phpmyadmin - which I have done several times, always to the same result. Previous posts in this forum typically relate to Nginx, which I have not installed.

Thanks in advance for any help!

2 Answers2

2

I have now found the solution to my problem. The error log revealed a fastCGI-error:

FastCGI: server "/var/lib/apache2/fastcgi/php5.fastcgi" stderr: Unable to open primary script: /usr/share/phpmyadmin/index.php (No such file or directory)

However, the file did exist, and according to another serverfault thread this could be due to the doc_root parameter in php.ini. Commenting out doc_root resolved the issue (I had it set to /var/www). Hopefully, this may be useful to other forum readers.

0

I know that this post is kinda outdated, but today I had the same problem. And my solution was to create a symlink link between /usr/share/phpmyadmin and /var/www/html

The folder phpMyAdmin was missing in the www folder so I was not able not find the correct files for phpMyAdmin!

And don't forget to have a look in the logs files of Apache sometimes.

JonathanDavidArndt
  • 1,424
  • 3
  • 20
  • 29