[BlueOnyx:17849] Re: php.ini owner / group

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Fri Jun 19 07:16:21 -05 2015


Michael,

I did a fresh 5209R install and I get a similar error message:

A PHP Error was encountered
Severity: Warning
Message: file_get_contents(/etc/php.ini): failed to open stream: Keine Berechtigung
Filename: controllers/phpconfig.php
Line Number: 695

I checked the file and it have not 644. It have 600

ls -la /etc/php.ini
-rw------- 1 root root 65554 Jun 19 14:05 /etc/php.ini

I did a chmod 644 /etc/php.ini

After the change the message was gone.

Best regards,
Dirk

-----------------------------------------------
blackpoint GmbH - Friedberger Straße 106 - 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Michael Stauber
Gesendet: Donnerstag, 18. Juni 2015 23:45
An: BlueOnyx General Mailing List
Betreff: [BlueOnyx:17842] Re: php.ini owner / group

Hi Phil,

> Noticed tonight that under Security / PHP Settings in the GUI I am throwing
> this error
> 
> Warning: file(/etc/php.ini) [function.file
> <https://alpha.pwmaintenance.co.uk:81/base/vsite/function.file> ]: failed to
> open stream: Permission denied in
> /usr/sausalito/ui/web/base/vsite/php_server.php on line 411

Check that the file has 644 permissions:

[root at 5106r mail]# ls -la /etc/php.ini
-rw-r--r-- 1 root root 45366 15. Jun 19:11 /etc/php.ini

Also make sure that /etc has the right permissions:

[root at 5106r mail]# ls -la /|grep etc
drwxr-xr-x 103 root root 12288 18. Jun 16:40 etc

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list