- Download phpminiadmin.php file
- example:
wget https://raw.github.com/osalabs/phpminiadmin/master/phpminiadmin.php
- example:
- Copy/Upload it to your webserver public directory (www or public_html or whatever...)
- Open in your browser
http://yoursite.com/phpminiadmin.php
Recommended: For additional security you may edit phpminiadmin.php file and set some password (see $ACCESS_PWD
variable)
The only required php extension is mysqli
. Therefore if you got a white screen install it:
sudo apt-get install php-mysql
on Debian
or enable extension=php_mysqli.dll
in php.ini on Windows
You can also create phpminiconfig.php in the same directory as phpminiadmin.php with database credentials or password. This way you can easily install future releases of phpminiadmin.php
In the directory samples you'll find phpminiconfig.php for known OpenSource packages
- See phpminiconfig.php for an empty example
- See phpminiconfig.magento.php to read Magento its app/etc/local.xml ($ACCESS_PWD is required)
- See phpminiconfig.sugarcrm.php to read SugarCRM its config.php ($ACCESS_PWD is required)
- See phpminiconfig.wordpress.php to read Wordpress its wp-config.php ($ACCESS_PWD is required)
- See phpminiconfig.vtiger.php to read Vtiger its config.inc.php ($ACCESS_PWD is required)
- Screenshots
- Live demo (pwd: pmaiscool)
- Download latest version
- SourceForge page of the phpMiniAdmin
- My Twitter
- My website
- removed use of function
get_magic_quotes_gpc
deprecated since PHP 7.4.0 - utf8mb4 is now default charset
- tested in PHP 8, cleaned up several PHP Warnings
- limited max packet size during export to aviod PHP memory exhausted errors on huge tables
- added ability to setup SSL connection (define at least "ssl_ca" in
$DBDEF
)
- added ability to set socket for db connection
- fixed potential XSS in database names and fields #28
- db NULLs now displayed in italic to distinguish from "NULL" text
- misc formatting adjustments