Apache doesn't restart after PHP Upgrade
Posted: Tue Aug 27, 2019 5:06 am
Hello,
I had several problems with the "native" 5.6 version of PHP. So I decided upgrade to PHP 7.2, and went ok and now I have:
After that, Apache doesn't start:
The string inside this line:
Any idea how can I fix it?
Thanks in advance for any help
I had several problems with the "native" 5.6 version of PHP. So I decided upgrade to PHP 7.2, and went ok and now I have:
Code: Select all
# php -v
PHP 7.2.21 (cli) (built: Jul 30 2019 15:00:44) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Code: Select all
# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Tue Aug 27 00:47:39 2019] [warn] module ruid2_module is already loaded, skipping
Syntax error on line 17 of /home/admin/conf/web/server.maindomain.com.httpd.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Code: Select all
php_admin_value open_basedir /home/admin/web/server.maindomain.com/public_html:/home/admin/tmp
Thanks in advance for any help