Before starting to edit the file, please notice that the ";" symbol stands for a comment, so any change to a
commented line will have no effect! For example, if you want to edit the error_reporting parameter, you
have to edit the last line and not the first one because it is commented!
;error_reporting = E_ALL & ~E_NOTICE
;;
- Show only errors
;;
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
;;
- Show all errors
;
error_reporting = E_ALL & ~E_NOTICE
OK, let's analyze the parameters that can be changed:
error_reporting: if set to E_ALL will also show NOTICEs, which are not errors. If you face problems please change this setting from:
error_reporting = E_ALL
to
error_reporting = E_ALL & ~E_NOTICE
upload_max_filesize: set the maximum size of the files you can upload. If you will upload big learning object please change it from:
upload_max_filesize = 2M
to:
upload_max_filesize = 24M
This parameter works together with another one:
post_max_size: set the maximum data size that can be stored through the "post" method. You have to specify the same size of upload_max_filesize, please change this setting from:
post_max_size = 8M
to:
post_max_size = 24M
max_execution_time: if you want to upload large files or run intensive queries (such as database backup, report and so on) please change this setting from:
max_execution_time = 30
to:
max_execution_time = 300
memory_limit: if you have errors related to the amount of memory allocated for the process during some operations please change this setting from:
memory_limit = 8M
to:
memory_limit = 16M
The last issue is related to the DomXml() function and extension. It is used to work with XML data (currently adopted by the doceboLMS only for SCORM support, but we will add more import/export functions that will use XML).
To enable DomXml() on your easyphp installation please proceed as follows:
- Right click on black E
- Stop easyphp
- Right click on black E
- Configuration/Extension
- Flag domxml
If during the Apache startup phase you see some error messages please:
- Search for a dll called iconv.dll
- Copy it on system32
- Restart apache
If you have a previous installation of easyphp 1.6, please uninstall it and manually delete all the folders related to the old easyphp 1.6.
If you don't use easyphp, you have to configure your php.ini as follows (the example is for Windows).
Please change from:
;extension=php_domxml.dll
to
extension=php_domxml.dll
For security reason set:
allow_url_include = Off