Common php compile errors and the corresponding missing lib
Continue reading
Monthly Archives: January 2013
WordPress php upload error of “Missing a temporary folder”
When uploading an image in wordpress, got a “Missing a temporary” error?
Skype Mic static/distorted on Parallel windows 7 virtual machine
When having a audio chat on skype on Parallel Desktop Windows 7 Virtual machine. micro-phone input has a lot of static/distorted. How to fix?
Continue reading
A note on php-fpm Chroot
php-fpm is a fcgi process manager. it supports chroot of worker processes by use of chroot directive for each pool.
A note on Mysql Connectivity in Chroot
When mysql chroot and web server chroot are different, we can still connect to mysql in our web app using 127.0.0.1, i.e. via tcp/ip. But localhost/socket will not work, since the two chroots are different.
If mysql chroot is under web server chroot, We can then use localhost/socket to connect to mysql from within webserver chroot in our web app.
Performance wise, socket is better than tcp/ip due to the overhead of tcp/ip.
libmCrypt php-mcrypt on CentOS 6
Encounter error like “configure: error: mcrypt.h not found. Please reinstall libmcrypt.” when trying to build php on CentOS 6 or alike?
Can not Yum install php-mcrypt?
This is becasue CentOS 6.3 Yum base repository dropped support of libmCrypt php-mcrypt… Here is a quick fix to install libmCrypt php-mcrypt on CentOS 6 (and RHEL 6 etc.)
How to uninstall the Google voice and video chat plug-in
Uninstalling the voice and video chat plug-in
Nginx Chroot setup
Nginx Chroot set up how-to.
This is the way we compile from source.
There is another way in which we leverage an existing nginx rpm and build up a chroot env. out of it. we will visit this option in another post.
Mysql 5.5 chroot set up
Mysql is the most popular database server. Chroot is preferred to enhance security.
Can not find any documentation on how to do this elsewhere? Read on…