Results 1 to 10 of 10
  1. #1

    PHP 5.X update on Cpanel Issue

    Hi Guys,
    I've been trying to update my PHP 4.x.x to 5.x by Whm/Cpanel using Update Apache feature in WHM ,
    everything goes well except this error :

    configure: error: --with-mysql (using bundled libs) can not be used together with --with-mysqli
    Does anyone knows how to sort this out in detailed instruction please ?
    Best Regards
    Kasra

  2. #2
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    Don't rely on Cpanel to update that stuff, create a configure script to do it for you, pretty easy to do.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  3. #3
    Thanks alot

    It seems that Cp/whm got a real problem with this,

    can you link me to such a " configure script " please ?

    thanks alot
    Kasra

  4. #4
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    All you need to do is look at your current phpinfo(), it contains all of the configuration stuff necessary, download the source from www.php.net, put it in /home/easyapache, uncompress, and configure away, then compile, install and restart http, and you're done.

    To get a phpinfo() script, just create a blank php file, make it look something like
    Code:
    <?
    phpinfo();
    ?>
    save it, call it from a browser and you're set. This will show you the exact vars that were used to compile it previously.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  5. #5
    Dear Friend,
    thansk for your great help , appreciate

    I got my phpinfo() , will follow ur instruction now and let you know
    Tnanks
    Kas.

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    cd /usr/lib/mysql
    rename .a .a_old *.a
    rename .la .la_old *.la

    running easyapache

    cd /usr/lib/mysql
    rename .a_old .a *.a_old
    rename .la_old .la *.la_old

    would have fixed it. its not a cpanel issue its a issue with how the mysql rpms are setup
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  7. #7
    Hi thelinuxguy,
    thanks alot ,

    after renameing thoese files,
    easyapache still shows that message during the instalation

    tnx
    Kas.

  8. #8
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    What version of mysql are you using?
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  9. #9
    - mysql (4.1.11-standard)

    and do I have to unckeck php 4.3.11 in php module and check php 5.0.4 instead or them both should be cheked ?

    Tnx
    Kasra
    Last edited by kasra; 05-28-2005 at 12:07 PM.

  10. #10
    no idea ??

Posting Permissions

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