----- Original Message ----- Bonjour Jacqueline, The problem comes from UtfNormalUtil.php :) It exists both as a PEAR package and as MediaWiki file but the PEAR path (/usr/share/pear/) is most probably before our paths. The easiest way is probably to add /usr/share/pear/ to the open_basedir restriction. I am not sure why it is used though, as we are supposed to override the include path in localsettings.php: ---------------------------------------------------------------- if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); } $path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) ); REPLY --------------------- I have not changed LocalSetting.php or UtfNormalUtil.php because i have not any idea about them. THIS IS THE SITUATION :
1 )))))) At the moment if i simply add (in php.ini) include_path = ".:/usr/share/pear" include_path = ".:.:" PHP.INI : ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; include_path = ".:/usr/share/pear" include_path = ".:.:" Here http://sciencemoleculaire.studentblog.org/angleterre/ i have : Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/AutoLoader.php) is not within the allowed path(s): (/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs:/tmp) in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 Warning: main(/includes/AutoLoader.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 Fatal error: main() [function.require]: Failed opening required '/includes/AutoLoader.php' (include_path='.:.:') in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 ----------------------- 2 )))))))) If i add a vhost.conf in the directory conf with : <Directory "/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/"> php_admin_value safe_mode 0 php_admin_value open_basedir /usr/share/pear/ php_admin_value open_basedir / </Directory> Here http://sciencemoleculaire.studentblog.org/angleterre/ i have : Warning: Unknown: open_basedir restriction in effect. File(/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/index.php) is not within the allowed path(s): (/) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Warning: Unknown: Failed opening '/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/index.php' for inclusion (include_path='.:.:') in Unknown on line 0 ---------------- 3 )))))))) If i add a vhost.conf in the directory conf with : <Directory "/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/index.php/"> php_admin_value safe_mode 0 php_admin_value open_basedir /usr/share/pear/ php_admin_value open_basedir / </Directory> Here http://sciencemoleculaire.studentblog.org/angleterre/ i have : Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/AutoLoader.php) is not within the allowed path(s): (/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs:/tmp) in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 Warning: main(/includes/AutoLoader.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 Fatal error: main() [function.require]: Failed opening required '/includes/AutoLoader.php' (include_path='.:.:') in /home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/includes/Setup.php on line 28 ------------------ 4 )))))))))) If i add a vhost.conf in the directory conf with : <Directory "/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/"> php_admin_value safe_mode 0 php_admin_value open_basedir /usr/share/pear/ php_admin_value open_basedir / </Directory> Here http://sciencemoleculaire.studentblog.org/angleterre/ i have : Warning: Unknown: open_basedir restriction in effect. File(/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/index.php) is not within the allowed path(s): (/) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Warning: Unknown: Failed opening '/home/httpd/vhosts/sciencemoleculaire.studentblog.org/httpdocs/angleterre/index.php' for inclusion (include_path='.:.:') in Unknown on line 0
mediawiki-l@lists.wikimedia.org