Open GoogleCodeExporter opened 9 years ago
It now appears to me from log analysis that this error happens only in an
Apache alias directory on my server. I am overwriting open_basedir using
php_value in this specific directory context. However, disabling the php_value
statement doesn't resolve my issue at all.
I wasn't yet able to reproduce this error seperatley from the hosted
application. However, I just checked and my application doesn't use the ini_set
php command at all.
If I enable debug logging the error presents itself like this:
http://pastebin.com/UawvAMV0
(Note that I stripped some informations for security reasons)
First server is starting up, afterwards the request for "img/fb.png" is
processed without error.
The second request however is going to my alias directory - setting
open_basedir fails now.
My alias config looks like this:
Alias /app /path/to/app/basedir
<Directory /path/to/app/basedir>
Options FollowSymLinks
AllowOverride All
DirectoryIndex index.php
<IfModule mod_php5.c>
php_admin_value open_basedir /path/to/app/basedir:/tmp
</IfModule>
</Directory>
Original comment by puck...@gmail.com
on 22 Jun 2013 at 1:27
Traced down the issue to setting open_basedir with php_value or php_admin_value.
(Forget server restart after configuration change)
Is there a possibility to include a check in the code if open_basedir is
already set by php_value?
Original comment by puck...@gmail.com
on 22 Jun 2013 at 2:23
Original issue reported on code.google.com by
puck...@gmail.com
on 21 Jun 2013 at 10:08