PHP Fatal error: Class ‘DOMDocument’ not found
Jul 22, 2014 - by kurinchilamp / / Post Comment
When setting up applications such as Magento you may come across the error message "PHP Fatal error: Class 'DOMDocument' not found ..." in your apache server log files
Reason for the error is missing log files. Issue the commands below to fix the issue
$ yum -y install php-xml php-devel
$ service httpd reload
Continue Reading
PHP: ‘Fatal error: Allowed memory size of 8388608 bytes exhausted’
Aug 02, 2010 - by kurinchilamp / / Post Comment
Reason why you see this message is due to PHP memory leakage. PHP is trying to load a large image or file into memory and is not finding enough space for it to load.
If you think, that you will need the necessary feature to upload large files then there are two ways by which you can enable this feature.
i) Edit the physical file and have the line
ini_set("memory_limit","20M");
ii) Edit php.ini and add the following line. You need to restart the apache/IIS server once php.ini file is modified.
memory_limit=32M
Continue Reading