Results 1 to 6 of 6

Thread: phpMyAdmin - Error

  1. #1
    Join Date
    Dec 2008
    Location
    Craiova, Romania
    Posts
    23

    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.

  2. #2
    Join Date
    Dec 2008
    Location
    Craiova, Romania
    Posts
    23

    Default Re: phpMyAdmin - Error

    Nobody ?

  3. #3
    Join Date
    Dec 2008
    Location
    Hamburg
    Posts
    458

    Default Re: phpMyAdmin - Error

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

    bye

    Erik
    Last edited by erikro; 19-Oct-2009 at 11:23. Reason: wrong language sorry

  4. #4

    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/ttKbzGE7egDcCAo3PVxb7i9tTGxTyDzUzpt8aWYNdcJXmCF20QX1bimJ
    JMyV5t+Q+/kUXLUUgwS3r47Mg/X9sLJH/3FIkfakqvzdgnWfREzBCIecTlo9sAYi
    acltbilc7GxxSEikfptoHnwF7PFV+z09tj5Zghu4u87PkOGEHUn4v77WS2/NUles
    ghn/BtIt7BfS8nKkAL1rYdejDdqau95kNQcu56KyFLLu06FN48MAS8Dy9Oug0CJ/
    33YFXybGruSXQfEG0BINGQQsh4Maip9mTWTi5Hc3JE8jLRQIvMbgOdD72J/uwVVd
    AkA++EBvnc06UbZPQrSWSANVnVOru3PBSy1fNS8MzfdVJvg8ki2WmWB2WKYFzpJ/
    d9wdSE4aovFUDXpDGTjcaaLWavK5vMnMw2aXHnfV/FgXw+J2ZyO5o7BWt28FP8vS
    0g5LtjWmfhhZ2ya6qyDlx5W/kT5g//TlP72tmcxP2ld9jnk/3ke3cXfL6o+1oLss
    C62hIjr8U9M2Kpdr5C9rX/gBpu6aqCM+8oVyHNGBQP0OeNM/QF1nFWtxuDmoV2gm
    tzZ6C/3+4cREv6UaGWmc
    =oQXK
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Dec 2008
    Location
    Craiova, Romania
    Posts
    23

    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.

  6. #6
    Join Date
    Dec 2008
    Location
    Hamburg
    Posts
    458

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •