Current time: 04-23-2014, 12:34 PM Hello There, Guest! (LoginRegister)

Post Reply 
custom php.ini seems impossible
01-30-2007, 05:58 PM
Post: #11
custom php.ini seems impossible
well just so ya know i got it all working, figured it out myself. wanna know the problem? the php.ini line that references the ioncube loader. it's not needed as ioncube can be loaded without it, so i tried removing it and all is fine now.
i'm sure you woulnd't have figured that one...
Find all posts by this user
Quote this message in a reply
01-30-2007, 06:02 PM
Post: #12
custom php.ini seems impossible
Good Deal! And hopefully that 100MB memory limit won't get regularly used by your script, and all will be well for your neighbors on your server.

I'm glad you got it "sorted" Wink

--rlparker (aka "jackass")
Find all posts by this user
Quote this message in a reply
01-30-2007, 06:05 PM
Post: #13
custom php.ini seems impossible
i can remove that line if it makes you feel better. i seriously don't think it's a problem as it usually isn't even needed. usually php.ini doesn't have to be changed, but since i couldn't turn on that buffering setting through htaccess i had to edit php.ini. so it's not a needed line so i can remove it. i can ask what the purpose of it is, but trust me, if my site starts hogging memory like crazy DH will let me know...
Find all posts by this user
Quote this message in a reply
01-30-2007, 06:10 PM
Post: #14
custom php.ini seems impossible
Quote:but trust me, if my site starts hogging memory like crazy DH will let me know...
You can bank on that. Smile

Remember, there *is* a limit imposed by DreamHost on the amount of memory a single user can consume, regardless of any limit you set for PHP. Running into this latter limit can result in your site throwing errors when under heavy use.

Mark

--
Save $50 on DreamHost plans using PRICESLASH promo code (Click for DreamHost promo code details)
Visit this user's website Find all posts by this user
Quote this message in a reply
01-30-2007, 06:20 PM
Post: #15
custom php.ini seems impossible
Quote:i can remove that line if it makes you feel better.
In a perfect world, it should not make any difference; a properly written script should manage it's own memory and fail gracefully upon unexpected error rather than "running away". There is a good chance that, Dreamhost running PHP as CGI under SuEXEC will result in their prockiller just aborting it if it gets out of hand.

The reason I was concerned is that just because a script is "commercial" does not necessarily mean it is well coded, and some such poorly coded applications will take, and use, all the RAM you give them. This is one of the reasons that memory limits on shared servers, where folks are allowed to run their own and 3rd party scripts, are usually set with a much lower memory limit - usually in the neighborhood of 12-16 MB.
Quote:if my site starts hogging memory like crazy DH will let me know
That is true enough also. You certainly do not need to remove the line for my sake (you are not on the same server as me, so I'm only "generally" interested Wink ). The lower limit is only there as a safety mechanism - since DH lets you change it, the responsibility that goes with a higher setting lies with you. I just wanted you to know what was involved. Actually, if you review the thread, I was just curious to know why your application thought it needed that much RAM.

It could be that it doesn't, but that the developer figured "I'll take all I can so it will run faster" - which is *great* if you are on a dedicated server and have lots of RAM but "not so great" if a lot of other users are sharing the RAM in a box. Wink

--rlparker
Find all posts by this user
Quote this message in a reply
01-30-2007, 07:01 PM
Post: #16
custom php.ini seems impossible
Quote:I've got to agree with you there. SC "Jackass" Jessey sounds better to me than RL "Jackass" Parker, but YMMV. Alliteration, or something, you know.
It looks like you might be losing track of your various personnae, Bob. This is really much more of an "Anonymous2" type post than an "Ardco" post. Are you having some difficulty keeping the various personalities/puppets sorted? Wink

--rlparker
Find all posts by this user
Quote this message in a reply
01-30-2007, 07:22 PM
Post: #17
custom php.ini seems impossible
The only troll I see in this thread is you.
Take it to PM if you're going to be an idiot, your pointless bickering has nothing to do with the OP's topic nor is it helping him with this issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-30-2007, 07:25 PM
Post: #18
custom php.ini seems impossible
Quote:Look who's the troll searching for "dirt" now, Mark. Wink
Considering the number of times rlparker and myself seem to post simultaneously to a thread, I think the likelihood of us being the one person is remote, but I am flattered you would think that. Wink

Mark

--
Save $50 on DreamHost plans using PRICESLASH promo code (Click for DreamHost promo code details)
Visit this user's website Find all posts by this user
Quote this message in a reply
01-30-2007, 07:25 PM
Post: #19
custom php.ini seems impossible
If you could actually explain what trouble your having in understanding the wiki's instructions, which to me is what it appears to be, I think most of us would be happy to help you.
It just seems you're more interested in blaming someone/something (the wiki) for your own inability or lack of experience.
I personally don't mind helping you, if you can get around that, and preferably explain in detail which portion of the wiki you had problems with. Your original post, as it currently stands, doesn't honestly help me figure out where you went wrong in the wiki.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-30-2007, 07:30 PM
Post: #20
custom php.ini seems impossible
Actually, I'm also flattered that you think Mark and I might be a single person...he often gives better answers than I do, and I'd love to take credit for them.

*Plus* that would mean that "rlparker/raz2133" would have (now) 4,029 posts on this forum..and that *would* be a lot more impressive that "98 posts to go to DreamMaster!" Wink

--rlparker
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: