Subscribe via

Setting up a FreeBSD 6.2 Web Server: Optimizing PHP (Part 6)

Comments Off on Setting up a FreeBSD 6.2 Web Server: Optimizing PHP (Part 6)

This was by far the easiest step in my optimization process. To optimize PHP, I used the software called eAccelerator. Compared to all of the other steps, this one had the best ROI for me.

When a PHP script is executed, the PHP interpreter will spend some time interpreting the script then compile the interpretations into opcodes for execution. eAccelerator will precompile your PHP code into ready executable opcodes and manage that opcode cache for you. If your PHP script does not change, Apache will directly call the precompiled opcodes (saving interpretation and compilation time).

This is what I did to set it up: Read on…

Setting up a FreeBSD 6.2 Web Server: Optimizing MySQL (Part 5)

Similar to Apache, you do not want MySQL to start hogging all the memory in your system. To configure your MySQL settings, open your /etc/my.cnf file for editing. Under the [mysqld] section of the file modify the following variables: Read on…

Setting up a FreeBSD 6.2 Web Server: Optimizing Apache (Part 4)

After my WAMP days were over I declare that I shall no longer fall victim to an inefficient/unoptimized lifestyle. So here is my home brew optimization tutorial (yes, I really did it myself this time!). Read on…

Setting up a FreeBSD 6.2 Web Server: Apache, MySQL, etc (Part 2)

I admit that I cheated, but since I’m newbie in FreeBSD, I am allowed to follow another very nice tutorial on deploying a server found on Open Addict. My job is not to recite the tutorial to you. Instead I will comment on the tutorial’s instructions and point out any roadblocks I ran into during my installation process. Read on…

OMNINOGGIN has migrated to the ever stable FreeBSD 6.2 Platform!

After months of dreaming and being lazy,
weeks of acquiring working hardware,
days of setting up the OS, Apache, and MySQL,
hours of migrating wordpress data and configurations,
minutes of settings up network IP routing,
and seconds of testing,
I have finally migrated this blog from WindowsXP to FreeBSD 6.2

FreeBSD Logo

It’s time for me to grow some horns. I’m looking forward to seeing how much more reliable, faster, and secure the blog will become. I’ll soon be posting tutorials on the troubles I’ve encountered throughout this process, but for now, this is FIRST POST on the new system!