I'm using this video tutorial to try and install ColdFusion 9 with MAMP Pro on my Macbook, for development purposes. It works when installing CF8; but with both the 32 bit and 64 bit versions of CF9, I can't get it working.
I reach the 19 minute mark of the video and add index.cfm to the DirectoryIndex directive, then restart the services in MAMP Pro. Apache fails to stop, requiring a force-quit (not something I did manually, MAMP asked if I wanted it to try to force-quit, I said yes, and it seemed to do the job) and now when I try to start Apache I get the message:
Apache wasn't able to start. Please check log for more information.
This is what I see in the console log:
Syntax error on line 1131 of /Users/adam/Library/Application Support/living-e/MAMP PRO/httpd.conf:
Cannot load /Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun20.so into server: cannot create object file image or add library
The mod_jrun20.so file mentioned in the error does exist at the indicated location.
The only other thing that has changed since this was working for me with CF8 was that I upgraded from Leopard to Snow Leopard. I did uninstall and re-install MAMP Pro after the Snow Leopard upgrade, though.
Anyone have any ideas on how I can get this working?
Best Answer
Try unzipping the wsconfig.jar file (found in {cf_root}/runtime/lib/wsconfig.jar). Therein you should find the stock 32-bit version of mod_jrun.so connector. Try using that one to replace the one that Apache is having trouble loading. That seems to have worked for other people who have had this problem