RSS Feed
Knowledgebase : PHP and Apache
   


Several options exist for handling web server errors. For example, rather than showing the standard ugly error page that pops up when you reach a website that doesn't currently exist you can make your error page pretty! Useful! Fancy! DEFAULT The defau...
_NOTE: please review the basic How to Update Apache [https://kb.asmallorange.com/customer/portal/articles/1603681?b_id=4859] before continuing. This article continues with advanced options for Apache/PHP._ In the EasyApache utility, there is an option f...
As a web designer or developer, it is important to know how to use the htaccess file to your advantage. It is a very powerful tool, and can even work as a deterrent for bandwidth thieves, exploits, and hackers. Below are some common examples of rules to c...
You can now modify the PHP version on your domain super easily, if you're a current Shared hosting customer, with the PHP Selector module in cPanel. WITH PHP SELECTOR WHAT IS PHP SELECTOR? PHP Selector resides in your cPanel dashboard. You can modify ...
Sometimes, your site may require a local adjustment to the default or system-wide php.ini values. This might be to increase the maximum file size allowed to upload through a form, or some other setting. Most of our systems run PHP with suPHP, which requ...
To parse HTML files as PHP scripts, create a file named '.htaccess' located at '/home/USERNAME/.htaccess' (replace 'USERNAME' with your actual cPanel username). Inside the file, add the following line: AddHandler application/x-httpd-php5 .htm .html .php...
See how to modify the PHP version of your domain in our handy Knowledgebase article here ​https://kb.asmallorange.com/customer/portal/articles/1603504-modify-the-php-version-on-your-domain [https://kb.asmallorange.com/customer/portal/articles/1603504-modi...
To implement cache-control with shared hosting, place the mod_expires [http://httpd.apache.org/docs/1.3/mod/mod_expires.html] directives in your .htaccess file. For example, if you have scripts located in '~/public_html/javascripts/', make a new .htacce...
PHP 5 currently runs under the suPHP module, and executes as a CGI. This means that all scripts will run under your User ID, and NOT the user ID of the web server. All files must be owned by your user ID and the permissions must be 640 for files and 755...
UPDATING APACHE Before you begin, you may wish to review the cPanel Apache Configuration Guide.: http://docs1.cpanel.net/twiki/bin/view/EasyApache3/WebHome [http://docs1.cpanel.net/twiki/bin/view/EasyApache3/WebHome] Your WHM control panel includes an ...
WHAT IS PHP.INI? The php.ini file is where you declare changes to your PHP settings. You can use the default settings for the server, change specific settings by editing the existing php.ini, or create a new text file and name it php.ini. There are sev...
PHP 5.5 [http://php.net/archive/2013.php#id2013-06-20-1] is available to ALL of our customers. We maintain PHP 5.5 as part of our standard web application stack available to our customers which includes PHP 5.3, as the default PHP processor, and PHP 5.4 a...
Help Desk Software by Kayako fusion