≡ Menu

Lighttpd

PHP Find / Extract Substrings

Q. How do I find out if a string stored in a variable contains a particular substring using PHP? How do I find out (extract) first 5 character of a particular string using Apache and PHP?
[click to continue…]

PHP Send Email

Q. How do I send an email using PHP and Apache webserver under Linux / UNIX operating systems? How do I send email from a PHP Script?
[click to continue…]

FreeBSD: Nginx FastCGI PHP Configuration

Q. How do I configure PHP as FastCGI under FreeBSD Nginx webserver?
[click to continue…]

Q. I'm using PHP along with latest version of Apache. Only <?php and <script> tags are recognized. Many of my scripts are broken. How do I allow the <? tag also?
[click to continue…]

FreeBSD: Install PHP xcache Opcode Cacher

Q. How do I install and configure xcache under FreeBSD operating systems for Apache, lighttpd or ngnix web server?
[click to continue…]

Q. WordPress and many other open source application developers asks users to protect PHP apps using Suhosin patch to get protection from the full exploit. Suhosin is an advanced protection system for PHP installations. It was designed to protect your servers from various attacks. How do I install Suhosin under RHEL / CentOS / Fedora Linux?
[click to continue…]

Q. I've followed your Xcache php 5.x opcode cacher installation under RHEL 5 for my vbulltin board. I see good boosting in performance. Now I've installed 2nd VB forum on the same server and I see all sub-forums hosted from 1st forum. So I had to disable Xcache. I want Xcache for both board on same host. How do I fix this mess?
[click to continue…]