Skip to content
Advertisement

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 mirrorlist and comment out the baseurl)

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 path(s): ([cut:several paths]) in [cut] on line 5 phpinfo() says: Loaded Configuration File: /etc/php5/cgi/php.ini open_basedir: [cut:several

Running PHP script from command line as background process

I’m trying to run a PHP script continually in the background via the command line in Linux. I have tried the command php filename.php & but it seems like the script execution terminates very quickly, while it should keep running until the process is terminated. Any suggestions? Answer Are you sure the script doesn’t contain any errors? This is what

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 same

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 apache? i also have the daemon installed. I somehow easily got the Memcache class easily installed for php before, but

Advertisement