Closed supermoos closed 8 years ago
+1
@tonyspiro @supermoos the issue is caused by a missing mod_example.so and possibly some php versions and results in the following error:
httpd: Syntax error on line 83 of /Applications/MAMP/conf/apache/httpd.conf: Cannot load /Applications/MAMP/Library/modules/mod_example.so into server: dlopen(/Applications/MAMP/Library/modules/mod_example.so, 10): image not found
mod_example.so does not ship with the current version of mamp as such it should not be included in the http.conf.template
/Applications/MAMP/conf/apache/httpd.conf
of a clean mamp install works perfectly
/Applications/MAMP/conf/apache/original/httpd.conf
contains mod_example.so so this is also flawed.
I think the gulp-mmap template should be using the clean file from mamp 3.5, I don't know if that is backward compatible.
Please open up a PR and I'll merge.
Cool.
@tonyspiro, It seems this issue was already resolved with #4 on github. Yet installing it via npm install gulp-mamp results in an outdated file with the following lines:
LoadModule example_module modules/mod_example.so
LoadModule php5_module /Applications/MAMP/bin/php/php5.6.2/modules/libphp5.so
Compared to the following on github:
LoadModule php5_module /Applications/MAMP/bin/php/php5.6.10/modules/libphp5.so
Try bumping the version and publishing it again.
The file below works fine. I can't make a pull request because it exactly the same file. No change to commit.
@stalinkay The newest version has been published to npm. Let me know if you have any issues.
@tonyspiro All is well. Thanks.
With Mamp 3.5 it does not seem to work. The apache instance is never started, the mysql instance is though.