Posts Filed in "How-To’s"

20

Dec

Filed in Code, Curse, Django, How-To's with View Comments |

One issue I’ve personally had to overcome with Django, and languages which aren’t specifically designed for the web, is that you don’t have access to the environment everywhere. The environment I’m referring to, is the current request, and response objects. In PHP there is no response object, at least not one as you would see [...]

5

Nov

Filed in Code, How-To's, Mac, MySQL with View Comments |

As many people probably have, I ran across the problem of installing MySQLdb (Python) on Leopard today. The error: In file included from /usr/local/mysql/include/mysql.h:43, from _mysql.c:40: /usr/include/sys/types.h:92: error: duplicate ‘unsigned’ /usr/include/sys/types.h:92: error: two or more data types in declaration specifiers error: Setup script exited with error: command ‘gcc’ failed with exit status 1 Luckily, there [...]

5

Nov

Filed in How-To's, Mac, PHP with View Comments |

Apple made it easy this time around. Leopard defaults with Apache2 and PHP5, and enabling it is as simple as uncommenting a line. Check out this guide for a full tour of using Apache2 with PHP5 and MySQL on the latest release from Apple.

« Previous Page