Apache2 Error apos o instalação do OCS NG
Apos instalar o OCS NG só que quando vou iniciar o apache dá erro abaixo:
root@webserver:/etc/apache2/conf.d# service apache2 restart
Syntax error on line 38 of /etc/apache2/conf.d/ocsinventory-reports.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Para corrigir
sudo apt-get install libapache2-mod-php5
root@webserver:/etc/apache2/conf.d# service apache2 restart
Syntax error on line 38 of /etc/apache2/conf.d/ocsinventory-reports.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Para corrigir
sudo apt-get install libapache2-mod-php5
Comentários