How do you change PHP settings when you can’t edit php.ini at Loopia?

You cannot edit php.ini directly on your Loopia web hosting account. However, you can override many common PHP settings on a per-folder basis by adding directives to an .htaccess file in your public_html folder. Upload the modified .htaccess with your FTP client (file upload program). Some common examples are shown below.

Memory limits per hosting package

The maximum PHP memory limit depends on your hosting package:

  • Home: 256 MB
  • Business: 512 MB
  • Business Plus: 1024 MB

If your website runs on the Boost platform, it can use an extra 2048 MB of PHP memory on top of your hosting package’s cap. This extra memory applies per website on the Boost platform, not per account. Last checked: 2026-09-30.

Values higher than your package limit will be ignored.

Show PHP error messages on the page

To display PHP errors and startup errors directly in the browser (useful when debugging, but not recommended on a live site):

php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 2047

Increase upload limits

To allow larger file uploads and POST requests:

php_value post_max_size 64M
php_value upload_max_filesize 64M

Set the PHP memory limit

To increase the PHP memory limit (within the package limit above):

php_value memory_limit 256M

Note: invalid directives or unsupported values in .htaccess can cause your website to return a server error. If your site stops working after editing .htaccess, remove the most recent change and re-upload the file via FTP.

Was this article helpful?

Related Articles