LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   phpMyadmin not appearing in browser (https://www.linuxquestions.org/questions/linux-software-2/phpmyadmin-not-appearing-in-browser-148835/)

Steel Shepherd 02-21-2004 02:39 PM

phpMyadmin not appearing in browser
 
I have gone through the Apache/php/mySQL install. I know so far that Apache is working - at least I can go to localhost and the manuals in a browser. But when I added phpMyAdmin and directed the browser to it's folder with index.php, it fails.

Any idea what could be causing this?

BxBoy 02-21-2004 02:50 PM

Re: phpMyadmin not appearing in browser
 
Quote:

Originally posted by Steel Shepherd
I have gone through the Apache/php/mySQL install. I know so far that Apache is working - at least I can go to localhost and the manuals in a browser. But when I added phpMyAdmin and directed the browser to it's folder with index.php, it fails.

Any idea what could be causing this?

what message did you get?

Steel Shepherd 02-21-2004 10:17 PM

I've made a bit of progress from the original error. It turns out that I didn't have phpMyAdmin installed in the "document root", which is /var/www/html/ on my Mandrake 9.2 setup with by the rpm.

Now I am getting the following error:
" Fatal error: Call to undefined function: mysql_get_client_info() in /var/www/html/phpMyAdmin/libraries/defines.lib.php on line 47 "

At least that seems to be telling me that Apache has attempted to get me into phpMyAdmin, but it just isn't working yet.

Steel Shepherd 02-21-2004 10:23 PM

I suppose this would also be helpful. The following is the section of defines.lib.php that is causing the error:

// MySQL client API
if (!defined('PMA_MYSQL_CLIENT_API')) {
$client_api = explode('.', mysql_get_client_info());
define('PMA_MYSQL_CLIENT_API', (int)sprintf('%d%02d%02d', $client_api[0], $client_api[1], intval($client_api[2])));
unset($client_api);
}


All times are GMT -5. The time now is 07:40 AM.