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.