fHi
I'm brand new and green here so please bare with any daft questions.
When I was installing I got the caution about only having 8m php memory.
My web host said I need to add the appropriate line of code in the php.ini file.
Where can I find this file?
Also bare in mind I'm a php numpty and am just starting to get my head around cms issues etc.
So pretend you're talking to a 10 year old and you'll be fine.
Cheers
Darren
php 8m
Re: php 8m
The php.ini file is on the server... it's not very friendly of your hoster to say you should add it to php.ini yourself and not give any instructions on how to do so.
If your webhost said you should add the line yourself, the php.ini file is probably in your home directory and you should be able to access/modify it using ftp or a web-based admin interface.
Add (or change) this line:
(change the 8M to 16M or 32M, that should be more than enough)
While you're at it you might as well increase the maximal execution time (in seconds, defaults to 30):
If your webhost said you should add the line yourself, the php.ini file is probably in your home directory and you should be able to access/modify it using ftp or a web-based admin interface.
Add (or change) this line:
Code: Select all
memory_limit = 8M;
While you're at it you might as well increase the maximal execution time (in seconds, defaults to 30):
Code: Select all
max_execution_time = 60;
Re: php 8m
Hi
That's brilliant, thanks.
they did tell me what to replace, I just assumed the php.ini file was part of the CMS itself.
Right, I'll go do that now.
Cheers
Darren
That's brilliant, thanks.
they did tell me what to replace, I just assumed the php.ini file was part of the CMS itself.
Right, I'll go do that now.
Cheers
Darren
Re: php 8m
Hi
I spoke to soon.
I've had a look on the server and there doesn't seem to be a PHP.ini file.
they did say if there wasn't one to create one.
If I have to create one can you paste the information I need to include in a post so I can do that, and which directory should I upload to, the root?
many thanks.
Darren
I spoke to soon.
I've had a look on the server and there doesn't seem to be a PHP.ini file.
they did say if there wasn't one to create one.
If I have to create one can you paste the information I need to include in a post so I can do that, and which directory should I upload to, the root?
many thanks.
Darren
Re: php 8m
In the root should be fine, just create a text file with these two lines and upload it.
Regards,
D
Code: Select all
memory_limit = 32M;
max_execution_time = 60;
D
Re: php 8m
Hi
Ok, that's fantastic, thank you.
Darren
Ok, that's fantastic, thank you.
Darren
Re: php 8m
You're welcome. To see if it is working check install/install.php (if you didn't delete the install directory already) or create a my_phpinfo UDT as described here:
http://wiki.cmsmadesimple.org/index.php ... mmended.29
http://wiki.cmsmadesimple.org/index.php ... mmended.29