Apache don't start

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Apache don't start

Postby Tarvobarros » 28. April 2020 20:10

Hi to all.
I have problem with XAMPP. I installed XAMMP many years ago and everything worked fine but now I have problem.
in this file in /Applications/XAMPP/xamppfiles/etc/extra/httpd-xampp.conf
if I leave this default declaration (created by default when XAMPP was installed)
Code: Select all
<IfDefine PHP>
    LoadModule php7_module        modules/libphp7.so
</IfDefine>

for load php, the webserver does not start if I comment it the webserver start.
I commented any other php version. I tried to load old version of php. Apache don't start...
I need php...any idea?
Tarvobarros
 
Posts: 4
Joined: 28. April 2020 19:55
XAMPP version: 7.2.30
Operating System: MacOS High Sierra

Re: Apache don't start

Postby Tarvobarros » 29. April 2020 20:03

Ok. I tried another test.
I started apache from terminal and I received this error
Code: Select all
httpd: Syntax error on line 527 of /Applications/XAMPP/xamppfiles/etc/httpd.conf: Syntax error on line 10 of /Applications/XAMPP/xamppfiles/etc/extra/httpd-xampp.conf: Cannot load modules/libphp7.so into server: dlopen(/Applications/XAMPP/xamppfiles/modules/libphp7.so, 10): Symbol not found: _iconv\n  Referenced from: /Applications/XAMPP/xamppfiles/lib/libintl.8.dylib\n  Expected in: /Applications/XAMPP/xamppfiles/lib/libiconv.2.dylib\n in /Applications/XAMPP/xamppfiles/lib/libintl.8.dylib
Tarvobarros
 
Posts: 4
Joined: 28. April 2020 19:55
XAMPP version: 7.2.30
Operating System: MacOS High Sierra

Re: Apache don't start

Postby Tarvobarros » 29. April 2020 20:47

I tried this solution
https://community.apachefriends.org/viewtopic.php?t=77199&p=261450
and now no error report but if I try to open a file like infophp (phpinfo()) webserver respond with download file...
Tarvobarros
 
Posts: 4
Joined: 28. April 2020 19:55
XAMPP version: 7.2.30
Operating System: MacOS High Sierra

Re: Apache don't start

Postby Tarvobarros » 30. April 2020 18:27

OK...I'm official confused...today, after a work day...I turn on mac...and...apache and PHP WORK!!!
The strange thing is that I haven't changed anything from yesterday to today...
Tarvobarros
 
Posts: 4
Joined: 28. April 2020 19:55
XAMPP version: 7.2.30
Operating System: MacOS High Sierra


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 47 guests