Results 1 to 13 of 13
  1. #1

    httpd error help!

    Starting httpd: Syntax error on line 80 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: symbol zlibVersion, version libmysqlclient_14 not defined in file libmysqlclient.so.14 with link time reference
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  2. #2
    Join Date
    Jan 2004
    Location
    North Yorkshire, UK
    Posts
    4,163

  3. #3
    Yes i did, then i also tried going back to a older version
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  4. #4
    Join Date
    Jan 2004
    Location
    North Yorkshire, UK
    Posts
    4,163
    That was a bad move, degrading MySQL is not wise... you will need to recompile Apache first and then it should start.

    Are you running a control panel?

    Dan

  5. #5
    I upgraded mysql then recompiled apache. This error appeared.

    So I then went back to the old mysql and recompiled and i still get the error
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  6. #6
    Sorry for the double post but yes i run Directadmin and did a ./build all with their customapache to do the apache recompile, but i have three servers and its worked fine for those. but they use php5 and mysql5

    this server im trying to update to 4.4.4 and 4.0.21
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  7. #7
    Join Date
    Feb 2004
    Location
    Atlanta, GA
    Posts
    5,627
    what are the compilation options for php?

  8. #8
    PHP

    #!/bin/sh
    ./configure \
    --with-apxs \
    --with-curl \
    --with-curl-dir=/usr/local/lib \
    --with-gd \
    --with-gd-dir=/usr/local \
    --with-gettext \
    --with-jpeg-dir=/usr/local/lib \
    --with-kerberos \
    --with-mcrypt \
    --with-mhash \
    --with-mysql=/usr \
    --with-pear \
    --with-png-dir=/usr/local/lib \
    --with-xml \
    --with-zlib \
    --with-zlib-dir=/usr/local/lib \
    --with-zip \
    --with-openssl \
    --enable-bcmath \
    --enable-calendar \
    --enable-ftp \
    --enable-magic-quotes \
    --enable-sockets \
    --enable-track-vars \
    --enable-mbstring \
    --enable-memory-limit


    APACHE

    #!/bin/sh
    ./configure \
    --with-apache=../apache_1.3.37 \
    --with-ssl=/usr \
    --prefix=/etc/httpd \
    --exec-prefix=/etc/httpd \
    --bindir=/usr/bin \
    --sbindir=/usr/sbin \
    --sysconfdir=/etc/httpd/conf \
    --enable-module=all \
    --enable-module=ssl \
    --enable-shared=max \
    --enable-suexec \
    --suexec-docroot=/ \
    --suexec-caller=apache \
    --suexec-userdir=public_html \
    --includedir=/usr/include/apache \
    --libexecdir=/usr/lib/apache \
    --datadir=/var/www \
    --iconsdir=/var/www/icons \
    --htdocsdir=/var/www/html \
    --manualdir=/var/www/html/manual \
    --cgidir=/var/www/cgi-bin \
    --localstatedir=/var \
    --runtimedir=/var/run \
    --logfiledir=/var/log/httpd \
    --proxycachedir=/var/cache/httpd \
    --with-perl=/usr/bin/perl \
    --disable-module=auth_db --disable-module=auth_dbm
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  9. #9
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    What was your steps to upgrade mysql?
    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

  10. #10
    downloaded the mysql rpms from mysql.com

    installed the devel, server, client and shared

    then did a customapache update via

    cd /usr/local/directadmin/customapache
    rm -fr build
    wget http://files.directadmin.com/service...omapache/build
    chmod 755 build
    ./build update
    ./build update_data
    ./build all

    service httpd restart
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  11. #11
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    remove the shared rpm and try recompiling php.

    ./build update
    ./build php y
    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

  12. #12
    i see this error when compiling if that helps.


    /usr/local/directadmin/customapache/php-4.4.4/sapi/cli/php: /lib/libmysqlclient.so.14: no version information available (required by /usr/local/directadmin/customapache/php-4.4.4/sapi/cli/php)
    PHP Warning: Unknown(): Unable to load dynamic library './/usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so' - .//usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0


    P.S. i removed the shared rpm and still didn't work.
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

  13. #13
    For those wondering what the fix is for this, i deleted all the files with the name "libmysqlclient" in it then forced mysql to install again.
    NAF Web Development and Services
    Adcrier - Buy, Sell and Trade your ad space.
    List your advertising space on our site for free!
    http://www.adcrier.com/

Posting Permissions

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