Apache doesn't start in AMPPS on Ubuntu
Asked Answered
T

1

8

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?

Transhumance answered 30/10, 2017 at 11:14 Comment(2)
Ok, I had the same issue I resolve with this answer. Ampps Solution Apache Don't startStefa
Ok, I use this method and work after that Solution Apache Does not startStefa
F
25

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.

Flea answered 10/11, 2017 at 10:46 Comment(3)
Works perfect! After running netstat nlt tcp6 was not listed as highlighted in your case,but it worked anyway.Myrnamyrobalan
Thats right. Maybe your 80 ports are not full and your some depency libraries are missing.Flea
thanks ,wow linux is really alot of work, i well appreciate if fixing error after another. thanks manGeoras

© 2022 - 2024 — McMap. All rights reserved.