openSUSE Forums > Programming/Scripting » phpMyAdmin - Error

Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-Oct-2009, 08:49
NicK2oo6's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Location: Craiova, Romania
Posts: 20
NicK2oo6 hasn't been rated much yet
Send a message via Yahoo to NicK2oo6
Exclamation phpMyAdmin - Error

Hi.
I have installed Apache 2, php, mysql, phpMyAdmin from Repositories
Everything installed okay without any errors.
I started them from runlevel
I have added HTTP Server to firewall rule
I have configured mysql @
Code:
mysql_install_db --user=mysql 
/usr/bin/mysql_secure_installation
Linux Apache MySQL PHP Server (lamp) - openSUSE

All done.

But... I get an error when I acces localhost/phpMyAdmin
Code:
phpMyAdmin - Error

Cannot load mysqli extension. Please check your PHP configuration. - Documentation
Maybe I haven`t installed extensions, maybe it`s something of permisons /var/lib - mysql

Or firewall

Please explain me detailed because I`m new in SUSE, I have done all the programs that I have with lots of hours spent on forums and sites, but in this case, I really don`t know how to solve.

In the end, I thank you all for your replies. I really apreciate.
Reply With Quote
  #2 (permalink)  
Old 19-Oct-2009, 13:14
NicK2oo6's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Location: Craiova, Romania
Posts: 20
NicK2oo6 hasn't been rated much yet
Send a message via Yahoo to NicK2oo6
Default Re: phpMyAdmin - Error

Nobody ?
Reply With Quote
  #3 (permalink)  
Old 19-Oct-2009, 13:18
Explorer Penguin
 
Join Date: Dec 2008
Location: Hamburg
Posts: 165
erikro hasn't been rated much yet
Default Re: phpMyAdmin - Error

Hi,
just read the message and install what's missing.

bye

Erik

Last edited by erikro; 19-Oct-2009 at 13:23. Reason: wrong language sorry
Reply With Quote
  #4 (permalink)  
Old 19-Oct-2009, 13:19
Explorer Penguin
 
Join Date: Apr 2009
Posts: 690
ab@novell.com hasn't been rated much yet
Default Re: phpMyAdmin - Error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cannot load mysqli extension. Please check your PHP configuration. -
Documentation

That means that your PHP installation does not have the 'mysqli'
extensions present. Generally there are two types of MySQL libraries in
PHP: mysql and mysqli. The former have been around longer but the latter
add some newer functionality I believe (not sure, never cared). It
appears PHPMyAdmin is configured to use mysqli in your version so you need
to add those to where Apache and PHP can find them. Go into Yast and
search for things with 'mysql' or 'php' in the name and one of the options
is likely going to be 'php-mysqli' which is the mysqli module for PHP:

sudo /sbin/yast -i

Good luck.





NicK2oo6 wrote:
> Hi.
> I have installed Apache 2, php, mysql, phpMyAdmin from Repositories
> Everything installed okay without any errors.
> I started them from runlevel
> I have added HTTP Server to firewall rule
> I have configured mysql @
>
> Code:
> --------------------
> mysql_install_db --user=mysql
> /usr/bin/mysql_secure_installation
> --------------------
>
>
> 'Linux Apache MySQL PHP Server (lamp) - openSUSE'
> (http://tinyurl.com/a65dyt)
>
> All done.
>
> But... I get an error when I acces localhost/phpMyAdmin
>
> Code:
> --------------------
> phpMyAdmin - Error
>
> Cannot load mysqli extension. Please check your PHP configuration. - Documentation
> --------------------
>
>
> Maybe I haven`t installed extensions, maybe it`s something of permisons
> /var/lib - mysql
>
> Or firewall
>
> Please explain me detailed because I`m new in SUSE, I have done all the
> programs that I have with lots of hours spent on forums and sites, but
> in this case, I really don`t know how to solve.
>
> In the end, I thank you all for your replies. I really apreciate.
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJK3K2dAAoJEF+XTK08PnB57PkP/2xOut1MV5gXCuOHCroHGAyD
ffJIRLJecA4IvffyTozmdYP9ZjLLh9hTM/0Fs/F3TU7VpUmzkINmb7JZfA57QrQt
lOMG2KP/ttKbzGE7egDcCAo3PVxb7i9tTGxTyDzUzpt8aWYNdcJXmCF20Q X1bimJ
JMyV5t+Q+/kUXLUUgwS3r47Mg/X9sLJH/3FIkfakqvzdgnWfREzBCIecTlo9sAYi
acltbilc7GxxSEikfptoHnwF7PFV+z09tj5Zghu4u87PkOGEHU n4v77WS2/NUles
ghn/BtIt7BfS8nKkAL1rYdejDdqau95kNQcu56KyFLLu06FN48MAS8 Dy9Oug0CJ/
33YFXybGruSXQfEG0BINGQQsh4Maip9mTWTi5Hc3JE8jLRQIvM bgOdD72J/uwVVd
AkA++EBvnc06UbZPQrSWSANVnVOru3PBSy1fNS8MzfdVJvg8ki 2WmWB2WKYFzpJ/
d9wdSE4aovFUDXpDGTjcaaLWavK5vMnMw2aXHnfV/FgXw+J2ZyO5o7BWt28FP8vS
0g5LtjWmfhhZ2ya6qyDlx5W/kT5g//TlP72tmcxP2ld9jnk/3ke3cXfL6o+1oLss
C62hIjr8U9M2Kpdr5C9rX/gBpu6aqCM+8oVyHNGBQP0OeNM/QF1nFWtxuDmoV2gm
tzZ6C/3+4cREv6UaGWmc
=oQXK
-----END PGP SIGNATURE-----
Reply With Quote
  #5 (permalink)  
Old 21-Oct-2009, 10:17
NicK2oo6's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Location: Craiova, Romania
Posts: 20
NicK2oo6 hasn't been rated much yet
Send a message via Yahoo to NicK2oo6
Default Re: phpMyAdmin - Error

First of all, hi to everyone.

1 erikro @ I`m new in the operating system, I`m not just that dumb, If I haven`t searched for the message error, I will asked "where aI will download that thing" - ps: I have searched and nothing

2 ab@novell.com @ I had installed php5-mysql | I don`t have any mysqli module available @ Yast to download...

LaterEdit: I have downloaded some modules for php5 and mysql and now phpmyadmin, seems to be working, thanks for your replies ! Have a great day.
Reply With Quote
  #6 (permalink)  
Old 21-Oct-2009, 11:59
Explorer Penguin
 
Join Date: Dec 2008
Location: Hamburg
Posts: 165
erikro hasn't been rated much yet
Default Re: phpMyAdmin - Error

Hi,

to search which package provides a module do this:

1. Start Yast
2. Open Software Installation
3. Put into the search the name of the module
4. Check "RPM provides"
5. Hit the search button

hth

Bye

Erik
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2