How to change the PHP Version for Subdomains or Addon Domains

Follow these steps to change the version of PHP used by the Addon Domains or Sub-domains on your server: Navigate to the sub-domain or Addon Domain where you want to change the PHP version. Edit your .htaccess file, or create one if it doesn’t exist. At the top of the file, add the following line […]

Read More

PHP Configurations and what they do

Below are the various configurable options available, each designed to enhance your experience by providing flexibility and customization tailored to meet your specific needs and preferences: 1. `ASP_tag`: Enables the use of ASP-style tags in PHP. 2. `Auto_append_file`: Automatically appends the specified file to the end of the script. 3. `Auto_prepend_file`: Automatically prepends the specified […]

Read More

What are asp_tags?

asp_tags is a configuration directive in PHP that determines whether or not PHP will recognize <% and %> as PHP tags. These tags are similar to those used in ASP (Active Server Pages). When asp_tags is enabled, PHP will recognize both the standard <?php ?> tags and the ASP-style <% %> tags. If it’s disabled, […]

Read More

What is PHP in simple terms?

PHP, which stands for Hypertext Preprocessor, is a scripting language used for web development. In simple terms, it’s a tool that enables websites to do more dynamic and interactive things. When you visit a webpage and see things like forms, login pages, or dynamic content that changes, PHP often plays a role. It processes information, […]

Read More
CRON Job

How do I set up a CRON job?

You can set up a cron job or ‘scheduled task’ in the Scheduled Tasks section of your hosting packages control panel. StackCP -> Web Tools -> Scheduled Tasks These are commands or jobs that are set to run regularly. They can be set to run at intervals of minutes, or the same time every hour, day, or month. On the Scheduled […]

Read More

Which PHP functions are disabled on your WordPress platform?

Our WordPress platform has been specifically designed to offer the best security, performance and reliability for WordPress. As a result, we have specifically tuned firewall rules and layers of protection to help keep WordPress sites secure. As part of this protection, a small number of PHP functions have been disabled, as we’ve found that they’re often […]

Read More

Why is MySQL support missing from PHP installation?

Our web servers run PHP 7+ as standard. In this version of PHP, the MySQL module has been replaced by either the ‘mysqli’ or ‘PDO_MySQL’ extension. Read more about the MySQL extension deprecation on PHP’s website. If you have a website using this module we recommend updating your code to use the latest modules. However, if […]

Read More

What is ionCube PHP Loader?

The ionCube PHP Loader is a software component used for encoding and decoding PHP scripts. It’s primarily used to protect PHP applications and scripts from being easily viewed, modified, or copied by unauthorized users. The ionCube PHP Loader works by converting PHP code into a format that is not human-readable, making it more challenging for […]

Read More

Is it safe to update my PHP version?

Updating your PHP can instantly improve page load times as well as improve compatibility and security. If you’re switching between any 7.* version (7.0, 7.1, 7.2, 7.4, 7.4) then all modern plugins and themes should be compatible. However, if you update the PHP version and notice any negative behaviour changes then you can change back […]

Read More

How to view PHP settings on the server

View PHP settings with phpinfo Function During web development, you must often verify PHP settings. This may be performed by running a script that uses the phpinfo() function. When you open the page in a web browser, the script displays all of your website’s PHP setup information. To use the phpinfo() function to view PHP settings: Create […]

Read More