Apache doesn't start in AMPPS on Ubuntu

Dmitry Grinko picture Dmitry Grinko · Oct 30, 2017 · Viewed 11.4k times · Source

I'm trying to run the Ampps local server 3.8 on Ubuntu. Mysql works good but apache doen't run.

When I type

/usr/local/ampps/apache/bin/httpd

I get

/usr/local/ampps/apache/bin/httpd: symbol lookup error: /usr/local/ampps/apache/lib/libapr-1.so.0: undefined symbol: dlopen

How to solve?

Answer

Umut ADALI picture Umut ADALI · Nov 10, 2017

I experienced a similar problem. Firstly you must check is there anything that uses 80 port. netstat terminal screenshot

If any you kill that.

Then you backup libapr and then install libs again. Run following commands:

cd /usr/local/ampps/apache/lib

sudo mkdir backup

sudo mv ./libapr* ./backup/

sudo apt-get -y install libaprutil1 libaprutil1-dev libapr1 libapr1-dev 

and try run ampps.