icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » All Things Techy » WHM Complete Solution » Custom php.ini's

WHM Complete Solution Managing and customizing your free copy of WHMCS!

Reply
 
LinkBack Thread Tools Search this Thread
Old March 12th, 2008, 1:58 PM   #1 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
Custom php.ini's

I was wondering if anyone else has had this problem, or wants to attempt to create it.
When using whmcs and putting a custom php.ini in the same directory that you installed in, do you get an ionCube loader error thing?
I was just wondering...

Thanks for reading
I need a nap
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2008, 2:04 PM   #2 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
Quick question, did you install WHMCS and the custom php.ini? Or have you had WHMCS, everything was working fine and then you upload the php.ini file and everything went down hill?
__________________
Roxanne
Surpass Staff

Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2008, 2:06 PM   #3 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
Quote:
Originally Posted by Roxy View Post
Quick question, did you install WHMCS and the custom php.ini? Or have you had WHMCS, everything was working fine and then you upload the php.ini file and everything went down hill?
It was just WHMCS and everything was working fine, and then I put in the php.ini and it threw the error. But removing the php.ini fixed the problem. I was just wondering if it was the same for others
It's just that I had a script run to put my php.ini into all of my folders, and then I was freaking out because WHMCS stopped working, and then I contacted support, and they said ionCube is working fine, so I created a clean install and it was working fine, and then I realized it was the php.ini that was the only difference.
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2008, 2:14 PM   #4 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
1. Check that the php script that you are attempting to execute has permissions of no more than 755 - 644 will work just fine normally, this is not something that will need to be changed in most cases.

2. Check that the directory permissions that the script resides within is set to a maximum of 755. This also includes directories that the script would need to have access to also.

3. Check that you do not have a .htaccess file with php_values within it. They will cause a 500 Internal server error, when attempting to execute the script.
The php_values will need to be removed from your .htaccess file and a php.ini put in its place, containing the php directives as explained above.

But instead of a 500 error, you're getting an ioncube error, correct? Have you tried uploading the extra ioncube file that was included in the WHMCS download? I remember reading about it, to upload if errors like that occurred. (of course I could be mistaken)
__________________
Roxanne
Surpass Staff

Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2008, 3:43 PM   #5 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
I had it uploaded, but then support installed ionCube on the server, so I removed it.
I didn't need a custom php.ini for WHMCS, but I need it in a lot of the other folders.

I just thought the custom php.ini changed only the information included in it, and everything else was inherited from main php.ini set by surpass. But it's not. See no custom php.ini with php.ini. If you search, there's no ionCube loaded. One also has functions disabled while the other doesn't.

Is there a way to make it use a custom php.ini and inherit the rest from the main php.ini?
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2008, 3:45 PM   #6 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
That question, I'm not to sure about, but I will ask around. Until then, hopefully someone will see this thread and have an answer for you. =)
__________________
Roxanne
Surpass Staff

Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On