Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2015
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.92 KB | None | 0 0
  1. login as: root
  2. root@88.88.88.88's password:
  3. [root@server ~]# yum install -y gcc libxml2-devel openssl-devel libcurl-devel libpng-devel libmcrypt-devel libmhash-devel mysql-devel libtidy-devel
  4. Loaded plugins: fastestmirror, security
  5. Setting up Install Process
  6. Determining fastest mirrors
  7. epel/metalink | 25 kB 00:00
  8. * base: mirror.yandex.ru
  9. * epel: fedora-mirror01.rbc.ru
  10. * extras: mirror.yandex.ru
  11. * updates: mirror.yandex.ru
  12. base | 3.7 kB 00:00
  13. base/primary_db | 4.6 MB 00:00
  14. epel | 4.4 kB 00:00
  15. epel/primary_db | 6.4 MB 00:00
  16. extras | 3.4 kB 00:00
  17. extras/primary_db | 30 kB 00:00
  18. ispsystem-base | 951 B 00:00
  19. ispsystem-base/primary | 7.3 kB 00:00
  20. ispsystem-base 28/28
  21. ispsystem-beta | 951 B 00:00
  22. ispsystem-beta/primary | 458 kB 00:00
  23. ispsystem-beta 3081/3081
  24. updates | 3.4 kB 00:00
  25. updates/primary_db | 2.1 MB 00:00
  26. Resolving Dependencies
  27. --> Running transaction check
  28. ---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed
  29. --> Processing Dependency: libgomp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
  30. --> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64
  31. --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-11.el6.x86_64
  32. --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64
  33. --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-11.el6.x86_64
  34. ---> Package libcurl-devel.x86_64 0:7.19.7-40.el6_6.4 will be installed
  35. --> Processing Dependency: libidn-devel for package: libcurl-devel-7.19.7-40.el6_6.4.x86_64
  36. --> Processing Dependency: automake for package: libcurl-devel-7.19.7-40.el6_6.4.x86_64
  37. ---> Package libmcrypt-devel.x86_64 0:2.5.8-9.el6 will be installed
  38. ---> Package libpng-devel.x86_64 2:1.2.49-1.el6_2 will be installed
  39. --> Processing Dependency: zlib-devel for package: 2:libpng-devel-1.2.49-1.el6_2.x86_64
  40. ---> Package libtidy-devel.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
  41. ---> Package libxml2-devel.x86_64 0:2.7.6-17.el6_6.1 will be installed
  42. ---> Package mhash-devel.x86_64 0:0.9.9.9-3.el6 will be installed
  43. --> Processing Dependency: mhash = 0.9.9.9-3.el6 for package: mhash-devel-0.9.9.9-3.el6.x86_64
  44. --> Processing Dependency: libmhash.so.2()(64bit) for package: mhash-devel-0.9.9.9-3.el6.x86_64
  45. ---> Package mysql-devel.x86_64 0:5.1.73-3.el6_5 will be installed
  46. ---> Package openssl-devel.x86_64 0:1.0.1e-30.el6_6.5 will be installed
  47. --> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-30.el6_6.5.x86_64
  48. --> Running transaction check
  49. ---> Package automake.noarch 0:1.11.1-4.el6 will be installed
  50. --> Processing Dependency: autoconf >= 2.62 for package: automake-1.11.1-4.el6.noarch
  51. ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
  52. --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
  53. --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
  54. ---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed
  55. --> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-11.el6.x86_64
  56. ---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be installed
  57. --> Processing Dependency: glibc-headers = 2.12-1.149.el6_6.5 for package: glibc-devel-2.12-1.149.el6_6.5.x86_64
  58. --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.149.el6_6.5.x86_64
  59. ---> Package krb5-devel.x86_64 0:1.10.3-33.el6 will be installed
  60. --> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-33.el6.x86_64
  61. --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-33.el6.x86_64
  62. --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-33.el6.x86_64
  63. ---> Package libgomp.x86_64 0:4.4.7-11.el6 will be installed
  64. ---> Package libidn-devel.x86_64 0:1.18-2.el6 will be installed
  65. ---> Package mhash.x86_64 0:0.9.9.9-3.el6 will be installed
  66. ---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
  67. --> Running transaction check
  68. ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
  69. ---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be installed
  70. --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.149.el6_6.5.x86_64
  71. --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.149.el6_6.5.x86_64
  72. ---> Package keyutils-libs-devel.x86_64 0:1.4-5.el6 will be installed
  73. ---> Package libcom_err-devel.x86_64 0:1.41.12-21.el6 will be installed
  74. ---> Package libselinux-devel.x86_64 0:2.0.94-5.8.el6 will be installed
  75. --> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.8.el6.x86_64
  76. --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.8.el6.x86_64
  77. ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
  78. ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
  79. --> Running transaction check
  80. ---> Package kernel-headers.x86_64 0:2.6.32-504.8.1.el6 will be installed
  81. ---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
  82. --> Finished Dependency Resolution
  83.  
  84. Dependencies Resolved
  85.  
  86. ================================================================================
  87. Package Arch Version Repository Size
  88. ================================================================================
  89. Installing:
  90. gcc x86_64 4.4.7-11.el6 base 10 M
  91. libcurl-devel x86_64 7.19.7-40.el6_6.4 updates 245 k
  92. libmcrypt-devel x86_64 2.5.8-9.el6 epel 12 k
  93. libpng-devel x86_64 2:1.2.49-1.el6_2 base 112 k
  94. libtidy-devel x86_64 0.99.0-19.20070615.1.el6 base 97 k
  95. libxml2-devel x86_64 2.7.6-17.el6_6.1 updates 1.1 M
  96. mhash-devel x86_64 0.9.9.9-3.el6 epel 25 k
  97. mysql-devel x86_64 5.1.73-3.el6_5 base 129 k
  98. openssl-devel x86_64 1.0.1e-30.el6_6.5 updates 1.2 M
  99. Installing for dependencies:
  100. autoconf noarch 2.63-5.1.el6 base 781 k
  101. automake noarch 1.11.1-4.el6 base 550 k
  102. cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k
  103. cpp x86_64 4.4.7-11.el6 base 3.7 M
  104. glibc-devel x86_64 2.12-1.149.el6_6.5 updates 983 k
  105. glibc-headers x86_64 2.12-1.149.el6_6.5 updates 612 k
  106. kernel-headers x86_64 2.6.32-504.8.1.el6 updates 3.3 M
  107. keyutils-libs-devel x86_64 1.4-5.el6 base 29 k
  108. krb5-devel x86_64 1.10.3-33.el6 base 498 k
  109. libcom_err-devel x86_64 1.41.12-21.el6 base 32 k
  110. libgomp x86_64 4.4.7-11.el6 base 133 k
  111. libidn-devel x86_64 1.18-2.el6 base 137 k
  112. libselinux-devel x86_64 2.0.94-5.8.el6 base 137 k
  113. libsepol-devel x86_64 2.0.41-4.el6 base 64 k
  114. mhash x86_64 0.9.9.9-3.el6 epel 102 k
  115. mpfr x86_64 2.4.1-6.el6 base 157 k
  116. ppl x86_64 0.10.2-11.el6 base 1.3 M
  117. zlib-devel x86_64 1.2.3-29.el6 base 44 k
  118.  
  119. Transaction Summary
  120. ================================================================================
  121. Install 27 Package(s)
  122.  
  123. Total download size: 26 M
  124. Installed size: 59 M
  125. Downloading Packages:
  126. (1/27): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00
  127. (2/27): automake-1.11.1-4.el6.noarch.rpm | 550 kB 00:00
  128. (3/27): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
  129. (4/27): cpp-4.4.7-11.el6.x86_64.rpm | 3.7 MB 00:00
  130. (5/27): gcc-4.4.7-11.el6.x86_64.rpm | 10 MB 00:01
  131. (6/27): glibc-devel-2.12-1.149.el6_6.5.x86_64.rpm | 983 kB 00:00
  132. (7/27): glibc-headers-2.12-1.149.el6_6.5.x86_64.rpm | 612 kB 00:00
  133. (8/27): kernel-headers-2.6.32-504.8.1.el6.x86_64.rpm | 3.3 MB 00:00
  134. (9/27): keyutils-libs-devel-1.4-5.el6.x86_64.rpm | 29 kB 00:00
  135. (10/27): krb5-devel-1.10.3-33.el6.x86_64.rpm | 498 kB 00:00
  136. (11/27): libcom_err-devel-1.41.12-21.el6.x86_64.rpm | 32 kB 00:00
  137. (12/27): libcurl-devel-7.19.7-40.el6_6.4.x86_64.rpm | 245 kB 00:00
  138. (13/27): libgomp-4.4.7-11.el6.x86_64.rpm | 133 kB 00:00
  139. (14/27): libidn-devel-1.18-2.el6.x86_64.rpm | 137 kB 00:00
  140. (15/27): libmcrypt-devel-2.5.8-9.el6.x86_64.rpm | 12 kB 00:00
  141. (16/27): libpng-devel-1.2.49-1.el6_2.x86_64.rpm | 112 kB 00:00
  142. (17/27): libselinux-devel-2.0.94-5.8.el6.x86_64.rpm | 137 kB 00:00
  143. (18/27): libsepol-devel-2.0.41-4.el6.x86_64.rpm | 64 kB 00:00
  144. (19/27): libtidy-devel-0.99.0-19.20070615.1.el6.x86_64.r | 97 kB 00:00
  145. (20/27): libxml2-devel-2.7.6-17.el6_6.1.x86_64.rpm | 1.1 MB 00:00
  146. (21/27): mhash-0.9.9.9-3.el6.x86_64.rpm | 102 kB 00:00
  147. (22/27): mhash-devel-0.9.9.9-3.el6.x86_64.rpm | 25 kB 00:00
  148. (23/27): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00
  149. (24/27): mysql-devel-5.1.73-3.el6_5.x86_64.rpm | 129 kB 00:00
  150. (25/27): openssl-devel-1.0.1e-30.el6_6.5.x86_64.rpm | 1.2 MB 00:00
  151. (26/27): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:00
  152. (27/27): zlib-devel-1.2.3-29.el6.x86_64.rpm | 44 kB 00:00
  153. --------------------------------------------------------------------------------
  154. Total 7.7 MB/s | 26 MB 00:03
  155. Running rpm_check_debug
  156. Running Transaction Test
  157. Transaction Test Succeeded
  158. Running Transaction
  159. Installing : zlib-devel-1.2.3-29.el6.x86_64 1/27
  160. Installing : kernel-headers-2.6.32-504.8.1.el6.x86_64 2/27
  161. Installing : glibc-headers-2.12-1.149.el6_6.5.x86_64 3/27
  162. Installing : glibc-devel-2.12-1.149.el6_6.5.x86_64 4/27
  163. Installing : libsepol-devel-2.0.41-4.el6.x86_64 5/27
  164. Installing : libselinux-devel-2.0.94-5.8.el6.x86_64 6/27
  165. Installing : ppl-0.10.2-11.el6.x86_64 7/27
  166. Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 8/27
  167. Installing : libcom_err-devel-1.41.12-21.el6.x86_64 9/27
  168. Installing : libidn-devel-1.18-2.el6.x86_64 10/27
  169. Installing : autoconf-2.63-5.1.el6.noarch 11/27
  170. Installing : automake-1.11.1-4.el6.noarch 12/27
  171. Installing : libgomp-4.4.7-11.el6.x86_64 13/27
  172. Installing : mpfr-2.4.1-6.el6.x86_64 14/27
  173. Installing : cpp-4.4.7-11.el6.x86_64 15/27
  174. Installing : keyutils-libs-devel-1.4-5.el6.x86_64 16/27
  175. Installing : krb5-devel-1.10.3-33.el6.x86_64 17/27
  176. Installing : openssl-devel-1.0.1e-30.el6_6.5.x86_64 18/27
  177. Installing : mhash-0.9.9.9-3.el6.x86_64 19/27
  178. Installing : mhash-devel-0.9.9.9-3.el6.x86_64 20/27
  179. Installing : mysql-devel-5.1.73-3.el6_5.x86_64 21/27
  180. Installing : gcc-4.4.7-11.el6.x86_64 22/27
  181. Installing : libcurl-devel-7.19.7-40.el6_6.4.x86_64 23/27
  182. Installing : libxml2-devel-2.7.6-17.el6_6.1.x86_64 24/27
  183. Installing : 2:libpng-devel-1.2.49-1.el6_2.x86_64 25/27
  184. Installing : libmcrypt-devel-2.5.8-9.el6.x86_64 26/27
  185. Installing : libtidy-devel-0.99.0-19.20070615.1.el6.x86_64 27/27
  186. Verifying : mhash-0.9.9.9-3.el6.x86_64 1/27
  187. Verifying : libcurl-devel-7.19.7-40.el6_6.4.x86_64 2/27
  188. Verifying : automake-1.11.1-4.el6.noarch 3/27
  189. Verifying : mysql-devel-5.1.73-3.el6_5.x86_64 4/27
  190. Verifying : keyutils-libs-devel-1.4-5.el6.x86_64 5/27
  191. Verifying : libxml2-devel-2.7.6-17.el6_6.1.x86_64 6/27
  192. Verifying : mpfr-2.4.1-6.el6.x86_64 7/27
  193. Verifying : libgomp-4.4.7-11.el6.x86_64 8/27
  194. Verifying : autoconf-2.63-5.1.el6.noarch 9/27
  195. Verifying : zlib-devel-1.2.3-29.el6.x86_64 10/27
  196. Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 11/27
  197. Verifying : mhash-devel-0.9.9.9-3.el6.x86_64 12/27
  198. Verifying : openssl-devel-1.0.1e-30.el6_6.5.x86_64 13/27
  199. Verifying : libidn-devel-1.18-2.el6.x86_64 14/27
  200. Verifying : glibc-headers-2.12-1.149.el6_6.5.x86_64 15/27
  201. Verifying : 2:libpng-devel-1.2.49-1.el6_2.x86_64 16/27
  202. Verifying : libcom_err-devel-1.41.12-21.el6.x86_64 17/27
  203. Verifying : ppl-0.10.2-11.el6.x86_64 18/27
  204. Verifying : krb5-devel-1.10.3-33.el6.x86_64 19/27
  205. Verifying : gcc-4.4.7-11.el6.x86_64 20/27
  206. Verifying : libsepol-devel-2.0.41-4.el6.x86_64 21/27
  207. Verifying : libtidy-devel-0.99.0-19.20070615.1.el6.x86_64 22/27
  208. Verifying : kernel-headers-2.6.32-504.8.1.el6.x86_64 23/27
  209. Verifying : libmcrypt-devel-2.5.8-9.el6.x86_64 24/27
  210. Verifying : glibc-devel-2.12-1.149.el6_6.5.x86_64 25/27
  211. Verifying : libselinux-devel-2.0.94-5.8.el6.x86_64 26/27
  212. Verifying : cpp-4.4.7-11.el6.x86_64 27/27
  213.  
  214. Installed:
  215. gcc.x86_64 0:4.4.7-11.el6
  216. libcurl-devel.x86_64 0:7.19.7-40.el6_6.4
  217. libmcrypt-devel.x86_64 0:2.5.8-9.el6
  218. libpng-devel.x86_64 2:1.2.49-1.el6_2
  219. libtidy-devel.x86_64 0:0.99.0-19.20070615.1.el6
  220. libxml2-devel.x86_64 0:2.7.6-17.el6_6.1
  221. mhash-devel.x86_64 0:0.9.9.9-3.el6
  222. mysql-devel.x86_64 0:5.1.73-3.el6_5
  223. openssl-devel.x86_64 0:1.0.1e-30.el6_6.5
  224.  
  225. Dependency Installed:
  226. autoconf.noarch 0:2.63-5.1.el6
  227. automake.noarch 0:1.11.1-4.el6
  228. cloog-ppl.x86_64 0:0.15.7-1.2.el6
  229. cpp.x86_64 0:4.4.7-11.el6
  230. glibc-devel.x86_64 0:2.12-1.149.el6_6.5
  231. glibc-headers.x86_64 0:2.12-1.149.el6_6.5
  232. kernel-headers.x86_64 0:2.6.32-504.8.1.el6
  233. keyutils-libs-devel.x86_64 0:1.4-5.el6
  234. krb5-devel.x86_64 0:1.10.3-33.el6
  235. libcom_err-devel.x86_64 0:1.41.12-21.el6
  236. libgomp.x86_64 0:4.4.7-11.el6
  237. libidn-devel.x86_64 0:1.18-2.el6
  238. libselinux-devel.x86_64 0:2.0.94-5.8.el6
  239. libsepol-devel.x86_64 0:2.0.41-4.el6
  240. mhash.x86_64 0:0.9.9.9-3.el6
  241. mpfr.x86_64 0:2.4.1-6.el6
  242. ppl.x86_64 0:0.10.2-11.el6
  243. zlib-devel.x86_64 0:1.2.3-29.el6
  244.  
  245. Complete!
  246. [root@server ~]# ln -s /usr/lib64/libjpeg.so /usr/lib/
  247. [root@server ~]# ln -s /usr/lib64/libpng.so /usr/lib/
  248. [root@server ~]# ln -s /usr/lib64/mysql/ /usr/lib/
  249. [root@server ~]# wget http://museum.php.net/php5/php-5.2.17.tar.gztar -xzf php-5.2.17.tar.gz -C /tmp
  250. wget: invalid option -- 'z'
  251. Usage: wget [OPTION]... [URL]...
  252.  
  253. Try ‘wget --help’ for more options.
  254. [root@server ~]# cd /tmp
  255. [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
  256. -bash: ./configure: No such file or directory
  257. [root@server tmp]# make
  258. make: *** No targets specified and no makefile found. Stop.
  259. [root@server tmp]# make install
  260. make: *** No rule to make target `install'. Stop.
  261. [root@server tmp]# cd /tmp
  262. [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
  263. -bash: ./configure: No such file or directory
  264. [root@server tmp]# make install
  265. make: *** No rule to make target `install'. Stop.
  266. [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
  267. -bash: cd: /tmp/configure: No such file or directory
  268. [root@server tmp]# ^C
  269. [root@server tmp]# apt-get install php5.2
  270. -bash: apt-get: command not found
  271. [root@server tmp]# apt-get install php5
  272. -bash: apt-get: command not found
  273. [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
  274. --2015-02-22 14:29:57-- http://museum.php.net/php5/php-5.2.17.tar.gz
  275. Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
  276. Connecting to museum.php.net|104.236.41.219|:80... connected.
  277. HTTP request sent, awaiting response... 200 OK
  278. Length: 11801597 (11M) [application/octet-stream]
  279. Saving to: “php-5.2.17.tar.gz”
  280.  
  281. 100%[======================================>] 11,801,597 4.43M/s in 2.5s
  282.  
  283. 2015-02-22 14:30:00 (4.43 MB/s) - “php-5.2.17.tar.gz” saved [11801597/11801597]
  284.  
  285. [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmpcd /tmp
  286. make
  287. make installtar: /tmp: Not found in archive
  288. tar: Exiting with failure status due to previous errors
  289. [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
  290. -bash: ./configure: No such file or directory
  291. [root@server tmp]# make
  292. make: *** No targets specified and no makefile found. Stop.
  293. [root@server tmp]# make install
  294. make: *** No rule to make target `install'. Stop.
  295. [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
  296. --2015-02-22 14:30:39-- http://museum.php.net/php5/php-5.2.17.tar.gz
  297. Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
  298. Connecting to museum.php.net|104.236.41.219|:80... connected.
  299. HTTP request sent, awaiting response... 200 OK
  300. Length: 11801597 (11M) [application/octet-stream]
  301. Saving to: “php-5.2.17.tar.gz.1”
  302.  
  303. 100%[======================================>] 11,801,597 4.51M/s in 2.5s
  304.  
  305. 2015-02-22 14:30:42 (4.51 MB/s) - “php-5.2.17.tar.gz.1” saved [11801597/11801597]
  306.  
  307. [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmpcd /tmp
  308. ./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
  309. make
  310. make installtar: /tmp: Not found in archive
  311. tar: Exiting with failure status due to previous errors
  312. [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
  313. -bash: ./configure: No such file or directory
  314. [root@server tmp]# make
  315. make: *** No targets specified and no makefile found. Stop.
  316. [root@server tmp]# make install^C
  317. [root@server tmp]# sudo apt-get install php5.2.17
  318. sudo: apt-get: command not found
  319. [root@server tmp]#
  320. [root@server tmp]# Полный текст: https://www.netangels.ru/support/cloud-vds/php5.2/sudo apt-get install php5.2.17
  321. -bash: Полный: command not found
  322. [root@server tmp]# sudo apt-get install php5.2.17
  323. sudo: apt-get: command not found
  324. [root@server tmp]# wget http://museum.php.net/php5/php-5.2.17.tar.gz
  325. --2015-02-22 14:46:24-- http://museum.php.net/php5/php-5.2.17.tar.gz
  326. Resolving museum.php.net... 104.236.41.219, 2604:a880:800:10::2ce:1
  327. Connecting to museum.php.net|104.236.41.219|:80... connected.
  328. HTTP request sent, awaiting response... 200 OK
  329. Length: 11801597 (11M) [application/octet-stream]
  330. Saving to: “php-5.2.17.tar.gz.2”
  331.  
  332. 100%[======================================>] 11,801,597 4.62M/s in 2.4s
  333.  
  334. 2015-02-22 14:46:26 (4.62 MB/s) - “php-5.2.17.tar.gz.2” saved [11801597/11801597]
  335.  
  336. [root@server tmp]# mkdir /tmp/php52
  337. [root@server tmp]# tar -xzf php-5.2.17.tar.gz -C /tmp/php52
  338. [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
  339. -bash: cd: /tmp/php52./configure: No such file or directory
  340. [root@server tmp]# make
  341. make: *** No targets specified and no makefile found. Stop.
  342. [root@server tmp]# make install^C
  343. [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
  344. -bash: ./configure: No such file or directory
  345. [root@server tmp]#
  346. [root@server tmp]# -bash: ./configure: No such file or directory
  347. -bash: -bash:: command not found
  348. [root@server tmp]# ^C
  349. [root@server tmp]# cd /tmp/php52
  350. [root@server php52]# ./configure
  351. -bash: ./configure: No such file or directory
  352. [root@server php52]# cd /tmp/php52
  353. [root@server php52]# cd /tmp/php52
  354. [root@server php52]# ./configure
  355. -bash: ./configure: No such file or directory
  356. [root@server php52]# cd /tmp/php52 ./configure
  357. [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
  358. -bash: ./configure: No such file or directory
  359. [root@server php52]# cd /tmp/php52 ./configure
  360. [root@server php52]# cd /tmp/php52 ./configure
  361. [root@server php52]# cd /tmp/php52 ./configure
  362. [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
  363. -bash: ./configure: No such file or directory
  364. [root@server php52]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement