Thursday, August 13, 2009

Success with Apache, PHP, and MySQL

I have successfully configured //patricia to use Apache, PHP, and MySQL. (And all in console mode -- no GUI!)

The database will hold news articles. I'm thinking of storing text in the MySQL database as HTML, and simply pulling the text and dropping it into the web page. I wrote a small Ruby program to convert plain text into HTML. Right now, it assumes that each line is a paragraph. I think a better arrangement would be to convert blank lines into paragraph breaks.

No comments:

Post a Comment