![]() |
|
|
|
|
|
|
2
2nd November 10:17
External User
Posts: 1
|
It sounds to me like the "allowed memory size" went back to the default
after they upgraded php. I usually have to update some of my config files after an upgrade. Nothing seems strange to me here... But maybe I am missing something. Your clients shouldn't have a clue about the php.ini file, nor should they ever have to worry about it. However, I assume you mean the clients of the hosting company, which would be you. It is my opinion that you, as a PHP developer, have a responsibility to understand what the php.ini file is, what it does, and how to change it if necessary and you should have this knowledge before you begin writing code that would be used by anyone but yourself. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- |
|
|
3
2nd November 10:17
External User
Posts: 1
|
Yes, I use the service of the hosting company and I'm "the client".
![]() Also, I have (some) knowledge of what php.ini is and what I can/have/dare to change. And it's not first time I had "conflict" with "limited memory" and every time I knew what caused and how to fix it. Also, the app is not written by me, it's Gallery2 (http://www.gallery2.org/) and they "can't" do wrong code ![]() Though, what if "some guy" signed up for an account, installed Gallery or Joomla or Drupal through Fantastico and - got his message? of course, support will help him (do it for him) to edit php.ini, but it shouldn't happen at the first time, right? And, as I said, I don't want to make a big deal for hosting company because they are good and this is first time something came up. Just want to know why happened, what caused the error. -afan |
|
|
5
2nd November 10:17
External User
Posts: 1
|
PHP 5 uses more RAM than PHP 4, both to start up, and on a
script-for-script basis. It has more features, more OO complexity, and uses more RAM, plain and simple. The PHP Dev Team increased the default/recommended memory limit from 8 M to 16 M with the release of PHP 5. I think they even documented this change, but you'll have to dig that out for yourself. Your hosting company probably kept the old php.ini without realizing that they needed to read the docs and change it. ymmv -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? |
|