Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th February 2012, 17:42
xarion xarion is offline
Junior Member
 
Join Date: Jun 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default server setting and php open_basedir

Hey guys

I am battling to add a path to the configuration. under the server configuration there is a "PHP open_base dir" field but even after changing it phpinfo() returns the default one, anything I am missing?

Xarion
Reply With Quote
Sponsored Links
  #2  
Old 29th February 2012, 11:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

The filed under server settings is the default for new sites. the setting for existing sites is in the website settings on the options tab.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th February 2012, 20:22
xarion xarion is offline
Junior Member
 
Join Date: Jun 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ahh that explains it, now check at this error...

[Wed Feb 29 21:14:17 2012] [warn] [client 41.222.38.67] mod_fcgid: stderr: PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/Net/IPv4.php) is not within the allowed path(s): (/var/www/clients/client6/web22/web:/var/www/clients/client6/web22/tmp:/var/www/wug.za.net/web:/srv/www/wug.za.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php/:/usr/share/pear/Net/) in /var/www/clients/client6/web22/web/includes/ipcalc.php on line 16, referer: http://www.wug.za.net/myipdns.php
[Wed Feb 29 21:14:17 2012] [warn] [client 41.222.38.67] mod_fcgid: stderr: PHP Warning: require_once(/usr/share/pear/Net/IPv4.php): failed to open stream: Operation not permitted in /var/www/clients/client6/web22/web/includes/ipcalc.php

I got it working by copying the phpfile, would have been nice not to hack it to get it to work :P
Reply With Quote
  #4  
Old 1st March 2012, 09:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
 
Default

Thats most likely a file permission issue and not a issue with open basedir, php tends to show a false open basedir error message when a file can not be opened e.g. because it is not owned by the website user when suexec is enabled for the site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 19:01
Newly Installed ISPConfig3 on Ubuntu 8.04 : login redirect fail ? cripperz Installation/Configuration 5 22nd March 2009 12:15
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 14:06
Help. Apache don't start payne Server Operation 3 17th August 2007 15:57


All times are GMT +2. The time now is 00:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.