Portal Home > Knowledgebase > Apache and PHP


Add your own php.ini file to the crontab command
If you want to use your own php.ini in the implementation of cronjobs, add the following to the...
Can I use short tags in PHP scripts
Yes you can. The settings of PHP (short_open_tag) allow you to use short tags in PHP scripts.
Disable TRACE or TRACK method in Apache web server
If you like to keep your VPS hosting server or dedicated server secure you may need to disable...
Execution of HTML as PHP
To be able to handle php script in .html file , you need to add the following in the .htaccess...
How to do URL redirection
You can do URL forwarding from the web hosting control panel. Once logged in click on Redirects....
How to increase PHP memory limit
If you like to increase the PHP memory limit in any folder you just create a file called php.ini....
How to increase the size of uploaded files in PHP
The standard maximum size of the file that you can upload in PHP is 2MB, but some scripts require...
How to turn off register_globals in PHP
In each directory where you want register_global to be turned off, place the following php.ini...
How to use Apache mod_rewrite
QHoster.com has installed Apache mod_rewrite on all web hosting servers.To enable mod_rewrite, it...
Internal Server Error or Error 500
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable...
Options, IndexOptions, DirectoryIndex, ErrorDocument with .htaccess
1. Authorization and prohibition on listing the content of the folderWhen you open a website...
Permissions of the PHP files
To avoid problems, it is best to set the permissions of PHP scripts to a maximum of 755.
PHP modules installed on the web hosting
Normally the web hosting servers have standard installation of the following PHP modules:...
PHP version
You can see the version of PHP when you log in your web hosting control panel and select...
What is the path to Perl
The first thing you should do is adjust your scripts to use the correct path to the Perl...
Where to put CGI files
CGI files will work from any folder on your hosting. However, we advise you to keep them in...

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.