suja Posted March 27, 2010 Share Posted March 27, 2010 I have installed zend framework with Appserv. I changed the path to the zend project in the file httpd.conf file. Example:- My files are in the folder project_zend. So in the file httpd.conf file, I changed it as DocumentRoot "D:/AppServ/www/project_zend/public/". After while typing the url as http://localhost/ in the browser I gets the project. But the problem is I cannot access the database. I tried by giving as http://localhost/phpmyadmin/ . I am getting the message Message: Invalid controller specified (phpmyadmin) . Can any one could help me to access the database. Quote Link to comment https://forums.phpfreaks.com/topic/196692-zend-framework-and-mysql/ Share on other sites More sharing options...
trq Posted March 27, 2010 Share Posted March 27, 2010 phpmyadmin is not part of zend framework. You'll need a separate install of phpmyadmin, running on a separate virtual_host if you would like to use it. Quote Link to comment https://forums.phpfreaks.com/topic/196692-zend-framework-and-mysql/#findComment-1032798 Share on other sites More sharing options...
suja Posted March 28, 2010 Author Share Posted March 28, 2010 The project in zend frameworks works for me. It takes data from the database also. But I cannot view the database by the link http://localhost/phpmyadmin. Quote Link to comment https://forums.phpfreaks.com/topic/196692-zend-framework-and-mysql/#findComment-1032901 Share on other sites More sharing options...
trq Posted March 28, 2010 Share Posted March 28, 2010 Have you installed phpmyadmin within http://localhost/phpmyadmin ? Quote Link to comment https://forums.phpfreaks.com/topic/196692-zend-framework-and-mysql/#findComment-1032939 Share on other sites More sharing options...
Mchl Posted March 28, 2010 Share Posted March 28, 2010 You moved webserver's document root to "D:/AppServ/www/project_zend/public/", so now your phpMyAdmin installation is outside of document root and thus inaccessible. IMHO you should leave the document root as it was configured previously, and create a virtual host definition pointing to your ZF application. Quote Link to comment https://forums.phpfreaks.com/topic/196692-zend-framework-and-mysql/#findComment-1032953 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.