Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login as: root
- root@88.88.88.88's password:
- [root@server ~]# yum install -y gcc libxml2-devel openssl-devel libcurl-devel libpng-devel libmcrypt-devel libmhash-devel mysql-devel libtidy-devel
- Loaded plugins: fastestmirror, security
- Setting up Install Process
- Determining fastest mirrors
- epel/metalink | 25 kB 00:00
- * base: mirror.yandex.ru
- * epel: fedora-mirror01.rbc.ru
- * extras: mirror.yandex.ru
- * updates: mirror.yandex.ru
- base | 3.7 kB 00:00
- base/primary_db | 4.6 MB 00:00
- epel | 4.4 kB 00:00
- epel/primary_db | 6.4 MB 00:00
- extras | 3.4 kB 00:00
- extras/primary_db | 30 kB 00:00
- ispsystem-base | 951 B 00:00
- ispsystem-base/primary | 7.3 kB 00:00
- ispsystem-base 28/28
- ispsystem-beta | 951 B 00:00
- ispsystem-beta/primary | 458 kB 00:00
- ispsystem-beta 3081/3081
- updates | 3.4 kB 00:00
- updates/primary_db | 2.1 MB 00:00
- Resolving Dependencies
- --> Running transaction check
- ---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed
- --> Processing Dependency: libgomp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
- --> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
- --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-11.el6.x86_64
- --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64
- --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-11.el6.x86_64
- ---> Package libcurl-devel.x86_64 0:7.19.7-40.el6_6.4 will be installed
- --> Processing Dependency: libidn-devel for package: libcurl-devel-7.19.7-40.el6_6.4.x86_64
- --> Processing Dependency: automake for package: libcurl-devel-7.19.7-40.el6_6.4.x86_64
- ---> Package libmcrypt-devel.x86_64 0:2.5.8-9.el6 will be installed
- ---> Package libpng-devel.x86_64 2:1.2.49-1.el6_2 will be installed
- --> Processing Dependency: zlib-devel for package: 2:libpng-devel-1.2.49-1.el6_2.x86_64
- ---> Package libtidy-devel.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
- ---> Package libxml2-devel.x86_64 0:2.7.6-17.el6_6.1 will be installed
- ---> Package mhash-devel.x86_64 0:0.9.9.9-3.el6 will be installed
- --> Processing Dependency: mhash = 0.9.9.9-3.el6 for package: mhash-devel-0.9.9.9-3.el6.x86_64
- --> Processing Dependency: libmhash.so.2()(64bit) for package: mhash-devel-0.9.9.9-3.el6.x86_64
- ---> Package mysql-devel.x86_64 0:5.1.73-3.el6_5 will be installed
- ---> Package openssl-devel.x86_64 0:1.0.1e-30.el6_6.5 will be installed
- --> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-30.el6_6.5.x86_64
- --> Running transaction check
- ---> Package automake.noarch 0:1.11.1-4.el6 will be installed
- --> Processing Dependency: autoconf >= 2.62 for package: automake-1.11.1-4.el6.noarch
- ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
- --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
- --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
- ---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed
- --> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-11.el6.x86_64
- ---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be installed
- --> Processing Dependency: glibc-headers = 2.12-1.149.el6_6.5 for package: glibc-devel-2.12-1.149.el6_6.5.x86_64
- --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.149.el6_6.5.x86_64
- ---> Package krb5-devel.x86_64 0:1.10.3-33.el6 will be installed
- --> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-33.el6.x86_64
- --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-33.el6.x86_64
- --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-33.el6.x86_64
- ---> Package libgomp.x86_64 0:4.4.7-11.el6 will be installed
- ---> Package libidn-devel.x86_64 0:1.18-2.el6 will be installed
- ---> Package mhash.x86_64 0:0.9.9.9-3.el6 will be installed
- ---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
- --> Running transaction check
- ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
- ---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be installed
- --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.149.el6_6.5.x86_64
- --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.149.el6_6.5.x86_64
- ---> Package keyutils-libs-devel.x86_64 0:1.4-5.el6 will be installed
- ---> Package libcom_err-devel.x86_64 0:1.41.12-21.el6 will be installed
- ---> Package libselinux-devel.x86_64 0:2.0.94-5.8.el6 will be installed
- --> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.8.el6.x86_64
- --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.8.el6.x86_64
- ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
- ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
- --> Running transaction check
- ---> Package kernel-headers.x86_64 0:2.6.32-504.8.1.el6 will be installed
- ---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- gcc x86_64 4.4.7-11.el6 base 10 M
- libcurl-devel x86_64 7.19.7-40.el6_6.4 updates 245 k
- libmcrypt-devel x86_64 2.5.8-9.el6 epel 12 k
- libpng-devel x86_64 2:1.2.49-1.el6_2 base 112 k
- libtidy-devel x86_64 0.99.0-19.20070615.1.el6 base 97 k
- libxml2-devel x86_64 2.7.6-17.el6_6.1 updates 1.1 M
- mhash-devel x86_64 0.9.9.9-3.el6 epel 25 k
- mysql-devel x86_64 5.1.73-3.el6_5 base 129 k
- openssl-devel x86_64 1.0.1e-30.el6_6.5 updates 1.2 M
- Installing for dependencies:
- autoconf noarch 2.63-5.1.el6 base 781 k
- automake noarch 1.11.1-4.el6 base 550 k
- cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k
- cpp x86_64 4.4.7-11.el6 base 3.7 M
- glibc-devel x86_64 2.12-1.149.el6_6.5 updates 983 k
- glibc-headers x86_64 2.12-1.149.el6_6.5 updates 612 k
- kernel-headers x86_64 2.6.32-504.8.1.el6 updates 3.3 M
- keyutils-libs-devel x86_64 1.4-5.el6 base 29 k
- krb5-devel x86_64 1.10.3-33.el6 base 498 k
- libcom_err-devel x86_64 1.41.12-21.el6 base 32 k
- libgomp x86_64 4.4.7-11.el6 base 133 k
- libidn-devel x86_64 1.18-2.el6 base 137 k
- libselinux-devel x86_64 2.0.94-5.8.el6 base 137 k
- libsepol-devel x86_64 2.0.41-4.el6 base 64 k
- mhash x86_64 0.9.9.9-3.el6 epel 102 k
- mpfr x86_64 2.4.1-6.el6 base 157 k
- ppl x86_64 0.10.2-11.el6 base 1.3 M
- zlib-devel x86_64 1.2.3-29.el6 base 44 k
- Transaction Summary
- ================================================================================
- Install 27 Package(s)
- Total download size: 26 M
- Installed size: 59 M
- Downloading Packages:
- (1/27): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00
- (2/27): automake-1.11.1-4.el6.noarch.rpm | 550 kB 00:00
- (3/27): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
- (4/27): cpp-4.4.7-11.el6.x86_64.rpm | 3.7 MB 00:00
- (5/27): gcc-4.4.7-11.el6.x86_64.rpm | 10 MB 00:01
- (6/27): glibc-devel-2.12-1.149.el6_6.5.x86_64.rpm | 983 kB 00:00
- (7/27): glibc-headers-2.12-1.149.el6_6.5.x86_64.rpm | 612 kB 00:00
- (8/27): kernel-headers-2.6.32-504.8.1.el6.x86_64.rpm | 3.3 MB 00:00
- (9/27): keyutils-libs-devel-1.4-5.el6.x86_64.rpm | 29 kB 00:00
- (10/27): krb5-devel-1.10.3-33.el6.x86_64.rpm | 498 kB 00:00
- (11/27): libcom_err-devel-1.41.12-21.el6.x86_64.rpm | 32 kB 00:00
- (12/27): libcurl-devel-7.19.7-40.el6_6.4.x86_64.rpm | 245 kB 00:00
- (13/27): libgomp-4.4.7-11.el6.x86_64.rpm | 133 kB 00:00
- (14/27): libidn-devel-1.18-2.el6.x86_64.rpm | 137 kB 00:00
- (15/27): libmcrypt-devel-2.5.8-9.el6.x86_64.rpm | 12 kB 00:00
- (16/27): libpng-devel-1.2.49-1.el6_2.x86_64.rpm | 112 kB 00:00
- (17/27): libselinux-devel-2.0.94-5.8.el6.x86_64.rpm | 137 kB 00:00
- (18/27): libsepol-devel-2.0.41-4.el6.x86_64.rpm | 64 kB 00:00
- (19/27): libtidy-devel-0.99.0-19.20070615.1.el6.x86_64.r | 97 kB 00:00
- (20/27): libxml2-devel-2.7.6-17.el6_6.1.x86_64.rpm | 1.1 MB 00:00
- (21/27): mhash-0.9.9.9-3.el6.x86_64.rpm | 102 kB 00:00
- (22/27): mhash-devel-0.9.9.9-3.el6.x86_64.rpm | 25 kB 00:00
- (23/27): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00
- (24/27): mysql-devel-5.1.73-3.el6_5.x86_64.rpm | 129 kB 00:00
- (25/27): openssl-devel-1.0.1e-30.el6_6.5.x86_64.rpm | 1.2 MB 00:00
- (26/27): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:00
- (27/27): zlib-devel-1.2.3-29.el6.x86_64.rpm | 44 kB 00:00
- --------------------------------------------------------------------------------
- Total 7.7 MB/s | 26 MB 00:03
- Running rpm_check_debug
- Running Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Installing : zlib-devel-1.2.3-29.el6.x86_64 1/27
- Installing : kernel-headers-2.6.32-504.8.1.el6.x86_64 2/27
- Installing : glibc-headers-2.12-1.149.el6_6.5.x86_64 3/27
- Installing : glibc-devel-2.12-1.149.el6_6.5.x86_64 4/27
- Installing : libsepol-devel-2.0.41-4.el6.x86_64 5/27
- Installing : libselinux-devel-2.0.94-5.8.el6.x86_64 6/27
- Installing : ppl-0.10.2-11.el6.x86_64 7/27
- Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 8/27
- Installing : libcom_err-devel-1.41.12-21.el6.x86_64 9/27
- Installing : libidn-devel-1.18-2.el6.x86_64 10/27
- Installing : autoconf-2.63-5.1.el6.noarch 11/27
- Installing : automake-1.11.1-4.el6.noarch 12/27
- Installing : libgomp-4.4.7-11.el6.x86_64 13/27
- Installing : mpfr-2.4.1-6.el6.x86_64 14/27
- Installing : cpp-4.4.7-11.el6.x86_64 15/27
- Installing : keyutils-libs-devel-1.4-5.el6.x86_64 16/27
- Installing : krb5-devel-1.10.3-33.el6.x86_64 17/27
- Installing : openssl-devel-1.0.1e-30.el6_6.5.x86_64 18/27
- Installing : mhash-0.9.9.9-3.el6.x86_64 19/27
- Installing : mhash-devel-0.9.9.9-3.el6.x86_64 20/27
- Installing : mysql-devel-5.1.73-3.el6_5.x86_64 21/27
- Installing : gcc-4.4.7-11.el6.x86_64 22/27
- Installing : libcurl-devel-7.19.7-40.el6_6.4.x86_64 23/27
- Installing : libxml2-devel-2.7.6-17.el6_6.1.x86_64 24/27
- Installing : 2:libpng-devel-1.2.49-1.el6_2.x86_64 25/27
- Installing : libmcrypt-devel-2.5.8-9.el6.x86_64 26/27
- Installing : libtidy-devel-0.99.0-19.20070615.1.el6.x86_64 27/27
- Verifying : mhash-0.9.9.9-3.el6.x86_64 1/27
- Verifying : libcurl-devel-7.19.7-40.el6_6.4.x86_64 2/27
- Verifying : automake-1.11.1-4.el6.noarch 3/27
- Verifying : mysql-devel-5.1.73-3.el6_5.x86_64 4/27
- Verifying : keyutils-libs-devel-1.4-5.el6.x86_64 5/27
- Verifying : libxml2-devel-2.7.6-17.el6_6.1.x86_64 6/27
- Verifying : mpfr-2.4.1-6.el6.x86_64 7/27
- Verifying : libgomp-4.4.7-11.el6.x86_64 8/27
- Verifying : autoconf-2.63-5.1.el6.noarch 9/27
- Verifying : zlib-devel-1.2.3-29.el6.x86_64 10/27
- Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 11/27
- Verifying : mhash-devel-0.9.9.9-3.el6.x86_64 12/27
- Verifying : openssl-devel-1.0.1e-30.el6_6.5.x86_64 13/27
- Verifying : libidn-devel-1.18-2.el6.x86_64 14/27
- Verifying : glibc-headers-2.12-1.149.el6_6.5.x86_64 15/27
- Verifying : 2:libpng-devel-1.2.49-1.el6_2.x86_64 16/27
- Verifying : libcom_err-devel-1.41.12-21.el6.x86_64 17/27
- Verifying : ppl-0.10.2-11.el6.x86_64 18/27
- Verifying : krb5-devel-1.10.3-33.el6.x86_64 19/27
- Verifying : gcc-4.4.7-11.el6.x86_64 20/27
- Verifying : libsepol-devel-2.0.41-4.el6.x86_64 21/27
- Verifying : libtidy-devel-0.99.0-19.20070615.1.el6.x86_64 22/27
- Verifying : kernel-headers-2.6.32-504.8.1.el6.x86_64 23/27
- Verifying : libmcrypt-devel-2.5.8-9.el6.x86_64 24/27
- Verifying : glibc-devel-2.12-1.149.el6_6.5.x86_64 25/27
- Verifying : libselinux-devel-2.0.94-5.8.el6.x86_64 26/27
- Verifying : cpp-4.4.7-11.el6.x86_64 27/27
- Installed:
- gcc.x86_64 0:4.4.7-11.el6
- libcurl-devel.x86_64 0:7.19.7-40.el6_6.4
- libmcrypt-devel.x86_64 0:2.5.8-9.el6
- libpng-devel.x86_64 2:1.2.49-1.el6_2
- libtidy-devel.x86_64 0:0.99.0-19.20070615.1.el6
- libxml2-devel.x86_64 0:2.7.6-17.el6_6.1
- mhash-devel.x86_64 0:0.9.9.9-3.el6
- mysql-devel.x86_64 0:5.1.73-3.el6_5
- openssl-devel.x86_64 0:1.0.1e-30.el6_6.5
- Dependency Installed:
- autoconf.noarch 0:2.63-5.1.el6
- automake.noarch 0:1.11.1-4.el6
- cloog-ppl.x86_64 0:0.15.7-1.2.el6
- cpp.x86_64 0:4.4.7-11.el6
- glibc-devel.x86_64 0:2.12-1.149.el6_6.5
- glibc-headers.x86_64 0:2.12-1.149.el6_6.5
- kernel-headers.x86_64 0:2.6.32-504.8.1.el6
- keyutils-libs-devel.x86_64 0:1.4-5.el6
- krb5-devel.x86_64 0:1.10.3-33.el6
- libcom_err-devel.x86_64 0:1.41.12-21.el6
- libgomp.x86_64 0:4.4.7-11.el6
- libidn-devel.x86_64 0:1.18-2.el6
- libselinux-devel.x86_64 0:2.0.94-5.8.el6
- libsepol-devel.x86_64 0:2.0.41-4.el6
- mhash.x86_64 0:0.9.9.9-3.el6
- mpfr.x86_64 0:2.4.1-6.el6
- ppl.x86_64 0:0.10.2-11.el6
- zlib-devel.x86_64 0:1.2.3-29.el6
- Complete!
- [root@server ~]# ln -s /usr/lib64/libjpeg.so /usr/lib/
- [root@server ~]# ln -s /usr/lib64/libpng.so /usr/lib/
- [root@server ~]# ln -s /usr/lib64/mysql/ /usr/lib/
- [root@server ~]# wget http://museum.php.net/php5/php-5.2.17.tar.gztar -xzf php-5.2.17.tar.gz -C /tmp
- wget: invalid option -- 'z'
- Usage: wget [OPTION]... [URL]...
- Try ‘wget --help’ for more options.
- [root@server ~]# cd /tmp
- [root@server tmp]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server tmp]# make
- make: *** No targets specified and no makefile found. Stop.
- [root@server tmp]# make install
- make: *** No rule to make target `install'. Stop.
- [root@server tmp]# cd /tmp
- [root@server tmp]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server tmp]# make install
- make: *** No rule to make target `install'. Stop.
- [root@server tmp]# cd /tmp/configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: cd: /tmp/configure: No such file or directory
- [root@server tmp]# ^C
- [root@server tmp]# apt-get install php5.2
- -bash: apt-get: command not found
- [root@server tmp]# apt-get install php5
- -bash: apt-get: command not found
- [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
- --2015-02-22 14:29:57-- http://museum.php.net/php5/php-5.2.17.tar.gz
- Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
- Connecting to museum.php.net|104.236.41.219|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 11801597 (11M) [application/octet-stream]
- Saving to: “php-5.2.17.tar.gz”
- 100%[======================================>] 11,801,597 4.43M/s in 2.5s
- 2015-02-22 14:30:00 (4.43 MB/s) - “php-5.2.17.tar.gz” saved [11801597/11801597]
- [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmpcd /tmp
- make
- make installtar: /tmp: Not found in archive
- tar: Exiting with failure status due to previous errors
- [root@server tmp]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server tmp]# make
- make: *** No targets specified and no makefile found. Stop.
- [root@server tmp]# make install
- make: *** No rule to make target `install'. Stop.
- [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
- --2015-02-22 14:30:39-- http://museum.php.net/php5/php-5.2.17.tar.gz
- Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
- Connecting to museum.php.net|104.236.41.219|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 11801597 (11M) [application/octet-stream]
- Saving to: “php-5.2.17.tar.gz.1”
- 100%[======================================>] 11,801,597 4.51M/s in 2.5s
- 2015-02-22 14:30:42 (4.51 MB/s) - “php-5.2.17.tar.gz.1” saved [11801597/11801597]
- [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmpcd /tmp
- ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- make
- make installtar: /tmp: Not found in archive
- tar: Exiting with failure status due to previous errors
- [root@server tmp]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server tmp]# make
- make: *** No targets specified and no makefile found. Stop.
- [root@server tmp]# make install^C
- [root@server tmp]# sudo apt-get install php5.2.17
- sudo: apt-get: command not found
- [root@server tmp]#
- [root@server tmp]# Полный текст: https://www.netangels.ru/support/cloud-vds/php5.2/sudo apt-get install php5.2.17
- -bash: Полный: command not found
- [root@server tmp]# sudo apt-get install php5.2.17
- sudo: apt-get: command not found
- [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
- --2015-02-22 14:46:24-- http://museum.php.net/php5/php-5.2.17.tar.gz
- Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
- Connecting to museum.php.net|104.236.41.219|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 11801597 (11M) [application/octet-stream]
- Saving to: “php-5.2.17.tar.gz.2”
- 100%[======================================>] 11,801,597 4.62M/s in 2.4s
- 2015-02-22 14:46:26 (4.62 MB/s) - “php-5.2.17.tar.gz.2” saved [11801597/11801597]
- [root@server tmp]# mkdir /tmp/php52
- [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmp/php52
- [root@server tmp]# cd /tmp/php52./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: cd: /tmp/php52./configure: No such file or directory
- [root@server tmp]# make
- make: *** No targets specified and no makefile found. Stop.
- [root@server tmp]# make install^C
- [root@server tmp]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server tmp]#
- [root@server tmp]# -bash: ./configure: No such file or directory
- -bash: -bash:: command not found
- [root@server tmp]# ^C
- [root@server tmp]# cd /tmp/php52
- [root@server php52]# ./configure
- -bash: ./configure: No such file or directory
- [root@server php52]# cd /tmp/php52
- [root@server php52]# cd /tmp/php52
- [root@server php52]# ./configure
- -bash: ./configure: No such file or directory
- [root@server php52]# cd /tmp/php52 ./configure
- [root@server php52]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server php52]# cd /tmp/php52 ./configure
- [root@server php52]# cd /tmp/php52 ./configure
- [root@server php52]# cd /tmp/php52 ./configure
- [root@server php52]# ./configure --prefix=/opt/php52 --enable-force-cgi-redirect --disable-debug --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --enable-spl --enable-zend-multibyte --with-regex=system --with-tidy --enable-zip --enable-bcmath --enable-calendar --with-curl=shared --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --enable-mbstring --with-mcrypt=/usr/include --with-mhash=shared --with-mysql --with-libdir=lib --with-mysqli --with-openssl --with-pdo-mysql --enable-sockets --with-xsl --with-zlib --enable-pcntl --enable-soap --with-iconv --enable-exif --enable-ftp --with-curl --enable-magic-quotes
- -bash: ./configure: No such file or directory
- [root@server php52]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement