Тъпи хора с тъпите си версии

September 23, 2011 at 14:09 (admin)

Това да слагате стара версия на php не си е работа.

make clean
===================================
apt-get install libcurl4-gnutls-dev

apt-get install libbz2-dev

apt-get install libgd2-xpm-dev

cd /usr/lib
ln -s ../include/dg.h .

apt-get install mcrypt libmcrypt-dev

===================================

./configure --with-mysql=/usr/bin/mysql_config --enable-embedded-mysqli --with-libxml-dir=/usr/lib --with-apxs2=/usr/bin/apxs2 --with-zlib --with-zlib-dir=/usr/include/ --enable-zip --with-bz2=/bin/bzip2 --with-gd=/usr/lib --with-freetype-dir=/usr/lib/x86_64-linux-gnu/ --enable-gd-native-ttf --enable-gd-jis-conv --enable-magic-quotes --with-curl=/usr/include/curl/ --with-curlwrappers --disable-ipv6 --enable-ftp --enable-mbstring --with-mcrypt=/usr/include/

make
make test
make install

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s