You are here: Re: [PHP] Problems with PHP5 & phpMyAdmin « PHP « IT news, forums, messages
Re: [PHP] Problems with PHP5 & phpMyAdmin

Posted by Russ F on 11/22/05 19:02

Curt Zirzow wrote:

> On Fri, Nov 18, 2005 at 12:07:00PM -0800, Russ F wrote:
>> I've reinstalled Apache2, PHP5, phpMyAdmin and MYSQl several times. I
>> still get the same error when i try to use phpmyadmin Can not load mysql
>> extensions. I checked the path it is correct, the extensions exist
>> in /etc/php5/extensions but they do not have a .so after them. The
>> php.ini file and config files appear correct from a server setup. I read
>> you need to put a loadmodule statement in httpd but am not sure when. The
>> script says not to modify this file, put mods in /etc/sisconfig. But I'm
>> not sure where as there are no loadmod commands in the scripts. My
>> authorities all appear correct.
>>
>> Can anyone poiny me to the right configuration file.
>
> How you install all of apache2, php5, phpMyAdmin and Mysql all
> matters on what file to edit. With your extension dir existing in
> /etc/php5/extension, i would assume you insalled via some package
> system.
>
> With out any of the information, it will be hard to help.
>
I installed all packages with SUSE 10.0 YaST rpms. I installed earlier
versions on SuSE 9.1 from rpms with no problems. After install I changed
mysql to run as user mysql. add root and damon to the group mysql. SuSe has
added stems in the install that (When I start the mysql server) that change
the my sql permisions.

I recently uninstall php5 and went back to php4. The .so files are now
installed but I get a message now that access is denied when I try using my
browser running as root:

http://localhost/phpMyAdmin/.

I've configured php.ini and config.inc.php correctly I think. I can manually
get to mysql from the command line as root with no problem. I'm almost
certain its a permissions problem but I'm not sure where.

/srv/www/htdocs
drwxr-xr-x 6 root root 3000 2005-11-21 17:25 phpMyAdmin

/srv/www/htdocs/phpMyAdmin
-rw-rw-r-- 1 root root 38826 2005-11-21 17:25 config.inc.php

I can either reinstall php5 or stay with php4 as long as I get this working.
You help will be greatly appreciated.

Thanks

Russ

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация