Custom php.ini Not Working

Custom php.ini Not Working

Posted by: jonathanb
Posted on: 2008-08-12 19:24:00

I have compiled a custom php.ini and php.cgi for two domains.

They were working fine earlier today and then later this afternoon my domains (which use scripts with ioncube loaders) reported errors in loading ionCube.

I recompiled php.ini and php.cgi and made sure the handlers were in .htaccess, and followed all of the Wiki instructions.

The phpinfo file shows that ionCube loaders aren't present and it's not reading my php.ini or php.cgi.

One of my phpinfo.phps.
http://tniwwt.com/phpinfo.php

Re: Custom php.ini Not Working

Posted by: dortinau
Posted on: 2008-08-12 22:07:00

I'm having exactly the same problem...just started happening out of the blue earlier tonight. I've opened a support ticket as it appears to be out of our control.

Re: Custom php.ini Not Working

Posted by: edmund
Posted on: 2008-08-12 23:46:00

Same here except that for me, it's SOAP that isn't working.

What the heck is going on? Did they overwrite our custom PHP binaries?



Re: Custom php.ini Not Working

Posted by: jonathanb
Posted on: 2008-08-13 04:09:00

I'm glad that it's not just me who was having a problem. Two critical scripts for my business rely on ionCube and due to this error they are offline!

Re: Custom php.ini Not Working

Posted by: JasonK
Posted on: 2008-08-13 06:01:00

Has anyone heard from Dreamhost on this issue?

Re: Custom php.ini Not Working

Posted by: owi
Posted on: 2008-08-13 06:09:00

I have the same. Everything just started non working out of the blue by yesterday. And when i started support ticket they have told me that it is my fault because my php was out of date!!! Now i recompiled everything and it is still not working, like the .htaccess was empty

Edited by owi on 08/13/08 06:10 AM (server time).

Re: Custom php.ini Not Working

Posted by: jonathanb
Posted on: 2008-08-13 06:39:00

They told me also, that it was my fault.

Edited by jonathanb on 08/13/08 06:39 AM (server time).

Re: Custom php.ini Not Working

Posted by: nitetalker
Posted on: 2008-08-13 06:41:00

I'm having the same problem.

I have WordPress redirect directives in my .htaccess and they are being processed, but the AddHandler and Action directives are not. Weird.

The WordPress plugin my site relies on requires magic_quotes_gpc to be on, so I need my own php.ini.

Re: Custom php.ini Not Working

Posted by: kolo
Posted on: 2008-08-13 07:36:00

Same thing. So I'm happy tham I'm not alone.

Submitted ticket 2 hours ago - no reply yet.

Re: Custom php.ini Not Working

Posted by: nitetalker
Posted on: 2008-08-13 08:36:00

Yeah, kolo, it's comforting not to be the only one affected when something like this happens.

I can't submit a help ticket because I'm not the principal account holder and therefore don't have access to the account control panel.

So when someone gets this resolved, please post the solution in this thread.

Re: Custom php.ini Not Working

Posted by: jonathanb
Posted on: 2008-08-13 09:05:00

I just got an email saying my ticket is now in the top priority server outage queue. This is great news meaning that DreamHost knows the problem and is now fixing it!

My business will be back online before I know it and I commend DreamHost for the fast response.

Re: Custom php.ini Not Working

Posted by: zeuben
Posted on: 2008-08-13 09:08:00

yeah -- having same EXACT issue.
i've got 2 HEATED messages in to support.
i can't wait to see what they say.
sometimes DH REALLY pisses me off.
but most of they time DH is really great.

Re: Custom php.ini Not Working

Posted by: lynnmonk
Posted on: 2008-08-13 09:30:00

I went to great pains to get Ioncube working again after the PHP update a couple of months ago. I managed to do the custom updates (eventually - since I am not a programmer!) and it has been working fine again until recently. Like the rest of you, my mailing list script is down again and I'd like to know why!!

Http://www.WobblyPromotions.com
Http://www.Wobblymusic.net/RecordStore.htm
Http://www.GiveMeARecordDeal.com
Http://www.SeniorSounds.com

Re: Custom php.ini Not Working

Posted by: jonathanb
Posted on: 2008-08-13 10:23:00

This may just be me, but my custom php.ini just began working again a few minutes ago.

Re: Custom php.ini Not Working

Posted by: JasonK
Posted on: 2008-08-13 10:36:00

Mine is still not working. Still no word from dreamhost yet either.

Re: Custom php.ini Not Working

Posted by: kolo
Posted on: 2008-08-13 11:20:00

Everything is back to normal now. My own php5.cgi and php.ini is used.
But i'm still upset, that my site was not working for about a day...

Re: Custom php.ini Not Working

Posted by: kolo
Posted on: 2008-08-13 11:26:00

For those, who still have this problem:

Try to change php version for site in panel and change it back. Worked for me ;)

Re: Custom php.ini Not Working

Posted by: mcphat
Posted on: 2008-08-13 11:41:00

I'm having the same problem. The php4/5 toggle in the panel did not fix my problem. I have a ticket in support now.

Re: Custom php.ini Not Working

Posted by: dortinau
Posted on: 2008-08-13 11:47:00

My site is back up, and php info confirms my custom php.ini is loading once more.

But still no word from Support in response to my ticket. My client now has zero confidence in DreamHost. Bummer.

Re: Custom php.ini Not Working

Posted by: mcphat
Posted on: 2008-08-13 11:49:00

Woot fixed now.

Re: Custom php.ini Not Working

Posted by: edmund
Posted on: 2008-08-13 12:45:00

Lucky you.. I sent them multiple e-mails last night right after it started happening, and even told support about your first message and the other message from the other guy after.

I still haven't heard anything from them, and our php still isn't working correctly.

I hope they get mine working soon or at least get some kind of reply.

Good luck to everyone else and I'll keep my fingers crossed and hope they get mine working soon.

Re: Custom php.ini Not Working

Posted by: edmund
Posted on: 2008-08-13 12:50:00

Agree here about the service.. I've had my issues with them too, but in general, they are a good ISP and support is usually good. I know it's difficult to keep a lot of servers all running well too, so, unfortunately, it's part of the business for them as well as us.

I'll just keep my fingers crossed for now and hope they get us running back the way we were soon.

Re: Custom php.ini Not Working

Posted by: edmund
Posted on: 2008-08-13 15:18:00

Yeah !! I'm back up too and things are running again..

Thanks for taking care of this DH..


Re: Custom php.ini Not Working (partial solution)

Posted by: nyphot
Posted on: 2008-08-14 07:57:00

Ditto kolo. I got it to work again by changing php version to 4, then immediately changing it back to 5. Thanks for the suggestion!

I'm repeating the post because I think it's helpful when looking at the string of subjects to see what might have worked for people. (Hmm... that only helps in some views. Oops.)

I also want to comment that I heard back from DH, but they simply said that it's not really their problem if the custom php.ini breaks and that's not the preferred way of doing things. I hope some of you get more positive responses from them!

Edited by nyphot on 08/14/08 07:58 AM (server time).

Re: Custom php.ini Not Working (partial solution)

Posted by: nitetalker
Posted on: 2008-08-14 12:08:00

kolo's trick fixed it for me as well.

What I want to know is what caused the problem and is there anything we can do to prevent it from happening again ..

Re: Custom php.ini Not Working (partial solution)

Posted by: letsconnect
Posted on: 2008-09-08 19:38:00

how do you change php version in your panel

Re: Custom php.ini Not Working (partial solution)

Posted by: sdayman
Posted on: 2008-09-08 21:04:00

You have to edit your Fully Hosted domain to select the PHP version. Domains -> Manage Domains then Edit.

-Scott

Re: Custom php.ini Not Working (partial solution)

Posted by: letsconnect
Posted on: 2008-09-08 21:10:00

apparently you can't do that anymore
they took the option off the site

which is no good because i was going to attempt that as a possible fix to my problem :S

Re: Custom php.ini Not Working (partial solution)

Posted by: sdayman
Posted on: 2008-09-09 06:11:00

Oh yeah, they disabled PHP4 for new domains. Maybe it's possible to modify .htaccess to use php4 as the handler for your php files.

-Scott

Tags: phpinfoloadershtaccessscripts