hi, im trying to learn how to use phpmyadmin, i’ve put the files in their own folder and that into htdocs in apache, and i when i type in http://localhost/phpmyadmin/index.php, i get an error message reading
ive followed the mysql extension link and ive put the libmysql into the windows path, but i havent got a clue how to enable php_mysql.ini inside of php.ini ( i cant even find php.ini :()
ive been following a tutorial to learn how to use apache, php and mysql and now that ive got to php myadmin im completely lost… any help would be appreciated
Some more info would be helpful. Which versions of Apache, PHP and MySQL are you using? What OS are you on?
php.ini should be in your apache root – at least with Apache 2. If I remember correctly with Apache and PHP 4 when I had that set up my php.ini file was in C:\windows. Or you can always just do a search on your computer to look for php.ini.
okay ive made a little bit of progress… well kind of…
ive found the config file - woo
ive also put in the config.inc.php file in the phpmyadmin folder which has made a change, instead of showing the error message on the index.php page, it now shows… nothing, just a blank page.
versions:
os - xp sp 2 (home)
php - 5
mysql - 4.0.26
apache - 2
[2.4] Nothing is displayed by my browser when I try to run phpMyAdmin, what can I do?
Try to set the $cfg[‘OBGZip’] directive to FALSE in the phpMyAdmin configuration file. It helps sometime.
Of course I’m assuming that you ended up getting MySQL working with PHP. Before you even worry about PHPMyAdmin, make sure that PHP is actually loading what it needs for MySQL.
Make a PHP file with <?php phpinfo(); ?> in it and open it on your server. Scroll down (or search the page) for “MySQL” (no quotes). You should have a section called mysql with information about it under the heading. For example…
Active Persistent Links
Active Links
Client API version
If you’re not seeing something like that on the page then PHP is not setup to work with MySQL.
So first check to make sure that PHP is able to use MySQL by using the phpinfo() function in a PHP file and opening it on your server. If that works THEN try the first thing I posted from the PHPMyAdmin FAQ. Then, report back on any changes if you could.
i went through all the installation and configuration stuff for php and mysql, those were fine, went through the apache httpd configuration that i had added in, and i had forgotten to put in a line of code.
all of this for 1 line of code and suddenly, mysql is appearing on the php test page lol,