Guest User

Ubuntu 10.4

a guest
Aug 26th, 2012
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. PHP:
  2. ----
  3.  
  4. sudo apt-get -y install curl libcurl4-openssl-dev libcurl3 libcurl3-gnutls zlib1g zlib1g-dev libzip-dev libzip1 libxml2 libsnmp-base libsnmp15 libxml2-dev libsnmp-dev libjpeg62 libjpeg62-dev libpng12-0 libpng12-dev zlib1g zlib1g-dev libfreetype6 libfreetype6-dev libbz2-dev libmcrypt-dev libmcrypt4 libc-client2007e libmysqlclient15-dev checkinstall libtool
  5.  
  6. http://uk.php.net/get/php-5.3.16.tar.gz/from/this/mirror
  7.  
  8. ./configure --prefix=/opt/php5.3.16 --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-curl=/usr/bin --with-curlwrappers --with-openssl-dir=/usr --with-zlib-dir=/usr --enable-mbstring --with-pdo-mysql=/usr --with-xmlrpc --with-iconv-dir=/usr --with-snmp=/usr --enable-exif --enable-calendar --with-bz2=/usr --with-mcrypt=/usr --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr --enable-mbstring --enable-zip --with-pear --enable-cli --enable-bcmath --enable-ctype --enable-dba --enable-dom --enable-filter --enable-ftp --with-gettext --enable-hash --enable-json --enable-libxml --with-pcre-regex --enable-sockets --enable-soap --with-kerberos --enable-shmop --enable-wddx --with-openssl --without-sqlite --without-imap
  9.  
  10. make
  11.  
  12. sudo checkinstall
  13.  
  14.  
  15.  
  16.  
  17. Cairo:
  18. ------
  19.  
  20. sudo apt-get -y install build-essential subversion php5-cli php5-dev libgtk2.0-dev libglade2-dev patch git-core
  21.  
  22. svn co http://svn.php.net/repository/pecl/cairo/trunk pecl-cairo
  23.  
  24. cd pecl-cairo
  25.  
  26. /opt/php5.3.16/bin/phpize
  27.  
  28. ./configure --prefix=/opt/php5.3.16 --with-php-config=/opt/php5.3.16/bin/php-config
  29.  
  30. make
  31.  
  32. sudo checkinstall
  33.  
  34.  
  35.  
  36. PHP-GTK:
  37. --------
  38.  
  39. git clone git://github.com/php/php-gtk-src.git php-gtk
  40.  
  41. cd php-gtk
  42.  
  43. ./buildconf --with-phpize=/opt/php5.3.16/bin/phpize
  44.  
  45. ./configure --with-php-config=/opt/php5.3.16/bin/php-config
  46.  
  47. make
Advertisement
Add Comment
Please, Sign In to add comment