Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

custom extension= not being propagated with php-fpm

Featured Replies

I have a custom PHP Configuration for most of my domains.

I can set the typical stuff such as:

upload_max_filesize = 32M
 

I used to set also some extensions such as

extension=xxxx.so

Well, when I run phpinfo() on a process on apache for a particular domain, I see that upload_max_filesize is correctly set to any value that I choose.

But the extension is not set.

I finally had to add the "extension=xxx.so" in:

/etc/php/7.2/fpm/php.ini

 

Is that an expected behaviour with php-fpm?

With FCGID it worked just fine.

I tried everything. Setting the full path, etc. The logs did not show anything.

The extension works when I set it directly here /etc/php/7.2/fpm/php.ini

 

The problem is that the extension then is available for all the domains. It is not a big problem.

Just wanted to let you know in case it is a bug.

 

Thanks

Check the settings whether "extension" is within the allowed ini directives

  • Author
8 hours ago, d00p said:

Check the settings whether "extension" is within the allowed ini directives

I'm not sure I understand what I have to check. Which settings?

http://php.net/manual/en/ini.list.php

"extension" is a valid directive. In fact I'm using it in /etc/php/7.2/fpm/php.ini

I think I did not understand your question. You mean this directive can be blocked somehow?

I meant in Froxlor -> settings - fpm settings, at the bottom:

fpm-settings-ini.png

9 minutes ago, lanbo said:

You mean this directive can be blocked somehow?

As you can see in the screenshot above, for FPM we need to know what directive is in which category (php_value, php_flag, php_admin_value, php_admin_flag) and therefore we cannot use ANY possible directive by default. If you are missing any, just add them to the corresponding list

  • Author

 

4 hours ago, d00p said:

As you can see in the screenshot above, for FPM we need to know what directive is in which category (php_value, php_flag, php_admin_value, php_admin_flag) and therefore we cannot use ANY possible directive by default. If you are missing any, just add them to the corresponding list

Thanks @d00p!

Did not know that.

I added the extension directive to php_admin_values and it worked great!

I could remove it from /etc/php/7.2/fpm/php.ini. It's cleaner now.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.