My hosting service provider was using PHP version 5.1.4. My site was working correctly on this version using require() functionality. Then I check my site yesterday only to find that there is an error with require..
The error involves: 'URL file-access is disabled in the server configuration'.
When I first signed up with the hosting company, I had a similar issue. But in that first instance, it was merely an issue of downloading my php.ini file and changing the second variable 'allow_url_fopen' to on (default was off) and uploading it back. So now as of yesterday, my page will not fully load. I double checked my php.ini file and this variable is still set to on (perfect.. this is what I was looking for).
I sent in the issue with the hosting service provider.. Basically, they replied back saying that my include path is this: include_path='.:/usr/local/php5/lib/php'..
But they turn around and tell me that I need to reference /usr/bin/php instead. I suppose this is done in the php.ini file? While I await their feedback (which can be up to 24 hours), I'm just curious if it's something I do on my end since they upgraded php. The paths of the site folders and directories seem to be correct and checks out.. so if I need to alter something in the php.ini file, what is it?
Cheers,
NRG