-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
49 lines (39 loc) · 1.33 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!bin/bash
# php
PHP_PATH=/usr/local/software/php/v7128
PHP_CONFIG_PATH=/usr/local/software/php/v7128/etc
PHP_DOWNLOAD_URL=http://cn.php.net/distributions/php-7.4.27.tar.bz2
PHP_VERSION=7.4.27
PHP_FPM_USER=fpm
PHP_FASTCGI_LISTEN_PORT=9000
# nginx
NGINX_PATH=/usr/local/software/nginx/v11511
NGINX_DOWNLOAD_URL=http://nginx.org/download/nginx-1.21.6.tar.gz
NGINX_VERSION=1.21.6
NGINX_LISTEN_PORT=80
NGINX_USER=nginx
# ext swoole
PHP_EXT_SWOOLE_DOWNLOAD_URL=http://pecl.php.net/get/swoole-1.9.23.tgz
PHP_EXT_SWOOLE_VERSION=1.9.23
# ext yaf
#PHP_EXT_YAF_DOWNLOAD_URL=http://pecl.php.net/get/yaf-3.0.7.tgz
PHP_EXT_YAF_DOWNLOAD_URL=https://github.com/laruence/yaf/archive/yaf-3.0.7.tar.gz
PHP_EXT_YAF_VERSION=3.0.7
# ext yac
PHP_EXT_YAC_DOWNLOAD_URL=http://pecl.php.net/get/yac-2.0.2.tgz
PHP_EXT_YAC_VERSION=2.0.2
# ext yar
PHP_EXT_YAR_DOWNLOAD_URL=http://pecl.php.net/get/yar-2.0.3.tgz
PHP_EXT_YAR_VERSION=2.0.3
# ext redis
PHP_EXT_REDIS_DOWNLOAD_URL=http://pecl.php.net/get/redis-4.3.0.tgz
PHP_EXT_REDIS_VERSION=4.3.0
# ext mongodb
PHP_EXT_MONGODB_DOWNLOAD_URL=http://pecl.php.net/get/mongodb-1.3.4.tgz
PHP_EXT_MONGODB_VERSION=1.3.4
# ext ssh2
PHP_EXT_SSH2_DOWNLOAD_URL=http://pecl.php.net/get/ssh2-1.1.2.tgz
PHP_EXT_SSH2_VERSION=1.1.2
# lib hiredis
LIB_HIREDIS_DOWNLOAD_URL=https://github.com/redis/hiredis/archive/v0.13.3.tar.gz
LIB_HIREDIS_VERSION=0.13.3