I change old server from: 1 core x 2 Ghz Xeon, 10GB HDD, 1GB RAM (CentOS 6 + webmin) to new one: 2 cores x 2Ghz Xeon, 50GB HDD, 3 GB RAM (CentOS 6 + ISPConfig) and everything works incredible fine.
CentOS 6 + ISPConfig 3 intallation is soo easy, like 2+2: http://www.howtoforge.com/perfect-server-centos-6.0-x86_64-ispconfig-3
Some system configuration:
* “/usr/local/ispconfig/server/conf” – in php-fcgi-starter.master dropped PHP_FCGI_MAX_REQUESTS or modifications in: /etc/httpd/conf.d/fcgid.conf add: FcgidMaxRequestLen 59931072or more.
* vi /etc/named.conf – allow-query { any; }; change to: allow-query { localhost; };
Some interesting bugs:
* “Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s)? File()” – is empty value, wtf? You can turn off only in default php-fcg-starter.master file or in:/var/www/php-fcgi-scripts/web/.php-fcgi-starter. Apache AllowOveride All and .htaccess with php_admin_value open_basedir none not helps!
* “Fail2Ban Logs” (need some modification in /etc/fail2ban/fail2ban.conf edit log target param to: logtarget = /var/log/fail2ban.log);
Problems later:
* [ERROR] Can’t find messagefile ‘/usr/share/mysql/english/errmsg.sys’ – after one month, helps: yum –enablerepo=remi,remi-test reinstall mysql-libs
All other services now works fine about ~one month. Client friendly interface, easy usage.
Highly recommend for small business or home users!
Were you able to get rid off the open_basedir error?
Try this: You can turn off only in default php-fcgi-starter.master file or in: /var/www/php-fcgi-scripts/web/.php-fcgi-starter.
Default php-fcg-starter.master I think is somewhere here: /usr/local/ispconfig/server/conf/php-fcgi-starter.master I remove: -d open_base_dir …. line.
After that recreate web site in ispconfig panel (just create new).
All fcgi-scripts is here: /var/www/php-fcgi-scripts/
Hey Markas!
Thanks a lot for this fix.
I already tried everything:
– changing open_basedir field on Web Domain page under Options tab in ISPCONFIG
– changing same open_basedir field on System -> Server Config -> ServerName -> Web
– some people suggested switching to SuPHP
– someone else said that you can disable safe mode in ISPConfig (I think its in older versions)
– Also tried setting “/” or “/var/www” value for open_basedir = and still same errors
To be short, I am happy its finally fixed. Still no idea why none of the previous fixes worked for me.
Thanks!
Hello mate,
I try all methods too, but it not helps for me too. I think here is problem because: “Warning: include(): open_basedir restriction in effect. File()” File() is empty? Wtf? If is problem with dir file show where is problem like: File(/var/www/site_web1/web/) and etc. I not found any information about what, so I think problem is in open_basedir.
I glad to know is everything ok.
Many Thanks served me well, will fix my problem with ISPConfig PHPBB3
Best regards.