We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Phpmyadmin does not work

Hi all,

I finished my website on local and upload it on my server. My files is above;


when i want to enter /pma (as u think , its phpmyadmin) its gives error : PmaController handler class cannot be loaded

how can i exclude pma from phalcon redirect ?



You can configure the server using .htaccess can be.

edited Mar '14

its nginx server .

try_files $uri $uri/ @rewrite;

location @rewrite {

    rewrite ^/(.*)$ /index.php?_url=/$1;

it's my rewrite on it, how can I ignore "pma" folder?

edited Mar '14

Then you may configure your nginx to phpmyadmin like :

 location /phpmyadmin {
   root /usr/share/;
   index index.php index.html index.htm;
   location ~ ^/phpmyadmin/(.+\.php)$ {
     try_files $uri =404;
     root /usr/share/;
     fastcgi_index index.php;
     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
     include /etc/nginx/fastcgi_params;
   location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
     root /usr/share/;
 location /phpMyAdmin {
   rewrite ^/* /phpmyadmin last;

All request are redirect to public/index.php by nginx now in your config.