Re: Problems with PHP5 & phpMyAdmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux