Apache 2 + Leopard + Coldfusion 8
March 8, 2009
Here are instructions for using ColdFusion 8 with Apache 2.2 under Leopard 10.5.4+. This may work on earlier versions, but I won't make any promises. It took me quite a bit of effort to get this going correctly. These directions are a combination of helpful bits from Scott Pinkston and Mark Drew, so thanks to them for their work and any other sources that may have been involved.
* Replace the corresponding segment in the compile step with the one that matches your architecture:
- Start the ColdFusion 8 installer.
- Select the option for multiple servers.
- Select an installation directory. This should be the root for your sites.
- Add a web server, select apache. For the first option replace /etc/httpd with /etc/apache2.
- Complete the installation.
- The service will be unable to start and you will get a message saying so.
- cd /Applications/JRun4/lib
- unzip -d src wsconfig.jar
- cd src/connectors/src
- apxs -c -Wc,-arch -Wc,i386 -Wl,-arch -Wl,i386 -n jrun22 \
mod_jrun22.c jrun_maptable_impl.c jrun_property.c jrun_session.c \
platform.c jrun_mutex.c jrun_proxy.c jrun_utils.c - apxs -i -n jrun22 -S LIBEXECDIR=/Applications/JRun4/lib/src/connectors/src/ mod_jrun22.la
- strip mod_jrun22.so
- sudo java -jar /Applications/JRun4/lib/wsconfig.jar
- sudo cp /Applications/JRun4/lib/src/connectors/src/mod_jrun22.so \
/Applications/JRun4/lib/wsconfig/1/mod_jrun22.so - sudo apachectl restart
- ppc7400: -Wc,-arch -Wc,ppc7400 -Wl,-arch -Wl,ppc7400
- ppc64: -Wc,-arch -Wc,ppc64 -Wl,-arch -Wl,ppc64
- i386: -Wc,-arch -Wc,i386 -Wl,-arch -Wl,i386
- x86-64: -Wc,-arch -Wc,x86_64 -Wl,-arch -Wl,x86_64
- sudo mv /usr/sbin/httpd /usr/sbin/httpd.ub
- sudo lipo -thin ppc7400 /usr/sbin/httpd.ub -output /usr/sbin/httpd.ppc7400
- sudo ln -s /usr/sbin/httpd.ppc7400 /usr/sbin/httpd
Reading
Wall
Leave me a comment! Blog commenting will be available soon, but hit my wall until then!
Hey Baby! Haven't seen the site in awhile so I thought I would check it out!!! I think it looks great!!!
Woo! I like this site layout a lot
Nice layout. Good Job Mate :)
I think the website looks awesome!!! I am so very proud of you!! ~ M
