Skip to content

Tag: php

How to install PHP mbstring on CentOS 6.2

How do I install mbstring with PHP on CentOS 6.2 I’ve tried: But no packages were found? Answer do the following: under the section updates, comment out the mirrorlist line (put a # in front of the line), then on a new line write: now try: (afterwards you’ll probably want to uncomment the mirrorli…

ISPConfig 3, a ninja sets my open_basedir

I have a PHP library that I’d like to share to several vhosts on my server, but the open_basedir directive is causing troubles. I use ISPConfig 3 to manage the sites. PHP Warning: include(): open_basedir restriction in effect. File(/var/toaster/latest/__server/core/cms.php) is not within the allowed pat…

How to load balance a php application?

I am looking for guides, advice, or samples of how to load balance a php application. My setup is Ubuntu 10.04 and PHP 5.3. I have never load balanced servers before and I am looking for any help that is offered. Update: It’s a web application that is expected to have a few hundred users using it at the…

Memcached not showing up in phpinfo()

I’ve installed libmemcached and memcached pecl extension for php and for some reason it’s not installing correctly? i’ve got memcached.so in /usr/lib64/php/ with the right permissions and libmemcache.so in /usr/local/lib/ Everything seemed to build correctly without error, and I restarted ap…