I can't start Apache in XAMPP installation

5,815

Just for test remove (or better comment #) the line 136 from /opt/lampp/etc/httpd.conf and try to start lampp again.

If after that http://localhost is accessible you must cope with the ssl module if you want to have https access to yours web server in the future.

I'm sure that you will find exactly what you need in Bitnami Wiki and Apache Friends Forum.

Share:
5,815

Related videos on Youtube

Aman Mishra
Author by

Aman Mishra

Websites by day and KishoreDa by Night.

Updated on September 18, 2022

Comments

  • Aman Mishra
    Aman Mishra over 1 year

    enter image description here xampp error

    I have a fresh Ubuntu 16.04 installation and XAMPP installation. I got this error the first time I tried to run XAMPP.

    • pa4080
      pa4080 over 7 years
      There is something wrong in /opt/lampp/etc/httpd.conf. Please show us its content.
    • Aman Mishra
      Aman Mishra over 7 years
      I edited the post and added a screen-shot of httpd.conf around line 136. Please have a look.
    • AzkerM
      AzkerM over 7 years
      I maybe wrong but it seems like SSL modules have been configured with a different version of Apache or vise versa..
    • Aman Mishra
      Aman Mishra over 7 years
      What should I do to fix it.
    • pa4080
      pa4080 over 7 years
      What goes on if you just remove line 136?
    • AzkerM
      AzkerM over 7 years
      Did you try to configure OpenSSL installing Apache... etc?
    • Aman Mishra
      Aman Mishra over 7 years
      I removed line 136 and XAMPP started but Ubuntu gave a error saying system program problem detected.
    • Aman Mishra
      Aman Mishra over 7 years
      Thank you everyone. I think it's all good now. I restarted the system and no more errors.
    • Aman Mishra
      Aman Mishra over 7 years
      yes localhost is accessible
    • pa4080
      pa4080 over 7 years
      It is strange. I have had installed XAMPP in my Ubuntu (without configured https, but with mod_ssl enabled) and don't remember issue like this. Maybe you should try to reinstall it. Is /opt/lampp/modules/mod_ssl.so there?
  • pa4080
    pa4080 over 7 years
    XAMPP is good stack, especially for Windows. I'm not fully sure what are the pros, but in my opinion it makes things more complicated in Linux.