Victor Kimura
asked on
enable or install PHP extension "mbstring"
Hi,
I'm wondering how would enable or install PHP extension "mbstring"? I have a Centos machine 5.x. I have a VPS with cPanel and WHM. Do I do this through WHM or should I use SSH and command line operations? If so, what command do I use to enable or install? Or where would I go through the WHM to enable it?
Much thanks,
Victor
I'm wondering how would enable or install PHP extension "mbstring"? I have a Centos machine 5.x. I have a VPS with cPanel and WHM. Do I do this through WHM or should I use SSH and command line operations? If so, what command do I use to enable or install? Or where would I go through the WHM to enable it?
Much thanks,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi boon86,
Thanks for those links. That's helpful. I'm wondering if anyone has tried the following as an option to add in extensions like so:
CUSTOM_PHP_FLAGS="--with-x sl" /scripts/easyapache
Advanced users can use
FULL_CUSTOM_PHP_FLAGS="'-- with-xsl' '--with-apxs=/usr/local/ap ache/bin/a pxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-gd' '--with-jpeg-dir=/usr/loca l' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6 ' '--with-gettext' '--with-iconv' '--with-imap=/usr/local/im ap-2004g' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--enable-memory-limit' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pgsql=/usr' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-wddx' '--with-xmlrpc' '--with-zlib'" /scripts/easyapache
Can somebody confirm for me the operation of "CUSTOM_PHP_FLAGS" and "FULL_CUSTOM_PHP_FLAGS" within the cPanel environment?
Am I correct in assuming that if I specify --with-xsl via CUSTOM_PHP_FLAGS, will this simply add that flag to anything I choose in easyapache, where FULL_CUSTOM_PHP_FLAGS will override ALL php flags chosen in easyapache?
The above was from http://www.webhostingtalk.com/archive/index.php/t-565940.html
The other option was this:
Edit /home/cpapachebuild/builda pache/buil dscript
There are about a dozen lines that start with ./configure and have all of the php options as listed in my original post. add --with-xsl to the end of all of them.
Execute this -
sh /home/cpapachebuild/builda pache/buil dscript
Has anyone tried them personally? Which one is safer/faster?
Thanks,
Victor
Thanks for those links. That's helpful. I'm wondering if anyone has tried the following as an option to add in extensions like so:
CUSTOM_PHP_FLAGS="--with-x
Advanced users can use
FULL_CUSTOM_PHP_FLAGS="'--
Can somebody confirm for me the operation of "CUSTOM_PHP_FLAGS" and "FULL_CUSTOM_PHP_FLAGS" within the cPanel environment?
Am I correct in assuming that if I specify --with-xsl via CUSTOM_PHP_FLAGS, will this simply add that flag to anything I choose in easyapache, where FULL_CUSTOM_PHP_FLAGS will override ALL php flags chosen in easyapache?
The above was from http://www.webhostingtalk.com/archive/index.php/t-565940.html
The other option was this:
Edit /home/cpapachebuild/builda
There are about a dozen lines that start with ./configure and have all of the php options as listed in my original post. add --with-xsl to the end of all of them.
Execute this -
sh /home/cpapachebuild/builda
Has anyone tried them personally? Which one is safer/faster?
Thanks,
Victor
not sure about --with-xsl maybe you can try and let us know what did you get
ASKER
I didn't try this option: CUSTOM_PHP_FLAGS="--with-x sl" /scripts/easyapache
I just ran easyapache and went through the process. I did run into a build problem which I'm trying to resolve now with cPanel. I submitted a ticket and they respond fairly quickly. I hope and pray that it'll be resolved quickly too. =)
Thanks for your replies.
I just ran easyapache and went through the process. I did run into a build problem which I'm trying to resolve now with cPanel. I submitted a ticket and they respond fairly quickly. I hope and pray that it'll be resolved quickly too. =)
Thanks for your replies.
ASKER
Will that work and not have any effects on WHM/cPanel? I'm only familiarizing myself with WHM.
The other question is that I assume this will install it as a module rather than being compiled. Correct?
Thanks,
Victor