You can view the PHP configuration by running a php page with the line: echo php_info();
In BrowserCRM, such a page is provided at:
http://<your-browsercrm-path>/setup/help/phpinfo.php
There are various ways to change the PHP configuration, depending on your server and hosting setup.
The PHP configuration is controlled by the php.ini file, on both Windows and Linux systems.
Change the parameter in the php.ini file. After editing the php.ini file, usually you must restart your web server for the changes to take effect.
Some hosts (including Bluehost) require you to add a custom php.ini in each directory where you require the custom values.
If your host or configuration allows you to override values using a .htaccess file, then rename the file in the browsercrm directory named default.htaccess to just .htaccess and uncomment the appropriate line
Add a php_value line in your Apache config file, optionally in a VirtualHost block
The least recommended solution, you can add custom code to the file prepend.inc which initialises every BrowserCRM page request. For example, you can add:
ini_set('memory_limit','128M');
It is required that error_reporting does not include E_NOTICE.
Some hosting companies run PHP in safe_mode. We cannot support BrowserCRM in safe_mode. See Recommended Hosting Companies
The following PHP parameter values are recommended:
It is essential that the error_reporting level does not include E_NOTICE.
error_reporting = 2039 or: error_reporting = 6135
The above values are the binary representations of the following: error_reporting = E_ALL & ~E_NOTICE
memory_limit = 90M #If you receive very large mails you can set memory_limit even higher, for example 128M. #memory_limit = 128M file_uploads = 1 max_execution_time = 90 upload_max_filesize = 8M
Bluehost one of our recommended hosting companies requires a custom php.ini file in each directory where you require a custom configuration.