how to increase php memory limit?

charmingduck
charmingduck used Ask the Experts™
on
how to increase php memory limit? I'm with godaddy.

I already tried all the methods it says, but none of them worked.
http://drupal.org/node/207036
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You must find your php.ini file and search for this line:

memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

and change it to what you want

Author

Commented:
I'm on a windows server, the Absolute Hosting Path is D:\Hosting\mynumber\html

But the Loaded Configuration File is on C:\php5\php.ini

Looks like they are on different servers, what do I do?
Do you have more servers installed on your computer? What server are you running, apache? is that the only php.ini file on your system? Have you changed the value in C:\php5\php.ini, and it didn't work?
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Author

Commented:
I'm talking about the godaddy server, it's a windows server, I do have a php.ini that I have access to in the root folder, and I changed the memory limit to 99M. The hosting path is D:.....

When I went to the php file with the phpinfo(), it shows that the system loads a php.ini file on C:..., which is a different path, so I guess it's not loading the php.ini file in my root folder.

What do I do?
My opinion you should ask for some assistance from a godaddy admin. If you do not have access to that file, I dont think you can do something.

Author

Commented:
Ha, it's fixed, just something to share,

To do this, you can place a php5.ini file in the root foler, and change the limit to what you want.

Author

Commented:
not complete

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial