I installed the current XAMPP 7.1.9 and used homebrew to install the latest mongodb-driver.
Usually I would use the XAMPP UI to restart the apache. But after I add
- Code: Select all
extension="/usr/local/opt/php71-mongodb/mongodb.so"
to the php.ini file I am not able to use the UI anymore, even if I remove the line.
I figured out, that some rights changed. Starting the apache from the console with
/Applications/XAMPP/xamppfiles/bin/httpd -k start -E /Applications/XAMPP/xamppfiles/logs/error_log -DSSL -DPHP
gives me the info, that the error.log is not writable. Thats easy to fix. No I can check the logs and I see this:
- Code: Select all
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Also, thats not a problem. Running the Apache from CLI with sudo will do the trick.
But what I am wondering, and thats my question here:
I tracked all this down to this little event of adding the mongodb-Extension to the php.ini. After this, some rights are gone.Why is that and whats going wrong?
Thanks for your help