Category Archives: php

All things related to the PHP programming language.

Problems compiling PHP 5.3.19 on Mountain Lion

I had to add EXTRA_CFLAGS = -lstdc++ -lresolv to Makefile when trying to compile PHP 5.3.19 with: ./configure –prefix=/usr/local –mandir=/usr/share/man –infodir=/usr/share/info –sysconfdir=/private/etc –enable-cli –with-config-file-path=/usr/local/php/etc –with-libxml-dir=/usr –enable-xml –enable-exif –enable-ftp –with-gd –with-jpeg-dir=/usr/local/lib –with-png-dir=/usr/local/lib –enable-gd-native-ttf –with-imap=/usr/local –with-imap-ssl –enable-magic-quotes –enable-mbstring –enable-mbregex –enable-json –with-mysql=mysqlnd –with-mysqli=mysqlnd … Continue reading

Posted in mac, php | 2 Comments

Twitter Bootstrap and the QuickForm2 Callback Renderer

I don’t know about you, but for me building HTML Forms and styling HTML Forms are maybe the most boring things in web development. It’s repetitive and takes a lot of time to do things correctly. That’s why tools like … Continue reading

Posted in php | Tagged , , , | 6 Comments

PHP with Intl and Gettext on OSX Lion

Mac OSX Lion ships with PHP 5.3.6. There are also other ways to get PHP working on Lion, for example: Liip distributes a full featured PHP 5.3 binary for Lion Zend has its Zend Server Community Edition MacPorts Homebrew These … Continue reading

Posted in mac, php | 6 Comments

Getting started with HTML_QuickForm2

QuickForm 2 is a PHP library which makes the development of complex and modern HTML forms easier and faster. It is the natural successor of QuickForm with a new revamped API, PHP5 support, new features and less bloat. Its development … Continue reading

Posted in php | Tagged , | Comments Off