Problem starting httpd-admin

NethServer Version: NethServer release 7.3.1611 (Final)
Module: httpd-admin

Hi, I can’t access to Admin Web UI, the service fails as follows:

● httpd-admin.service - Server Manager UI httpd instance
   Loaded: loaded (/usr/lib/systemd/system/httpd-admin.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since mié 2018-08-22 15:13:13 -03; 3min 48s ago
     Docs: https://github.com/NethServer/nethserver-httpd-admin
  Process: 32082 ExecStart=/usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 32082 (code=exited, status=1/FAILURE)

ago 22 15:13:13 muteriver.infoestructura.local systemd[1]: Started Server Manager UI httpd instance.
ago 22 15:13:13 muteriver.infoestructura.local systemd[1]: Starting Server Manager UI httpd instance...
ago 22 15:13:13 muteriver.infoestructura.local httpd[32082]: AH00526: Syntax error on line 87 of /etc/httpd/admin-conf/httpd.conf:
ago 22 15:13:13 muteriver.infoestructura.local httpd[32082]: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
ago 22 15:13:13 muteriver.infoestructura.local systemd[1]: httpd-admin.service: main process exited, code=exited, status=1/FAILURE
ago 22 15:13:13 muteriver.infoestructura.local systemd[1]: Unit httpd-admin.service entered failed state.
ago 22 15:13:13 muteriver.infoestructura.local systemd[1]: httpd-admin.service failed.

In line 87 of etc/httpd/admin-conf/httpd.conf I have:
php_value session.save_path /var/cache/nethserver-httpd-admin

Please could you help me to figure it out?

Thanks in advance!

Can you show us the content of these files?

cat /etc/httpd/conf.modules.d/10-php.conf
cat /etc/httpd/conf.modules.d/00-mpm.conf

Thanks, I don’t know why I’ve commented /etc/httpd/conf.modules.d/10-php.conf some time ago, so I’ve commented out, restarted and works fine:

<IfModule prefork.c>
  LoadModule php5_module modules/libphp5.so
</IfModule>

I hope that not clash with other version of php installed that use nextcloud.

1 Like

It shouldn’t as a separate verison of php-fpm is used for nextcloud.

Is this the current release of your server? Latest is 7.5.1804

1 Like