Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default easyapache problem

    I am trying to compile php 5.1.5 on a server and I received this


    checking whether to enable embedded MySQLi support... no
    checking for mysql_set_server_option in -lmysqlclient... no
    configure: error: wrong mysql library version or lib not found.


    Also using easyapache does not permit to isntall php because it reporting me tha I need mysql 4.1.19 but I have mysql 4.1.21 running without problems ...


    Any idea ?
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    Which build of cpanel are you using?
    Why php 5.1.5 and not php 5.1.6?

    Could you provide the output of:
    Code:
    mysqladmin version
    search is your friend!
    cPanel Specialist Certification::Technical

  3. #3
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    I have php 5.1.4


    mysqladmin Ver 8.40 Distrib 4.0.20, for pc-linux on i686
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license

    Server version 4.1.21-standard
    Protocol version 10
    Connection Localhost via UNIX socket
    UNIX socket /tmp/mysql.sock
    Uptime: 14 min 37 sec

    Threads: 3 Questions: 1423 Slow queries: 0 Opens: 47 Flush tables: 1 Open tables: 41 Queries per second avg: 1.623
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  4. #4
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    how to upgrade mysqladmin to mysqladmin Ver 8.41 Distrib 4.1.21 ?
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    I'd suggest running the following

    Code:
    /scripts/upcp; /scripts/mysql --force
    Also make sure after doing that you select php 5.1.6
    search is your friend!
    cPanel Specialist Certification::Technical

  6. #6
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    Thank you for reply

    /scripts/mysql --force already didn't help however will try also updating cpanel
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  7. #7
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    The command above your reply should have both upgraded your cpanel and forced an upgrade to mysql.
    search is your friend!
    cPanel Specialist Certification::Technical

  8. #8
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    I executed

    /scripts/upcp; /scripts/mysqlup --force

    all executed without problems execpt of this
    chown: changing ownership of `/var/lib/mysql/mysql.sock': No such device or address

    mysqladmin -v still reports an outaded version

    I still cannot upgrade php (neither compile or using easyapache)
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    Out of interest what does the following show:
    Code:
    /usr/local/cpanel/cpanel -V
    search is your friend!
    cPanel Specialist Certification::Technical

  10. #10
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    10.9.0-CURRENT_46


    mysqladmin -v
    mysqladmin Ver 8.40 Distrib 4.0.20, for pc-linux on i686

    mysql is 4.1.21-standard


    When i execute easyapache it still write me that I need mysql 4.1.19 or later to install 5.1.6 :-O!
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  11. #11
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    removing the mysqli exsention ( --with-mysqli=/usr/bin/mysql_config ) from the PHP configure switch solved the problem, but what if I wanted to include the mysqli extension and getting this error?
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  12. #12
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,064

    Default

    as it seems mysqli is not supported in php version 5
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  13. #13
    Member
    Join Date
    Nov 2003
    Location
    NC, USA
    Posts
    55

    Default

    actually, php5 supports mysqli with no problem, seems like that must've been a different issue.

Similar Threads & Tags
Similar threads

  1. EasyApache problem
    By mr_fern in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-06-2010, 04:54 PM
  2. Problem in easyapache
    By q8ss in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-28-2008, 12:53 AM
  3. problem with easyapache
    By hikaro in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 12-24-2007, 09:22 AM
  4. Problem with EasyApache 3
    By kamraonline in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 09-06-2007, 11:01 AM
  5. easyapache problem
    By adivity in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-25-2006, 08:55 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube