This has always been an issue with PHP applications demanding more memory.
Most people do not have any access to the php.ini file so the easiest way, and probably the best way, because it fixes the problem for all is to edit the config.php file by adding
ini_set('memory_limit','32M'); in the first line of the code after the opening code i.e:-
Code: Select all
<?php
ini_set('memory_limit','32M');
The root of the problem is that the default set when installing PHP on a server is 8M and is a well documented issue. CMSMS from version 1.2 has been using double that at times dependent on modules installed. So could the developers add the option within the control panel to include this code to everyone's config.php by default.
It is all very well for the developers to change their own php.ini file or to do other hacks on their servers but most of us out here pay for hosting on remote servers and have little access to the server other than ftp.
Now her's the next problem: If you have no root access to the server you can't edit the config.php file. One of the things you have to understand with PHP is that it runs on the server as the root user ie Root or Apachie etc so the files it creates from scratch belong to those users and not the FTP user which your provider gives you access with. But not to worry because help is at hand with the help small application I found somewhere ages ago when I first encountered this problem when using SMF. Download the atachment which is a txt file, save it on your computer, change the file extention to .php. Upload it to your server and hit it with a browser.
Warning: If you can hit it with a browser then so can everyone else out her. I have mine in a secure area on my server so it is password protected. If it is not in a secure area someone could trash your server and files. They can upload anything to your site so use it carefully. The other way is to upload it, use it and delete it or CMOD to 600 so no one can execute it.
I hope this is helpful and I hope the developers are listening.
[gelöscht durch Administrator]