Check the permission of the directory, make sure the web server process is able to write files in that dir. The Apache is usually running as user
apache and group
apache. If the
.../session/tmp looks like:
drwxr-xr-x 23 armint users 1024 Jun 15 13:42 tmp
then you have a problem. The permission scheme (
drwxr-xr-x or
775) and user/group ownership (armint/users) disallows user/group
apache to write on that dir. If you have privileges to change the ownership, then change it so the owner of that directory is
apache (but this doesn't prevent your session files from reading by other means). If you don't, and you don't have (or unable to get) someone with required privileges to do so, the alternative is by changing the permission to
777 (gasp!!! highly discouraged).
Or, just use the common/shared temporary directory (usually /tmp on Linux system), but this means your session files are readable by other users on the system (the same applies with 777-permission).
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.