Hosting Question? Find the Solution -

KNOWNHOST KNOWLEDGE BASE

Browse our Guides, Articles, and How-To's

How to change the PHP version in DirectAdmin?

Category: DirectAdmin
Tags: # # #

Every day, new updates of softwares releasing so do the PHP versions are also getting updated. Security practitioners always recommend using the latest PHP versions for better security and performance. In this article, you will learn about, How to change the PHP version in DirectAdmin? 1. First, to login into DirectAdmin control panel visit,  https://your-domain.com:2222 or https://IP-address:2222 or https://server-hostname:2222. […]

Unlike its counterpart, DirectAdmin still requires some manual modification in order to adjust certain values outside of the DirectAdmin panel. This makes DirectAdmin require a bit more hands-on knowledge for those savvy with command lines and for those and those that aren’t — this article is to tell you what to change and how to […]

The Basics Let’s talk about PHP Handlers, we’ll be going over Apache’s many different available PHP Handlers. We’ll explain what each one is, what its best at doing, and any pros and cons regarding that handler. Our wish is that this guide provides you with helpful information which is informative for you so that you […]

PHP OPcode Cache Install Guide

Category: Guides
Tags: # # # # # # #

Overview Each time when PHP script executes on the server it goes through the following stages: tokenizing, parsing, compilation, and interpretation. PHP opcode caching allows skipping the first 3 stages by storing pre-compiled scripts in shared memory and reusing them. This significantly increases the performance of running PHP scripts. 
 It is important to know […]

A common error seen, however rarely known or understood is the “headers already sent” error. Which may look similar to this: Why does it happen? Premature end of script headers “actually means”, the script stopped for whatever reason before it returned any output to the web server. This can be an extremely difficult error to […]

A common error seen, however rarely known or understood is the “headers already sent” error. Which may look similar to this: Why does it happen? To understand why headers must be sent before output it’s necessary to look at a typical HTTP response. PHP scripts mainly generate HTML content, but also pass a set of HTTP/CGI headers […]