Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2001
    Posts
    5,383

    Compile PHP Without Mbstring

    Due to a few problems with the mbstring which can be found here:

    http://www.vbulletin.com/forum/showt...&postid=347929

    We are trying to disable mbstring, however it's not going to plan

    This is our original configure

    './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mcrypt=/usr/lib/libmcrypt' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd=../gd-1.8.4' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-imap' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--enable-versioning' '--with-zlib'
    This is what we have done:


    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mcrypt=/usr/lib/libmcrypt --with-xml --enable-bcmath --enable-calendar --enable-ftp --with-gd=../gd-1.8.4 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-imap --with-kerberos --with-ming=../ming-0.2a --enable-magic-quotes --with-mysql --with-pear --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --enable-versioning --with-zlib
    Not to sure why it's not working. Compile's succesfully but then we receive, something about /libexec/libphp4.so cannot start server /usr/kerberos/lib/libcom_err.so.H: shared object not open

    Any idea's?
    Clustered Hosting With Continuous Data Protection (CDP)
    http://www.solidinternet.com
    8 Years of hosting excellence!

  2. #2
    Join Date
    Apr 2001
    Posts
    2,588
    Robert, I had the same issue and I had to recompile without mbstring. I didn't know that buildapache ( assuming this is a cpanel beast ) gave you the option to select php modules until yesterday ( call it lack of documentation ). I was having the same issue as you above when I was compiling manually, then I gave it a shot with buildapache yestereday and it went as smooth as a babies bum. See my post @ the cpanel forums: http://forums.cpanel.net/read.php?TID=5121

  3. #3
    Join Date
    Nov 2001
    Posts
    5,383
    LOL Thanks, I wrote myself a little guide on how to do it manually after this anyway
    Clustered Hosting With Continuous Data Protection (CDP)
    http://www.solidinternet.com
    8 Years of hosting excellence!

  4. #4
    Join Date
    Apr 2001
    Posts
    2,588
    No worries mate Actually I have been thinking of putting together a bit of a faq page myself with all the little dingmywhos I find out, just haven't gotten around to it yet.

Posting Permissions

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