A practical guide to choosing hosting for a self-hosted PHP AI application, including PHP and MySQL requirements, SSL, outbound API connections, email, cron jobs, backups, performance, and questions to ask a hosting provider.
AI PHP Apps products are self-hosted PHP and MySQL applications. That means the software runs on a hosting account you control rather than on a monthly SaaS platform managed by someone else.
You do not need an expensive enterprise server to get started. Many small-business installations can run well on quality shared hosting. The important part is choosing a host that supports the application requirements and gives you enough control to manage PHP, MySQL, SSL, files, and outbound HTTPS connections.
Before purchasing or using a hosting plan, confirm that it supports the requirements listed for your specific AI PHP Apps product. A typical installation needs:
Shared hosting places multiple customer accounts on the same server. It is usually the easiest and least expensive option.
Shared hosting is often a good fit when:
Potential limitations: lower memory or execution limits, stricter resource caps, less control over server configuration, and performance that can vary between providers.
A virtual private server provides more control and dedicated resources than typical shared hosting, but it also brings more administrative responsibility.
A VPS may make sense when your application traffic is growing, you need server-level configuration changes, or your shared-hosting resource limits are becoming restrictive.
Do not assume a VPS is automatically better for a small application. An unmanaged VPS can create more security and maintenance work than many small businesses need.
Managed hosting can provide stronger isolation, performance, and scalability while the provider handles more of the server administration. It normally costs more than ordinary shared hosting but can be worthwhile for businesses with higher traffic or greater reliability requirements.
Your server executes the PHP application. The exact PHP version and required extensions may vary by product release, so always check the product requirements.
Useful PHP capabilities commonly include:
Your host should also provide reasonable settings for memory, upload size, request size, and execution time. Applications that process larger files may require higher limits than a simple contact form or brochure website.
The database stores application information such as settings, records, activity, and other product-specific data. Your hosting plan should allow you to create a database, create a database user, assign the user to the database, and manage the database through a tool such as phpMyAdmin.
Database performance is influenced by much more than the MySQL version. Server load, disk performance, available memory, query design, and hosting quality can all affect response time.
A self-hosted AI application must be able to communicate from your web server to the AI provider over HTTPS. Some restrictive hosting environments block or limit outbound connections.
Before choosing an unfamiliar host, ask whether PHP applications are allowed to make outbound HTTPS requests using cURL. If those requests are blocked, the application may install correctly but fail when it tries to generate an AI response.
Use a valid SSL certificate and access the application through HTTPS. HTTPS encrypts traffic between a visitor's browser and your server and is an important part of protecting logins, form submissions, and other data in transit.
Many hosts include automated SSL certificates. Confirm that HTTPS is supported on the exact domain or subdomain where you plan to install the product.
Some AI PHP Apps products may send notifications, customer messages, password resets, or other email. Hosting environments differ significantly in how they handle outgoing mail.
For dependable business email, SMTP is generally preferable to relying only on basic server mail. Confirm that your host allows the SMTP connection you plan to use and that your domain's DNS records are configured appropriately for email delivery.
A cron job is a scheduled command that runs automatically on the server. It may be used for maintenance, scheduled notifications, cleanup tasks, or other background operations.
Not every product requires cron jobs, but having cron support gives you more flexibility as your application grows.
Do not evaluate storage only by the size of the application ZIP file. If a product accepts document uploads or creates stored files, usage can grow over time.
Check:
Find out what your hosting provider backs up, how often backups run, how long they are retained, and whether restoration costs extra.
A host-provided backup is useful, but it should not be your only recovery plan. Maintain your own current copy of important application files and the MySQL database.
If you are unsure whether a plan will work, send the provider this checklist before purchasing:
Unlimited storage or bandwidth usually remains subject to acceptable-use and server-resource policies. CPU, memory, process, database, and file-count limits may still apply.
For a business application, a clearly documented plan from a reliable provider is more valuable than a large marketing number.
Start with a plan that comfortably meets the product requirements and your expected usage. You do not need to buy for hypothetical traffic years in advance.
If your application later reaches resource limits, a good provider should make it possible to move to a larger plan, VPS, or managed environment without rebuilding the application from scratch.
Once your hosting environment is ready, continue with the Installing AI PHP Apps guide.
If you have questions about setting up an AI PHP Apps product, contact support and we’ll help point you in the right direction.
Contact Support