The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

easyapache problem

Discussion in 'EasyApache' started by Radio_Head, Oct 17, 2006.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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 ?
     
  2. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    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
    
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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
     
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    how to upgrade mysqladmin to mysqladmin Ver 8.41 Distrib 4.1.21 ?
     
  5. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    I'd suggest running the following

    Code:
    /scripts/upcp; /scripts/mysql --force
    
    Also make sure after doing that you select php 5.1.6 :)
     
  6. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Thank you for reply

    /scripts/mysql --force already didn't help however will try also updating cpanel
     
  7. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    The command above your reply should have both upgraded your cpanel and forced an upgrade to mysql.
     
  8. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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 :confused:

    I still cannot upgrade php (neither compile or using easyapache)
     
  9. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Out of interest what does the following show:
    Code:
    /usr/local/cpanel/cpanel -V
    
     
  10. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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!
     
  11. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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?
     
  12. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    as it seems mysqli is not supported in php version 5
     
  13. intel352

    intel352 Well-Known Member

    Joined:
    Nov 25, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    actually, php5 supports mysqli with no problem, seems like that must've been a different issue.
     
Loading...

Share This Page