habe ein äußerst verwirrendes Problem mit meinem PHP5.. - Denn es gibt ungefähr 1000 Situationen, wo ich wunderbar meine Skripte ausgeführt bekomme.
Dann gibts aber Momente, da spinnt irgendetwas und ich bekomme das hier:
Code: Select all
Warning: Unknown: open_basedir restriction in effect. File(/home/domain2/www/index.php) is not within the allowed path(s): (/home/domain1:/tmp:/proc) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/domain2_net/www/index.php' (include_path='.:/usr/local/php-5.2.0/lib/php') in Unknown on line 0
Safemode ist global deaktiviert, die open_basedir-Variable wird für jede Domain in der httpd.conf separat gesetzt (nach obigem Schema)..
Kompiliert wurde PHP mit diesen Parametern (aus der phpinfo() kopiert):
Code: Select all
'./configure' '--enable-memory-limit' '--enable-zip' '--without-sqlite' '--enable-sockets' '--without-mm' '--with-mysql=/usr/local/mysql' '--with-mysql-sock' '--with-mhash' '--with-mcrypt' '--with-openssl' '--enable-ftp' '--with-gd' '--with-ttf' '--with-freetype-dir' '--enable-gd-native-ttf' '--with-jpeg-dir' '--with-png-dir' '--enable-exif' '--with-openssl-dir' '--with-libxml-dir' '--enable-calendar' '--with-bz2' '--with-zlib' '--enable-fastcgi' '--enable-force-cgi-redirect' '--enable-track-vars' '--with-pcre-regex' '--enable-mbstring' '--enable-bcmath' '--with-apxs2' '--prefix=/usr/local/php-5.2.0'
Ich wäre äußerst dankbar, wenn jemand Rat weiß - die Forensuche brachte mich nicht weiter..