Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP5.3 (as Apache module) unable to write into /var/www/<project-name>/<document-root>/cache
    text
    copied!<p>Please, be patient while reading, because the problem is seems to be transparent but just only seems. The situation is:</p> <p>1.</p> <pre><code>OS: fedora-16 (latest), httpd: apache-2.2.21, php: php-5.3.8 (works as apache's module) </code></pre> <p>2. host information:</p> <pre><code>DOCUMENT_ROOT: /var/www/[site-name]/public_html Kohana-3.2.0 (latest stable) installed this way: $ pwd /var/www/&lt;site-name&gt; $ ls -alp drwxr-xr-x. 6 apache apache 4096 Jan 7 20:35 ./ drwxr-xr-x. 8 apache apache 4096 Jan 7 20:08 ../ drwxr-xr-x. 9 apache apache 4096 Jul 25 03:26 application/ drwxr-xr-x. 10 apache apache 4096 Jul 25 03:26 modules/ drwxr-xr-x. 2 apache apache 4096 Jan 7 20:35 public_html/ drwxr-xr-x. 11 apache apache 4096 Jul 25 03:26 system/ $ cd application/; ls -alp drwxr-xr-x. 9 apache apache 4096 Jul 25 03:26 ./ drwxr-xr-x. 6 apache apache 4096 Jan 7 20:35 ../ -rwxr-xr-x. 1 apache apache 3612 Jul 25 03:22 bootstrap.php drwxrwxrwx. 2 apache apache 4096 Jan 8 20:14 cache/ drwxr-xr-x. 4 apache apache 4096 Jul 25 03:26 classes/ drwxr-xr-x. 2 apache apache 4096 Jul 25 03:26 config/ drwxr-xr-x. 2 apache apache 4096 Jul 25 03:26 i18n/ drwxrwxrwx. 2 apache apache 4096 Jul 25 03:26 logs/ drwxr-xr-x. 2 apache apache 4096 Jul 25 03:26 messages/ drwxr-xr-x. 2 apache apache 4096 Jul 25 03:26 views/ Command `top` says that Apache is really starts under `apache` user privileges. </code></pre> <p>So how can I have that application/cache and application/logs directories are unwritable? - I've checked them also with</p> <pre><code>var_dump(fopen($_SERVER['DOCUMENT_ROOT'] . '/../application/cache/something.txt', 'w+')); </code></pre> <p>Same result. Have no idea how it could be. No symlinks, no mounted drives etc. Have anyone met such a situation?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload