Is an In-Box OS Upgrade Worth the Risk?

Many Linux operating systems offer the ability to upgrade to a new version of the OS without wiping the hard drive and reinstalling. On a dedicated server, you might call this an in-box upgrade. Generally, a new version of your Linux distribution will include a newer kernel version and newer software. Is such an upgrade […]

PHP Troubleshooting Tips

PHP is a versatile server side scripting language that powers many of the world’s websites. Sometimes, however, things can go wrong. The following are tips to help you troubleshoot your PHP installation.
Scripts do not execute – If you load a PHP page and see the contents of the file rather than the proper […]

How to Fix Out of Memory Script Errors

A common problem you might face when running PHP scripts is an “out of memory” error. It usually looks something like this:
PHP Fatal error: Out of memory (allocated 51795435) (tried to allocate 84524 bytes) in /home/user/public_html/randomdirectory/file.php on line 750
First, it is important to understand what this error means. PHP is configured to only allow a […]

Improve PHP Performance with HipHop

HipHop can improve your server’s PHP performance. No, I do not mean the hip hop you might hear on your favorite rapper’s latest album. In this case, HipHop refers to some PHP improvements originally created by Facebook and then released as free and open source software. HipHop can significantly increase PHP web application speed and […]

The Dreaded 500 Internal Server Error and How to Fix It

It is a common error on websites, yet it is one of the most annoying for web developers and system administrators. The dreaded 500 “Internet Server Error” has plagued webmasters for years. Sometimes, it is very easy to fix, but it may be difficult to find out what the problem actually is because it is […]

Install LAMP on an Ubuntu Server Quickly and Easily

LAMP is a software stack for servers that refers to Linux Apache MySQL and PHP. It is still one of the most common configurations for servers and web applications, and it is very easy to install on Ubuntu servers. Simply follow these instructions:
The first part of LAMP, namely Linux, should already be installed, so […]

Hot Fix: Apache Displays Contents of PHP Script Instead of Running Script

If you have ever installed Apache HTTP Server and had it up and running perfectly without any issues, you are truly a genius or very lucky. Inevitably, you are going to encounter a few hiccups if you are doing things manually. With all of the imaging, virtual machines, and hosting automation technology, few system administrators […]

Common PHP Security Risks

PHP is a server-side scripting language that is among the most popular choices for web applications. Web administrators love it, and some of the world’s top websites rely on it. Because it uses server-side scripting, however, there are inherent risks involved with using it. By knowing those risks and how to deal with them, you […]

Back to the Basics #10: Web Applications

Web applications, as the name plainly states, are applications that run on the web rather than on a person’s personal computer or laptop. This makes them extremely versatile, since any device capable of connecting to the web can use them. The methods for developing and deploying web apps vary, but the end result is essentially […]

Back to the Basics #8: Application Security

When covering application security, there are three basic application types you should consider:

Standard applications that you install directly on your server’s operating system and run only when you need them
Applications that are run as daemons or services, starting at boot time and continuing to run as long as the server is on
Web applications […]

Back to the Basics #5:Other Server Software

Choosing your operating system and web server software is only the beginning. If you need a custom dedicated server built to your specifications, you will need to specify several other types of software, including database system, DNS, mail transfer agent (MTA), scripting languages (PHP, Ruby, Perl, etc.), firewall, virtualization, and more.
DNS – The management of […]

An Introduction to HTML5 Storage

System administrators do not normally concern themselves with web development, and blogs like Dedicated Server School are not normally in the business of discussing web design techniques, but there are some exceptions. The first notable exception occurs when the actions of web developers directly affect the performance of a server. Such is the case with […]

How to Install FFMPEG in CentOS

Websites have graduated far beyond simple text-based one-page documents. Most include all sorts of multimedia, from videos to full animated applications. Many small website owners may rely on cloud service providers for their music and video streaming, but if you ever need to host your own media content, you will probably need a program that […]

Moving from One OS to Another

In most situations, an individual or company will keep the same operating system for the entire time they use a server.  While there may be occasional upgrades, these usually do not involve switching to another OS completely.  At the end of the server’s life, however, you may decide to go with a different OS.  If […]

How to Fix PHP Out of Memory Errors

If you have used enough PHP scripts on web servers, you have undoubtedly encountered “out of memory” errors at some point.  While they are annoying and even damaging to business when they interrupt service on a website, they are relatively easy to diagnose and fix.
If you do a quick search for a solution to this […]

How to Manage MySQL Users in cPanel

MySQL is a powerful database server that you can use in conjunction with server-side scripting like PHP to enhance your websites with dynamic content.  By default, the only way to manage MySQL is from the command line. Fortunately, there are web-based tools like phpMyAdmin and cPanel that provide other options.
In cPanel, you can create and […]

How to Increase Your PHP Upload Limit

Picture this:  You have a shiny new web application that allows your website’s users to upload videos through a web interface.  They are meant to be short videos that do not take up much space or bandwidth (100MB or less), but when you finally open the doors to let the users have at it, you […]

6 Considerations When Starting a New Server

Making the decision to start your own dedicated server can be both exciting and overwhelming. There are numerous aspects of the server you must consider, from security to total cost of ownership. It is not easy, but it can be very rewarding for your business, organization, club, or personal use. The following are six considerations […]

Which Web Server Software Should I Use?

When picking web server software, you should use the same considerations you used when choosing an operating system.  You will also have to consider compatibility with your operating system and the best overall efficiency for the type of site or sites you want to run.
The following are some of the factors […]

How to Try Out Server Upgrades Before Installing

Major OS or software upgrades can be exciting for a system administrator, but they can also be a little frightening.  What if something breaks?  What if you lose everything and have hours or even days of down time?  This can be especially troubling if you have web applications and are […]

XCache Fast PHP Code Cacher

Earlier this week, we looked at GZIP compression for Apache HTTP Server, which helps reduce the load time on websites and minimize bandwidth usage.  Many websites use some form of server-side scripting to produce on-the-fly dynamic content pages.  PHP is one of the most popular scripting languages of the web, and XCache is a useful […]

Benefits and Disadvantages of Server-Side Scripting

Server-side scripting is a method of programming for the web that relies on software running on the server to execute instructions rather than the user’s browser or installed plugins.  In this way, the resulting page or web application appears to be a regularly generated HTML page at the time of loading.  Some of the benefits […]

Server Scripting Language Round-up

When running a dedicated server, you don’t necessarily need to know how to program, but you do need to know what programming languages are available and how to install them. What follows are a list of some of the most important scripting language that you may want to have installed, available, and in a […]

How to Create a phpinfo Page

A phpinfo page is a simple PHP script that usually only has one line of code:
<? php phpinfo(); ?>
You can create a phpinfo.php file and place it anywhere on any website on your server to view the current PHP configuration. That single line of code will return a plethora of detailed information about your […]

How to Hide Apache Header Information

One of the features of Apache that can sometimes be a liability is the web server header. This is an identification string that is sent to user agents. By default, Apache will tell the world about your Apache version, modules that you have installed, and even your operating system and version. Attackers […]

WAMP Dedicated Servers

If you hang out in the IT community long enough, you are bound to hear the term LAMP thrown around by people involved in web hosting, dedicated servers, and web development. The LAMP stack, as it is commonly called is the combination of a Linux-based operating system, Apache HTTP Server, MySQL database […]

PHP the Module vs PHP the CGI Script

Some debates seem to have no end. Which came first, the chicken or the egg? Team Edward or Team Jacob? Paper or Plastic? In the world of dedicated servers, the ongoing debate is whether to use PHP as an Apache module or as a separate CGI script.
The current trend with most […]

How to Troubleshoot an Internal Server Error

In an earlier post, I went over some of the common error codes for Apache web servers. Most of them, like “404 Not Found”, are pretty easy to troubleshoot; however, one of the more obscure errors is “500 Internal Server Error”. It is clear from the error that something running on the […]

Manage Web Images with ImageMagick

ImageMagick is a powerful software suite that gives users the ability to create, manipulate, and process images in a variety of formats, including JPEG, TIFF, and PNG. It comes with a collection of command line tools for batch image conversion and many other tasks. It also serves as a frontend for a […]

PHP Command Line Interface

PHP is a versatile tool that millions of sites use to power their content management systems and user interfaces. Its flexibility and dynamic nature make it deal for the era of the Internet that has been dubbed “Web 2.0”. It is, therefore, no surprise that the highly praised LAMP (Linux+Apache+MySQL+PHP) stack includes PHP.
What […]