How do I Switch between PHP versions?

Our servers run PHP4, PHP5.2, PHP5.3, PHP5.4 and PHP5.5. PHP5.3 runs by default. You can change the default PHP version from the hosting control panel. In there you will find an icon with the name “Switch PHP Version”. You can also override the default PHP version in a per-directory basis by using a web server … Read more

Sending mail from PHP

The php mail() function is described as follows: bool mail ( string $to, string $subject, string $message [, string $additional_headers [, string $additional_parameters]] ) This basically means that the first three parameters (to, subject and message) are requiered in order for the function to work. But we also have the option to send additional headers, … Read more

How do I set upload related PHP directives in php.ini?

When having problems with file uploads because of the size of the files being uploaded it is worth having a look at the following php directives: memory_limit, upload_max_filesize, post_max_size, max_execution_time and max_input_time. memory_limit Sets the amount of memory that a php script can use. By default it is 8Mb. upload_max_filesize This sets the maximum allowed … Read more