Jan 4, 2012

(Linux) Couldn't start Apache in Lampp

After upgrading Lampp to the latest version, apache could not be started, the error message is:

/opt/lampp/bin/php: error while loading shared libraries: /opt/lampp/lib/libsybdb.so.5: cannot restore segment prot after reloc: Permission denied
XAMPP: Starting Apache with SSL …
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose…
XAMPP: Sorry, I've no idea what's going wrong.

It needs to disable selinux by using this command:

setenforce 0

1 comment:

Frank Barragan said...

THANK YOU!!!!!!!!!!!