PHP script hosting requirements for couponPHP
Check your hosting before you install couponPHP.
PHP script hosting needs more than a plan with “PHP supported” on its sales page. Your website must connect to a database, write selected files and run scheduled imports. A missing loader or blocked outbound connection can leave the homepage working while coupon updates fail.
A good host makes these details clear before you pay. This guide explains the requirements for a coupon website and the questions that separate a suitable account from an expensive installation problem.
couponPHP is a self-hosted PHP coupon and deal script. You install it on your hosting and keep your stores, coupons and deals in your own database. Our product features explain what the software does; the checks below establish whether your server can run the build supplied to you.
PHP script hosting: the required server features
An old compatibility list can lead you to choose the wrong environment. The recovered couponPHP requirements named PHP 5.4 or later and offered special builds for PHP 5.3 and older. Those releases are obsolete, so they aren’t a sensible basis for a new installation. Contact support to confirm the build for your PHP version, including any proposed PHP 8 hosting.
The requirement list covers these components:
- PHP and a database: PHP runs the application; MySQL stores its content and settings. If your host supplies MariaDB, confirm compatibility with the supplied build and installation process.
- Apache with mod_rewrite, or an equivalent Nginx rewrite configuration: public store and category URLs must reach the correct application routes.
- ionCube Loader: some files are encoded in the Owned, Professional and Unlimited plans. The loader must match the PHP environment and supplied files. The Developer plan is completely unencoded.
- Writable folders and permission control: the script needs permission to write files in selected folders. Your host must allow the required ownership or chmod changes.
- PHP cURL: this allows the script to retrieve data from couponFeed.
- GD: PHP’s image library supports resizing and image manipulation.
- iconv: character conversion supports permalink creation for foreign-language content.
Wikipedia’s ionCube overview explains that the loader executes encoded PHP files. Availability on the server doesn’t prove compatibility with your specific package. You’ll need the right combination of PHP, loader and application build.
Shared hosting or VPS: choose control you can maintain
A small coupon site doesn’t automatically need a virtual private server (VPS). Say you’re launching a UK homeware site with a few store pages and scheduled imports. Shared hosting can be a practical starting point if the provider supports the full requirement list and lets cron jobs finish reliably.
The trade-off is control. On shared hosting, your provider decides which loaders are available, how long jobs can run and how much CPU your account may use. Ask for those limits in writing. “Unlimited storage” won’t answer whether an import will be stopped halfway through.
A VPS gives you more control over PHP versions, extensions and server settings. It also creates maintenance work: security updates, backups and service monitoring need an owner. A managed VPS may suit you if you need that control but don’t want to administer the server yourself. Choose based on measured workload and available help, rather than assuming the largest plan is safer.
How to check PHP and each extension
Hosts sometimes use one PHP configuration for website requests and another for the command line. For example, the admin area may load ionCube correctly while cron runs a different PHP executable without it. Checking both environments catches that mismatch.
If you have SSH or terminal access, these commands show the active command-line setup:
php -v
php --ini
php -m
php --ri curl
php --ri gd
php --ri iconv
php -m lists loaded modules. Look for curl, gd and iconv; then confirm the database driver your couponPHP build expects, such as mysqli or pdo_mysql. php -v commonly reports ionCube when it is loaded, and php -m can show it among the Zend modules. Record the loader version, rather than checking its name alone.
Without terminal access, your hosting control panel may provide extension settings. A temporary PHP file containing <?php phpinfo(); ?> is another way to inspect the website environment. PHP’s phpinfo documentation is the reference for this diagnostic output. Look for the PHP version, loaded configuration file, ionCube and separate cURL, GD and iconv sections.
Protect the diagnostic page while using it and delete it afterward. It can reveal server paths and configuration details. If you can’t inspect the environment yourself, your host can provide the same information without putting a public page online.
Check rewriting, database access and writable folders
An extension list won’t reveal every installation problem. Apache’s mod_rewrite is a web-server module, so it won’t appear in php -m. Wikipedia’s rewrite engine explanation describes how Apache and Nginx map public URLs to application routes.
Ask your Apache host whether the supplied rewrite rules are permitted, including .htaccess rules where used. Nginx doesn’t read Apache .htaccess files; it needs equivalent server configuration confirmed for couponPHP. After installation, test a store page directly in a fresh browser tab. A working homepage alongside broken store URLs usually warrants checking routing first.
For the database, confirm that you can create a database user, import the supplied schema and make the connection from PHP. A database listed in your control panel isn’t proof that the application has usable credentials.
For folders, follow the installation instructions supplied with your build. Don’t apply chmod 777 across the website to silence an error. Correct ownership and the narrow permissions needed for designated writable folders reduce unnecessary access. Your host can help identify the PHP process user and suitable permission settings.
Pre-purchase checklist for your host
A short compatibility request is more useful than asking “Will this script work?” Send this checklist to the provider before committing to PHP script hosting.
| Check | Question to ask before purchase | Evidence to request |
|---|---|---|
| PHP build | Can this account run the version confirmed by couponPHP support? | Exact PHP version and change policy |
| Database | Is MySQL available, or can the proposed MariaDB setup be checked? | Database version and PHP driver |
| Rewriting | Is mod_rewrite allowed, or can you configure equivalent Nginx rules? | Confirmation for application routes |
| ionCube | Can the required loader run in web and cron environments? | Loader version for each environment |
| cURL, GD, iconv | Are these PHP modules enabled? | Module list or protected phpinfo output |
| File permissions | Can designated folders be writable by PHP? | Ownership and permission guidance |
| Cron | Can I schedule the supplied import command? | PHP path, schedule restrictions and job limits |
| Resources | What memory, execution-time and account limits apply? | PHP settings plus provider-enforced limits |
| HTTPS | Can I secure the site and make outbound HTTPS requests? | Certificate setup and outbound-access policy |
| Recovery | Can I restore both files and the database? | Backup retention and restore procedure |
Cron, resource limits and HTTPS need separate checks
A site can run normally while its content stops updating. couponFeed uses a cron job to pull offers, so reliable scheduling is part of the hosting decision. Your host should allow the command supplied with your build, using the correct PHP executable. Our cron setup guide provides further context.
Ask about memory_limit and max_execution_time, then about separate restrictions on command-line jobs. There’s no universal resource minimum stated here: a larger import or image workload needs more capacity than a quiet store page. After installation, record job duration and errors. If jobs overlap or are killed, investigate the limit before increasing the schedule frequency.
HTTPS protects logins and administrative requests in transit. Confirm certificate renewal and test the site without mixed-content warnings. Feed imports also need outbound HTTPS access. Wikipedia’s cURL overview explains its HTTP and HTTPS transfer capabilities; PHP’s cURL extension is separate from having a shell curl command. A failed certificate check calls for correcting the trust configuration, not disabling verification.
Frequently asked questions
Can I run couponPHP on shared hosting?
Shared hosting can be suitable if it supports the supplied couponPHP build, the required PHP extensions, database access, URL rewriting and scheduled cron jobs. Ask the provider to confirm ionCube availability for both website requests and cron. A plan that advertises PHP without those details is not enough to establish compatibility.
Which PHP version should I choose?
Contact support to confirm the build for your PHP version before ordering hosting or changing an existing account. The old requirements mentioned PHP 5.4 and special builds for older releases, but those versions are obsolete. Send support the proposed PHP version, loader version and server setup rather than assuming every modern release is supported.
How do I check whether the required extensions are installed?
With terminal access, run php -m to list modules and php -v to inspect the PHP version and loader information. Check curl, gd and iconv, plus the database driver required by your build. A temporary protected phpinfo page checks the website environment. Compare both environments because cron can use a different PHP configuration.
Confirm the environment before you order
Ask support if you need help choosing a host. Email support@couponphp.com with the proposed PHP version, database and loader details, plus the provider’s checklist answers. Once compatibility is clear, you can choose your license plan without guessing whether the hosting account will support it.
