What is Nginx ?
Nginx is (pronounced "engine X") is a lightweight web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.
In This tutorial we will try to install Nginx web server with PHP5, PHP5 Ext, MySQL5 and Pecl-Memcache PHP module in FreeBSD7 server.
I assume you already have freebsd server up and running.
We will using port to install all packages.
Installing MySQL5
What is IonCube ?
Secure and license your PHP scripts with the ionCube PHP Encoder. Protect files with PHP encoding, encryption, obfuscation and licensing capabilities.
Prepare Webserver and PHP
I assume you already have apache webserver and php installed on your server.
Download IonCube and Install it :
Users with very old PEAR versions are unable to follow the PEAR upgrade
instructions on the 1/3/08 news item announcing the XML-RPC service shutdown, due to two issues:
- console_getopt current (v1.2.3) has only v2 package.xml, which older
pear installer can't read
- upgrade to pear-1.4.3 requires at least pear-1.3.3 already installed,
and some users' versions are older than that
To solved this issue we need to upgrade pear step by steps below:
What is Memcache ?
Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
What is APC ?
What is Lighttpd ?
lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that is suffering load problems.
Preparing Anything to Start Installing Lighttpd, PHP5, MySQL5 and PHP Extensions
I assume you have memcached daemon installed and running in your server.
If you still don't have memcached daemon running on your server, you need to install memcached daemon first.
You can follow this link for Installing Memcached daemon
http://wowtutorial.org/en/tutorial/63.html
In order to connect to memcached daemon with PHP extension,
First we need to reconfigure PHP to support memcache extension
Reconfigure PHP
If you get this error: "Error in my_thread_global_end(): 1 threads didn't exist"
When you access your php script that trying to MySQL server.
In this tutorial we will upgrade apache from 1.x to apache 2.x and php 4.x to php 5.x with Suhosin security patch in Cpanel server.
First we need to login into Cpanel server with root access via putty.
root@cpanel [~]#
We need to force Cpanel to update to the stable version
root@cpanel [~]# /scripts/upcp --force
## We need to wait the process until finished without any error.
Recent comments
38 weeks 6 days ago
42 weeks 3 days ago
50 weeks 5 days ago