| WHM Complete Solution Managing and customizing your free copy of WHMCS! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
DemonicAngel
Super #1
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 |
|
|
|
|
|
#2 (permalink) |
|
URB4N 5K1LLZ
Super #1
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!
|
|
|
|
|
|
#3 (permalink) | |
|
DemonicAngel
Super #1
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
|
Quote:
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. |
|
|
|
|
|
|
#4 (permalink) |
|
URB4N 5K1LLZ
Super #1
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!
|
|
|
|
|
|
#5 (permalink) |
|
DemonicAngel
Super #1
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? |
|
|
|
|
|
#6 (permalink) |
|
URB4N 5K1LLZ
Super #1
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!
|
|
|
|