O'Reilly logo

Web Host Manager by Aric Pedersen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Apache on a cPanel Server

All cPanel servers actually come with two copies of Apache and PHP running on them. One copy manages cPanel and WHM, and is specially configured for them. The other copy serves public websites and can be directly configured by you to meet the needs of your clients.

PHP scripts must be dynamically interpreted by the web server each time they are accessed so that appropriate output can be generated. Hence, PHP support must be added to Apache in the form of a PHP module. If this support isn't added to Apache, PHP scripts will just be downloaded to the user's computer every time they try to access one.

When referring to the two copies in this book, we will call the cPanel and WHM copy of Apache and PHP the "back-end" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required