DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

PHP 5.3 Configure

07.09.2009
| 2420 views |
  • submit to reddit
        // description of your code here

./configure --prefix=/usr/local/php5.3.0 --with-apxs2=/usr/local/apache2/bin/apxs --enable-tokenizer --with-mysql=/opt/local/lib/mysql5 --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd

sudo make

sudo make install

The directory: "/opt/local/lib/mysql" has the following directories:
drwxr-xr-x  47 root  admin  1598 Jan  4  2009   bin
drwxr-xr-x  34 root  admin  1156 Jul  9 06:48    include
lrwxr-xr-x   1    root  admin     5 Jul     9 06:54     lib -> mysql
drwxr-xr-x  22 root  admin   748 Jul  9 06:53     mysql