Agilo's Weblog (text-based version for ancient browsers) ------------------------------------------------------------------------------- You are seeing this page in the technology best suited for your browser. Enjoy your stay here and if at any time you feel the urge to see this page in its full glory I kindly and friendly suggest you to get a better browser. ------------------------------------------------------------------------------- --- Entry title: PHP 5! Date added: Wednesday, July 14 2004, 06:22PM Written by: Agilo (agilo3@gmail.com) Entry ID: 91 --- Well, I downloaded PHP 5 today. I was very bothered by the fact that I had done a perfectly good hack on PHP 4's PHPS handling, and wasn't sure if I was able to port that to PHP 5. But, thankfully, it turns out that Zend didn't change much (if anything at all) to Zend/zend_highlight.c. I came to that conclusing by creating the appropriate patch for PHP 5, and checking it: $ diff -u Zend/zend_highlight.c ../php-4.3.4/Zend/zend_highlight.c > patch.diff $ vi patch.diff Coming to that conclusing, I then patched the file for PHP 5: $ patch -u < patch.diff -p0 I was still a bit sketchy if it would compile and install correctly, but everything turned out well. And, PHP 5 is now running perfect along Apache 2. :) Files: - files/patch.diff - files/config.nice -------------------------------------------------------------------------------