By default Apache runs all virtual hosts under the same Apache user, with no isolation between them. That makes security vulnerabilities in server-side languages such as PHP a serious threat. An attacker can compromise all websites and virtual hosts on a server as soon as he finds one site that's hosted on it that's vulnerable. To address this problem, you can deploy the Apache module suPHP, which is designed to ensure isolation between virtual hosts that support PHP.
If you develop software, you need a tool to handle bug reporting, requests for changes, and new proposals. Mantis Bug Tracker (MantisBT) is particularly effective at those tasks.
Drupal is one of the most popular open source content management systems today. Unfortunately the default Drupal installation often requires a lot of customization to meet an organization's needs, so you have to rely on Drupal's thousands of extensions to tailor the software to do exactly what you want, and that takes time. It would be easier if you could install Drupal with all the extensions that you want to use straight out of the box – and you can do just that by using Drupal distributions.
Considering migrating your server from Debian to CentOS? This article provides information on key differences between the two operating systems, along with instructions on moving your applications and configuration files.
The open source content management platform Drupal is powerful enough off the shelf, but the ease with which you can add extra modules and the flexibility that capability offers make it even more powerful.
Managing Linux software installation is usually a simple process thanks to packaging tools such as yum and APT. Building packages, however, is a whole different story. FPM (Effing Package Management - don't blame us, we didn't name it) is a simpler alternative. You can use FPM to build RPM and DEB packages and then create a repository for easy distribution across your systems.
Oscar Wilde once said, "It is a very sad thing that nowadays there is so little useless information." Given the number of RSS feeds now available, it appears things may have changed since his time. Nevertheless, you might want to get, process, and display information from an RSS feed on your site. For just showing a feed, a simple news aggregator is enough, but getting a feed directly from a web page is a thornier problem. In this article we will examine ways to fetch and process a news feed from a web page using AJAX to get the data, and see different ways of processing the resulting XML or JSON code. (If all these abbreviations make you nervous, see Jargon Untangled.)
Today, most websites of any complexity incorporate PHP code in their HTML. PHP eAccelerator can help you improve the performance of your PHP scripts by up to 10 times by caching PHP scripts in their compiled state, reducing the overhead incurred by compiling the scripts every time a user requests them. The compiled scripts are stored in and executed from shared memory, though if a script is too big, PHP eAccelerator can store it on disk. PHP eAccelerator supports PHP5 and is lighter and faster than any other optimizer I have come across.
People putting together web applications often overlook PostgreSQL in favor of MySQL, yet PostgreSQL is enterprise-ready and has been used by familiar names such as Instagram and Disqus. One advantage is a license that grants the right to use, copy, modify, and distribute the software as long as the relevant copyright notices are maintained, and that doesn't force projects that use PostgreSQL to be released as open source code. You can use PostgreSQL and PHP to build a dynamic web site with data residing in a PostgreSQL database, and if you are familiar with using PHP to communicate with MySQL, it is relatively easy to make the transition to Postgres. If you don't know anything about PostgreSQL, start by reading PostgreSQL Administration for MySQL Admins to learn how to install PostgreSQL and create a simple database.
Most administrators know that PHP, the widely used scripting language, can be embedded in HTML and works with all major web servers. What's less widely known, however is that you can run PHP in different ways on your server. The most common option is the mod_php module that's runs by default in the Apache HTTP Server. If your primarily goal is performance, however, you should consider other options. PHP-FPM (FastCGI Process Manager) and PHP FastCGI each have pros and cons, but either can speed up the performance of your PHP.