How do I get phpmyadmin working?
Kunk
aajdubuc at webhart.net
Fri May 18 01:08:32 UTC 2007
My browsers refuse to read any php file at all so I am guessing that Apache2
is not set up correctly.
To answer your questions:
>What do the Apache {access,error}logs show?
Error.log
[Tue May 15 21:42:03 2007] [notice] Apache/2.0.55 (Ubuntu) configured --
resuming normal operations
[Tue May 15 21:42:04 2007] [notice] caught SIGTERM, shutting down
[Tue May 15 21:42:05 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6
configured -- resuming normal operations
[Tue May 15 21:44:42 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico, referer: http://127.0.0.1/
[Tue May 15 21:48:32 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico
[Tue May 15 21:54:40 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico, referer: http://127.0.0.1/phpmyadmin/
[Tue May 15 22:04:17 2007] [notice] caught SIGTERM, shutting down
[Tue May 15 22:04:18 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6
configured -- resuming normal operations
[Tue May 15 22:12:05 2007] [notice] caught SIGTERM, shutting down
[Tue May 15 22:12:18 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6
configured -- resuming normal operations
[Tue May 15 22:13:50 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico
[Tue May 15 22:34:40 2007] [notice] caught SIGTERM, shutting down
[Wed May 16 22:37:11 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6
configured -- resuming normal operations
[Wed May 16 22:38:01 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/favicon.ico, referer: http://127.0.0.1/phpmyadmin/main
[Wed May 16 23:06:40 2007] [notice] caught SIGTERM, shutting down
[Thu May 17 20:35:56 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.6
configured -- resuming normal operations
Seems to be looking for a missing ico file favicon.ico. I created one and
put it in /var/www but no joy
...
From what I can work out since everything is on localhost I just need the
default configuration
> >Have you got the mysql extension set-up in php? (try
> >the bog-standard
> <?php phpinfo() ?> approach, if you're unsure) ---
> >it's an
> >uncomment in the modules config (usually php.ini)
extension=mysql.so is uncommented. My browser will not read php files at
all. It tries to open or download them.
Hi John,
Just a couple of things:
1. Always restart apache after any changes.
2. In /etc/apache2/apache2.conf, have you uncommented the following?
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHP won't parse if you haven't. (Don't forget to restart/reload apache
after uncommenting.)
3. Seems like the file permissions are OK from the '200' creturn code, so
more than likely, it's the above.
4. Btw, the best directions for LAMP can be found at http://help.ubuntu.com
look for Server Admin under whatever version of ubuntu you're using.
5. If you're really desperate, all you need to configure in phpmyadmin (if
it's like phppgadmin that I use) is the file in conf -- conf.inc.php.
Hth,
Kunk
--
View this message in context: http://www.nabble.com/How-do-I-get-phpmyadmin-working--tf3765188.html#a10674970
Sent from the ubuntu-users mailing list archive at Nabble.com.
More information about the ubuntu-users
mailing list