Saturday, August 8, 2015

apache2 vs. php5 (lump) - install failure on debian 7 (wheezy)


If you get one of the messages below, probably you need to upgrade your installation.
Check the commands at the end.

-------------------------------------------------------------------------------------------------------
>failure messages

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/x86_64-linux-gnu/libk5crypto.so.3: symbol krb5int_buf_len, version krb5support_0_MIT not defined in file libkrb5support.so.0 with link time reference

--- --
[FAIL] Starting web server: apache2 failed!
[warn] The apache2 configtest failed. ... (warning).
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php5.load: No such file or directory

-- --
Action 'configtest' failed.
The Apache error log may have more information.


-------------------------------------------------------------------------------------------------------
>commands

If you have MySQL already installed, you just need to install apache, php and phpmydmin.
If not, install MySQL first.

To install apache and php5, run the following commands as root (su or sudo).

apt-get ugrade
apt-get update
apt-get install apache2
apt-get install php5
apt-get install libapache-mod-php5


No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...