Web Hosting Talk







View Full Version : open_basedir causing problems with Modernbill installation


Nullified
11-02-2004, 12:55 AM
I am trying to install modernbill on my system but upon system test everythign is ok except:
php variable:
open_basedir

Setting:
/home/hlh:/usr/lib/php:/usr/local/lib/php:/tmp

Description:
open_basedir should NOT be set in your php.ini file to allow proper connection between the billing system and the Server API.

I have searched all of my php.ini with wordpad's find function and my eyes for the open_basedir variable and it isn't there.
Am I retarded?

Haze
11-02-2004, 01:31 AM
Its probably in your httpd.conf

Nullified
11-02-2004, 01:49 AM
Yes it is:
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/hlh:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>

It's like that for all 3 of the dedicated ip sites I have on the server (except the /home/hlh changes per site).

What would happen if i deleted that entire if statement from the domain which i am installing moderbill on? Would that fix it?

Haze
11-02-2004, 02:11 AM
Originally posted by PiMPaRSeBiSh
SNIP...

What would happen if i deleted that entire if statement from the domain which i am installing moderbill on? Would that fix it?

If you comment the lines out or remove them, it should ignore openbase for that account. Remember to restart apache after you've made the changes. Might be wise to comment them out first of all if your unsure, then remove them after if you've confirmed thats worked.

Nullified
11-02-2004, 02:14 AM
k ty for your wiseness. :)

apollo
11-02-2004, 03:19 PM
add curl to allowed/included path and it should work I guess.. I remember someone posting this before..