it is better.
now tmp is ok.
but it doesn't go to the end of config check.
last week I had modified
install-utils.inc
like this:
function mw_get_session_save_path() {
// $path = ini_get( 'session.save_path' );
// $path = substr( $path, strrpos( $path, ';' ) );
$path = '/var/www/vhosts/opensurf.it/httpdocs/media/tmp';
return $path;
}
to obtain the same result in the correct way that your has told me to do now,
but after it I had the problem that my print are not complete.
I mean that if I comment the print "GNU diff3 not found" in the php
code I can see the next ....
If I comment next one I can see the next ...
and so on.
Something about /ul ?
2009/11/5 Platonides <Platonides(a)gmail.com>om>:
Raffaele Recalcati wrote:
Checked the requirements using phpinfo
http://www.opensurf.it/_phpinfo.php
------------------
PHP Version 5.2.6 instead of recommended 5.1
PCRE: ok
SPL: ok
Loaded all mediawiki 1.15.1 in /w/ dir using gftp
Set, by gftp, config dir to chmod 777
I have this result
http://www.opensurf.it/w
The /tmp dir is not in a correct place, because my user on the server
has not write permisison on the server.
I think $IP is the absolute path on the server, but someone told me is
written automatically.
I need an help because I really like to install on my server the
mediawiki, but I'm blocked.
Thx
Your original error message is:
Warning: Your session.save_path value (/tmp) appears to be invalid or is
not writable. PHP needs to be able to save data to this location for
correct session operation.
The problem is not being unable to write on /tmp, but being unable to
write on /tmp *and having that configured as the session path*.
Not being able to write on the session path, your users won't be able to
keep logged in.
This is a configuration problem of php and I recommend you bring the
issue to the server administrator.
You may be able to work around that adding ini_set( 'session.save_path',
'/var/www/vhosts/opensurf.it/httpdocs/media/tmp'); at the top of index.php
The problem is probably due to an interaction of /tmp with php safe mode
(a configuration option discouraged even by the php team).
In case sessions do work, we the detection on mediawiki should be fixed.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l