2

I get this error when I start apache2 service:

 * The apache2 configtest failed.
 Output of config test was:
 apache2: Syntax error on line 140 of /etc/apache2/apache2.conf:Syntax   error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib   /apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
 Action 'configtest' failed.
 The Apache error log may have more information.

I run it on ubuntu 14.04 64bit. How can I resolve it?

techraf
  • 3,316
Gusan
  • 131

1 Answers1

0

Check that /usr/lib/apache2/modules/libphp5.so exists and has the permissions of 644 (sudo chmod 644 /usr/lib/apache2/modules/libphp5.so) and is owned by root:root (sudo chown root:root /usr/lib/apache2/modules/libphp5.so).

Matt O.
  • 543
  • 2
  • 9