Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod_php7.c reference missing in .htaccess #21146

Closed
Gummikavalier opened this issue Dec 11, 2015 · 5 comments · Fixed by #23250
Closed

Mod_php7.c reference missing in .htaccess #21146

Gummikavalier opened this issue Dec 11, 2015 · 5 comments · Fixed by #23250
Assignees
Milestone

Comments

@Gummikavalier
Copy link

Version ownCloud 8.2.1 with PHP7 and httpd/apache.

[owncloud root]/.htaccess does not have reference for mod_php7.c module.

Because of this the following parameters under ifModule are skipped:

<IfModule mod_php5.c>
php_value upload_max_filesize 18G
php_value post_max_size 18G
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>

This can be verified under admin console where the upload limit value does not change according to php_value upload_max_filesize and php_value post_max_size values in .htaccess.
In addition to this, admin page complains about the lack of privileges and the value field is greyed out.

Replacing mod_php5.c string with mod_php7.c fixes the problem.

@DeepDiver1975 DeepDiver1975 added this to the 9.0-current milestone Dec 11, 2015
@MorrisJobke
Copy link
Contributor

cc @LukasReschke

l3iggs added a commit to greyltc/docker-owncloud that referenced this issue Jan 6, 2016
@ghost ghost modified the milestones: 9.1-next, 9.0-current Feb 22, 2016
@ghost
Copy link

ghost commented Feb 22, 2016

@PVince81 @LukasReschke fyi

@LukasReschke
Copy link
Member

Patch is at #23250

@Wikinaut
Copy link
Contributor

Wikinaut commented Apr 2, 2016

I am interested in learning soon, whether this patch fixes the upload-size-problem also for self-compiled PHP 7 (like on my servers).

@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants