View Single Post
  #1 (permalink)  
Old 13-05-2007, 00:47
markpeers markpeers is offline
new member
 
Join Date: May 2007
Posts: 2
Default PHPWebsite Hosting broken - help!

Hi

I've had a website hosting hosted here at EUKhost for a few years now, it runs phpwebsite CMS and has been working fine. Recently the security settings in PHP have been changed on the server to block the php function "ini_set". This has broken phpwebsite which uses this function to set the path correctly for accessing other modules.

The line of code that seems to be causing the problem is:
Code:
ini_set('include_path', '.' . PATH_SEPARATOR . PHPWS_SOURCE_DIR . 'lib/pear/');
Please can someone suggest how I get around this problem? I've seen mention of using .htaccess to set the php_value include_path but I'm not sure how to do this.

Thanks

Mark
Reply With Quote