|
Posted by Steve Brecher on 05/03/06 04:29
I wrote:
> I wrote:
>> (As a *nix newbie) I think this is more of a system configuration
>> problem than a php language problem, but I'm not sure where else to
>> go for help. I'm trying to install phpMyAdmin on a linux shared
>> hosting account. When I run it (load phpMyAdmin's index.php with a
>> browser), I get the following three Warnings, and no other output:
>>
>> Warning: session_write_close():
>> open(/tmp/php-ses/sess_0c21c95414d34dd67d6adf9ab3de88f6, O_RDWR)
>> failed: No such file or directory (2)
>> [etc.]
>
> Solution -- insert:
> session_save_path ('/absolute/path/to/local/sessions/directory/');
> at the start of phpMyAdmin's libraries/session.inc.php, where the
> string argument is of course a "self-documenting dummy"(tm).
I forgot to mention some context. The key was finding this from the hosting
provider: "customers cannot use the default PHP session path in /tmp.
Instead, sessions will need to be saved in each accounts home directory."
--
For mail, please use my surname where indicated:
steve@surname.reno.nv.us (Steve Brecher)
[Back to original message]
|