Sessions not saving, Worked on Windows, not on AIX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sveint

    Sessions not saving, Worked on Windows, not on AIX

    Quick background:

    Developed on Windows (apache/mysql, no register globals or other
    nonsense)
    Moved everything to AIX and have the following problem:

    Nothing is saved in my session folder.

    Yes, I've created the directory. Yes, the apache/mysql/php user has
    write access to that directory.

    I'm really stuck here - any help appreciated.
  • Pedro Graca

    #2
    Re: Sessions not saving, Worked on Windows, not on AIX

    sveint wrote:[color=blue]
    > Quick background:
    >
    > Developed on Windows (apache/mysql, no register globals or other
    > nonsense)
    > Moved everything to AIX and have the following problem:
    >
    > Nothing is saved in my session folder.
    >
    > Yes, I've created the directory. Yes, the apache/mysql/php user has
    > write access to that directory.[/color]

    What directory?
    Are you sure PHP writes the session files to /that/ directory?
    [color=blue]
    > I'm really stuck here - any help appreciated.[/color]

    Is the output of

    <?php
    echo ini_get('sessio n.save_path');
    ?>

    the directory you created and gave access to the apache user?

    I never worked with AIX but, at least for Linux, there are *two*
    different php.ini's for PHP as a apache module and as CGI/CLI.

    I have these two configuration files on my computer:
    /etc/php4/apache/php.ini
    /etc/php4/cgi/php.ini


    HTH

    --
    USENET would be a better place if everybody read: : mail address :
    http://www.catb.org/~esr/faqs/smart-questions.html : is valid for :
    http://www.netmeister.org/news/learn2quote2.html : "text/plain" :
    http://www.expita.com/nomime.html : to 10K bytes :

    Comment

    Working...