PHP new configuration

./configure --prefix=/usr/local/php6 --with-apxs2=/usr/local/httpd/bin/apxs --disable-cli --disable-cgi --with-config-file-path=/etc/php6 --disable-ipv6 --disable-short-tags --with-openssl=/usr --with-pcre-regex --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --with-libxml-dir --enable-exif --enable-filter --enable-ftp --with-openssl-dir=/usr --with-gd --with-png-dir=/usr/local --with-jpeg-dir=/usr --with-freetype-dir=/usr/local --enable-gd-native-ttf --with-gettext --with-mhash --enable-intl --with-mcrypt --with-mssql=/usr/local --with-mysql=/usr/bin/mysql_config --with-zlib-dir=/usr --with-mysqli=mysqlnd --with-pdo-dblib --with-pdo-mysql=mysqlnd --with-mm --enable-shmop --with-libxml-dir=/usr --enable-soap --with-libxml-dir=/usr --enable-sqlite-utf8 --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-xsl=/usr/local --enable-zip --with-pear --enable-static --with-iconv --enable-dbase --enable-pcntl --with-pdo_sqlite --with-pspell --enable-sockets --with-icu-dir=/usr/local --with-libmemcached-dir=/usr/local && make

Installed: http://memcached.org/ on FreeBSD and the Debian Box and installed http://libmemcached.org/libMemcached.html only on the FreeBSD Box

http://www.lullabot.com/articles/how-install-memcache-debian-etch

With this compilation PHP-trunk results in a segmentation fault when calling a phpinfo() script from a browser….

Now I’m trying it with php5.3-dev … works :-)

Figured out that you have to install memcache for typo3 and not memcached ;-(

Uncaught TYPO3 Exception Class does not exist
ReflectionException thrown in file ....typo3_src-4.4.4/t3lib/class.t3lib_div.php in line 5250.

Damn it! –> http://bugs.typo3.org/view.php?id=15923

Ok, now it works :-)

Explore posts in the same categories: Programming

One Comment on “PHP new configuration”

  1. RockDrilla Says:

    Question with mod_session for PHP: compiling PHP 5.3.10 produce message “mod_session.c mm is not thread-safe”. Error is under condition “#ifdef ZTS”. What to do? :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.