On 11/21/2017 03:27 PM, Samuel Sieb wrote:
> On 11/21/2017 02:59 PM, Florian Sievert wrote:
>> If I remember correctly, this was the default upload size set by PHP.
>> However, I set in F26 already in /etc/php.in the option and restarted
>> apache.
>>
>> upload_max_filesize = 16G
> 
>> Any idea what this might be/? /Anyone who can confirm that nextcloud
>> is working for him on F27?
> 
> This might be relevant:
> https://blog.remirepo.net/post/2017/11/17/Fedora-27-changes-in-http-and-php
> I don't know what changes that might have regarding configuration.

Essentially, F27 now uses Apache in event (multithreaded) mode rather
than prefork (single-threaded) mode. PHP itself is multithread safe, but
some of the libraries that may be used by it are NOT multithread-safe.
Since mod_php is designed for single-thread use, you can't use it with
Apache running in either event or worker (also multithreaded) modes.

To get around this, PHP now runs as a separate process (called
"php-fpm") and Apache talks to it using a mechanism called FastCGI via
either a UNIX-domain socket or TCP/IP using (typically) localhost:9000.
Since PHP is a separate process, if you make a change to /etc/php.ini,
you must restart php-fpm:

        $ sudo systemctl restart php-fpm.service

for it to take effect.

Probably more than you wanted to know, but........
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-     The trouble with troubleshooting is that trouble sometimes     -
-                             shoots back.                           -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to