How to change PHP settings (php.ini)

Changes to PHP must be written to a local php.ini file placed on your website.

If you for example wants to change the maximum size for uploaded files, you will have to create a php.ini file with the following content. You can place the file where ever needed - usually in the website root (/web/) on the FTP-server.

upload_max_filesize = 256M

In this case the maximum file upload size is changed to 256 MB.

NB. Changes to php.ini has a TTL (time to live/cache) on five minutes. This means that changes will take effect within five minutes.

  • php.ini
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I check traffic and quota in the Control Panel?

You can find the traffic usage in the Control Panel at Email -> Mailbox traffic.The statistics...

I already have a database - how do I import it?

If you have an database created, you can log in to it at RemoteMySQL. Then you click the empty...

What can I do if I forgot my password to the controlpanel?

You can get access to the controlpanel by going to this adresss: http://your-domain.dk:8080....

How do I change the password for my FTP account?

First you'll need to log in to your Control Panel and access the tab Sites -> FTP-Accounts....

How do I install Wordpress (or another CMS)?

Wordpress and other CMS', such as Joomla, can be installed through the eControlPanel. The...