Actions

Php53 » History » Revision 3

« Previous | Revision 3/11 (diff) | Next »
Christopher Hlubek, 2008-09-06 12:41


PHP 5.3

Building PHP 5.3 alpha1 on Debian Linux


wget http://downloads.php.net/johannes/php-5.3.0alpha1.tar.bz2

  • Unpack source in some directory:

tar xjf php-5.3.0alpha1.tar.bz2

  • Install required debian packages for build:

apt-get install apache2-dev apache2-utils build-essential

  • Install additional libraries (with dev versions -dev!), this depends on the system and configure options:

./configure --with-apxs2=/usr/bin/apxs2 --with-zlib --enable-bcmath --enable-mbstring --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd --without-pear --with-curl --with-mhash --with-pdo-sqlite --with-config-file-path=/etc/php5

make && make test && make install

apache2ctl restart

Hint: If the apache can't start, try to run libtool:


libtool --finish /usr/lib/apache2/modules/libphp5.so

Helpful Links/Tips:

Updated by Christopher Hlubek about 13 years ago · 3 revisions