Php.ini settings not being pulled


it seems my settings from PHP.ini are not being pulled by my nextcloud installation.

I have placed a PHP.ini with following content in the folder


But anyway my nextcloud admin site reports me:
“PHP Opcache is not correctly enabled"
Add following settings to PHP.INI:
(Actually that’s where I have them from).

I have checked that the right PHP is taken by placing a little script under

This just calls phpinfo();

When being retrieved, this tells me:
PHP Version: 7.1.2
Configuration File (php.ini) Path : /usr/local/pd-admin2/php-7.1/lib
Loaded Configuration File: /home//www/nextcloud/dev/nextcloud/php.ini

So this looks quite OK for me.

Any ideas how to make some progress? Nothing in the NC logs…

Do I have to place my php.ini into a different folder? Which one…

Regards, Prof

Normally on a Ubuntu installation the php.ini file would be /etc/php/7.0/apache2/php.ini and would already exist.

Since you don’t say anything about your system we can only guess…

Hello JasonBayton,

thanks for your reply.

“uname -a” says:
Linux 4.4.27-x86_64-jb1 #4 SMP Tue Jun 6 14:41:09 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux

“lsb_release -a” tells me:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

It’s not my server, I just have some webspace and ssh access there, no root, no superuser.

I was told to jsut create a php.ini with the necessary settings in the folder where I need it and thus I’ve created it in the nextcloud root folder. And also there I have place the phpinfo.php which tells me the setting is being pulled.