Advertisement

01.04.2008 at 09:45PM PST, ID: 23060436
[x]
Attachment Details

php memory setting problem in a shared server environment

Asked by lsolheim in PHP Scripting Language, WebApplications

Tags: memory, php, server, problem, setting

I lease space on shared servers and I am increasingly finding that I am running into apps that require at least 64M (my server "memory limit" is set to only 8M).

I have been able to get around this by inserting ini_set("memory_limit","64M"); into different config files for each app.

My question is: Is there a standard file that I can install with changes like these into any app, or will I have to contact each script developer to ask which file I need to insert the config information into.

I know the file I should be editing is php.ini, but I do not have access to that file on a server level.  Can I create a php.ini file that I can place into the script folder that will override the server copy?Start Free Trial
 
 
[+][-]01.04.2008 at 09:51PM PST, ID: 20588018

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, WebApplications
Tags: memory, php, server, problem, setting
Sign Up Now!
Solution Provided By: darron_chapman
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.04.2008 at 11:06PM PST, ID: 20588227

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.05.2008 at 09:11AM PST, ID: 20589680

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.06.2008 at 07:52AM PST, ID: 20594256

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628