Apache: Invalid command ‘php_admin_value’

Daca intampinati eroarea urmatoare:

Invalid command ‘php_admin_value’, perhaps misspelled or defined by a module not included in the server configuration
Action ‘configtest’ failed.
The Apache error log may have more information.

o rezolvati executand urmatoarele comenzi:

1. Instalati pachetul lipsa:

# sudo apt-get install libapache2-mod-php5

2. Activati modulul in apache:

# sudo a2enmod php5 

3. Restartati serverul apache:

# sudo /etc/init.d/apache2 restart

Adaugă un răspuns

Your email address will not be published. Required fields are marked *