Building Apache, MySQL, and PHP on Mac OS X - Caveats (Page 6 of 6 )
There are some problems with the built software when compiled as specified in this article, some because of the software itself, some not.
Firstly, the MySQL daemon that is compiled isn't able to shut down under Mac OS X. This is a known bug, but unfortunately there is no workaround or fix, so don't go trying to run mysqladmin shutdown expecting it to work.
Secondly, the way I have you build Apache in this article makes it so you can't load the mod_ssl module that comes with Mac OS X. This is because I felt the complexity of building an Apache with Extended API support as needed for mod_ssl, and compiling a new version of mod_ssl and it's support libraries, would add confusion to the article. I felt that this is a rarely needed feature, so this won't affect many of you.
If you need to use mod_ssl, you are able to build it by using the instructions that come with the module's source, if you are so inclined. Just be sure to use the same flags that you used in this article (--with-layout, --enable-shared, etc.) when compiling Apache, in addition to those required to make Apache work with mod_ssl. Mod_ssl can be found at
http://www.mod-ssl.org.
This instructions in this article was tested and found to work on an iBook, an iMac DV, and a Power Macintosh G4 (PCI Graphics), all running Mac OS X 10.0.3. YMMV.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |