Some may have noticed that the newer versions of Chrono cause memory conflicts. I haven't had this error even with larger components such as JomSocial. Chrono has a lot of great features, but uses a TON of script to execute these features that we have all come to know and love. To increase your memory, which is by default 8MB at on Apache servers, use one of the methods below:
Shell access: only if you have root access to the server, not root access to domain.
1. create a file called test.php and put this in it
2. if you have root access and know how about shell access and have an SSH client such as Putty, change the php.ini memory limit.
3. here's how to change the memory limit via shell:
Log in as root.
Type the following and hit enter: vi /usr/local/lib/php.ini
Now that you’re in vi, hit escape a few times then type the following
and hit enter: /memory_limit
That basically does a “find” in the file you’re editing.
Press the “i” key. This puts you in “insert” mode, which basically
allows you to edit things.
Change the current setting (probably 8M) to 16M.
Press escape, then type :wq and hit enter. That says “save the file
and quit.”
Using .htaccess
this is the easiest way and the one i used
1. open .haccess. In Dreamweaver, right click on file and Open With > DW
2. add:
You're done!
Cheers!
Shell access: only if you have root access to the server, not root access to domain.
1. create a file called test.php and put this in it
<?php phpinfo(); ?>
. now upload it, and go to your browser and navigate to it. this will list all php info. Look for "Loaded Configuration File ". this will tell the path of php.ini.2. if you have root access and know how about shell access and have an SSH client such as Putty, change the php.ini memory limit.
3. here's how to change the memory limit via shell:
Log in as root.
Type the following and hit enter: vi /usr/local/lib/php.ini
Now that you’re in vi, hit escape a few times then type the following
and hit enter: /memory_limit
That basically does a “find” in the file you’re editing.
Press the “i” key. This puts you in “insert” mode, which basically
allows you to edit things.
Change the current setting (probably 8M) to 16M.
Press escape, then type :wq and hit enter. That says “save the file
and quit.”
Using .htaccess
this is the easiest way and the one i used
1. open .haccess. In Dreamweaver, right click on file and Open With > DW
2. add:
php_value memory_limit 24M
. Adjust the memory to the minimum you need to save server resources. Just experiment.You're done!
Cheers!