Friday, December 5th

6.19.04

Finally upgraded PHP

Much to my suprise, I was still running the 4.0.1 version of PHP here. I guess between just starting to learn PHP and improving my knowledge of it over the years, I neglected keeping up with it. That's very bad. Not only is it unsafe, but it allowed me to become sloppy with code development and unfamiliar with beneficial improvements I could (should) have been using.

One such improvement is to run PHP as an Apache module, rather than calling cgi executions. Doing this really does make a noticable performance increase, as well as greater flexibility.

While I was making changes, I also decided to, finally, turn off register_globals. Boy was I in for a shock as to how much clean up work I was in for. Actually, I'm really glad I had this experience. It helped me to appreciate how important it is to keep up on "best pratices" for usability and security.

Posted by danne 11:35 pm in updates | 1 person viewing

0 ramblings so far

name

email - addresses are never displayed

URL - auto linked

add:

comments - comment policy