-
Don't forget to enable XSendFile for the Vhost in question. Like I did, and wondered why 0b files were coming down all the time.
Links
Tagged as:
apache, rails, rubyonrails, xsendfile.
Links
Tagged as:
apache, development, frontend, html, javascript.
Links
Tagged as:
apache, deployment, osx, passenger, preferencepane, rack, ruby.
Links
Tagged as:
abel, aeneid, analysis, apache, api, audio, bandcamp, blog, brilliant, calories, cern, cholesterol, classics, clicktrack, codeigniter, conversation, design, development, dialogue, disgusting, distribution, drummers, facebook, food, framework, games, health, htaccess, humour, integration, minicards, moo, music, pagination, pastiche, patina, photography, php, programming, promotion, python, rhythm, sagat, schulzeandwebb, security, smallpieces, sound, strategy, streetfighter4, strobist, system:filetype:png, system:media:image, tutorial, unfinished, videos, virgil, wear, web, wordpress, writing.
code
Tagged as:
apache, development, mac, osx, php, programming.
Mac OSX 10.4 still only ships with PHP4, which is fine and all, but I eventually bit the bullet and decided to install PHP5.
The most immediately obvious way to do this is with Marc Liyanage’s excellent installer. I unzipped, installed the .pkg, and rebooted Apache.
Except Apache didn’t want to reboot. Apache refused to start, actually. Looked like a potential crisis!
Fortunately, a few minutes of digging found the solution. Pretty obvious, really:
you can’t load both mod_php4 and mod_php5 Apache modules at the same time.
I had mod_php4 enabled already. By commenting out the lines referring to it, Apache started up just fine, running PHP 5. Crisis averted.