You are not logged in.
Hi, i followed the wiki for installation of nextcloud (https://wiki.archlinux.org/index.php/Nextcloud)
My apache web server works fine
I followed this section for enabling php in my apache server, with the second method called Using php-fpm and mod_proxy_fcgi
https://wiki.archlinux.org/index.php/Ap … Server#PHP
and i tested that php works with a test file with https://<ip-address>/test.php
Then I copied the nextcloud example configuration to httpd extra config directory
cp /etc/webapps/nextcloud/apache.example.conf /etc/httpd/conf/extra/nextcloud.confFor php, i tried both with:
php, php-intl, php-gd, php-fpmand
php71, php71-intl, php71-gd, php71-fpmfinally, after every try i get the following message from systemctl status httpd, when including extra/nextcloud.conf in httpd.conf:
systemctl status httpd
● httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-01-15 18:43:10 EST; 19min ago
Process: 15285 ExecStop=/usr/bin/httpd -k graceful-stop (code=exited, status=1/FAILURE)
Process: 15288 ExecStart=/usr/bin/httpd -k start -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15288 (code=exited, status=1/FAILURE)
Jan 15 18:43:10 vps166153.vps.ovh.ca systemd[1]: Started Apache Web Server.
Jan 15 18:43:10 vps166153.vps.ovh.ca httpd[15288]: AH00526: Syntax error on line 9 of /etc/httpd/conf/extra/nextcloud.conf:
Jan 15 18:43:10 vps166153.vps.ovh.ca httpd[15288]: Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
Jan 15 18:43:10 vps166153.vps.ovh.ca systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 18:43:10 vps166153.vps.ovh.ca systemd[1]: httpd.service: Failed with result 'exit-code'.Which is seems weird since i validated that php is working. Some help in debugging this please.
Offline
Share your /etc/httpd/conf/extra/nextcloud.conf please?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Is this not expected? As php is not being run as a module within httpd but the output of httpd is piped to a proxy and the result returned to httpd so php_admin_value is not recognized.
Offline