Re: Nextcloud upload restricted to 2MB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I ran into this on Fedora 25.
https://www.spinics.net/linux/fedora/fedora-users/msg479030.html

I'm not running php-fpm.service.

Bill

On 11/21/2017 7:24 PM, Rick Stevens wrote:
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    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-     The trouble with troubleshooting is that trouble sometimes     -
-                             shoots back.                           -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux