Jump to content

Archived

This topic is now archived and is closed to further replies.

suja

zend framework and mysql

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.