How to setup phpminiadmin
Closed this issue · 8 comments
A mini tutorial on how to setup would be appreciated. Can you include a set up guide in Readme.md
Currently I am unable to get past the security page. I receive a blank page at http://localhost/phpminiadmin.php, I do get the page which asks for $ACCESS_PWD though. But I am unable to go to the main page despite giving correct password.
well, there are no any installation - just copy to website directory and access via browser to that url.
If you see blank page it might be because you didn't have installed some php extensions (like mysql). If you enable full error reporting and send me an error you see I'll try to fix it.
I do have mysql, I see that I can access mysql db from my shell. by doing mysql -u root -p. And take a look at my phpminiadmin config:
$DBDEF=array(
'user'=>"root",#required
'pwd'=>"mypasssword", #required
'db'=>"", #optional, default DB
'host'=>"localhost",#optional
'port'=>"3306",#optional
'chset'=>"utf8",#optional, default charset
);
no, I mean "mysql extension for PHP". Are you able to connect to MySQL
from your other php scripts?
To check if it's installed - open in your browser:
http://...../phpminiadmin.php?phpinfo=1
(or just create phpinfo.php with content and open it).
Then find "MySQL Support" on the opened info page, if you can't find
it - you need to enable/install mysql php extension.
Thanks, Oleg
2012/7/1 Juzer Ali
reply@reply.github.com:
I do have mysql, I see that I can access mysql db from my shell. by doing
mysql -u root -p. And take a look at my phpminiadmin config:$DBDEF=array( 'user'=>"root",#required 'pwd'=>"mypasssword", #required 'db'=>"", #optional, default DB 'host'=>"localhost",#optional 'port'=>"3306",#optional 'chset'=>"utf8",#optional, default charset );
Reply to this email directly or view it on GitHub:
#7 (comment)
Hmmm, okay. Will check that.
I installed the LAMP stack, still no luck. I am getting absolutely no response from the url, except the headers. Nothing in the content.
RESPONSE
elapsed time 11ms
200 OK
formatted raw
HEADERS
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 20 bytes
Content-Type: text/html
Date: 2012 Jul 2 23:45:13 (-572ms)
Expires: 1981 Nov 19 14:22:00(-30 years)
Keep-Alive: timeout=5, max=99
Pragma: no-cache
Server: Apache/2.2.22 (Ubuntu)
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.10-1ubuntu3.2
Any comments?
it seems it was server configuration issues, not phpminiadmin itself
How install phpminiadmin on windows?
to install phpminiadmin - just copy it under your website directory, regardless it's under Windows or Linux or something else.