Skip to content

Commit f6bac36

Browse files
authored
Update README.md
1 parent 929cb01 commit f6bac36

1 file changed

Lines changed: 3 additions & 50 deletions

File tree

README.md

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -123,60 +123,13 @@ docker rmi -f $(docker images -qa)
123123
$ cat -A install.sh
124124
M-oM-;M-?#!/bin/sh^M$
125125
^M$
126-
export MC="-j$(nproc)"^M$
127-
^M$
128-
echo "============================================"^M$
129-
echo "Install extensions from : install.sh"^M$
130-
echo "PHP version : ${PHP_VERSION}"^M$
131-
echo "Work directory : ${PWD}"^M$
132-
echo "============================================"^M$
133-
echo^M$
134-
^M$
135-
export EXTENSIONS="gd,bcmath,pdo,mysqli,pdo_mysql,redis,bz2,calendar,opcache,pcntl,sockets,amqp,zip,soap,event,"^M$
136-
^M$
137-
#^M$
138-
# Check if current php version is greater than or equal to^M$
139-
# specific version.^M$
140-
#^M$
141-
# For example, to check if current php is greater than or^M$
142-
# equal to PHP 7.0:^M$
143-
#^M$
144-
# isPhpVersionGreaterOrEqual 8 0^M$
145-
#^M$
146-
# Param 1: Specific PHP Major version^M$
147-
# Param 2: Specific PHP Minor version^M$
148-
# Return : 1 if greater than or equal to, 0 if less than^M$
149-
```
150-
151-
执行转换
126+
```
127+
128+
> 执行转换
152129
```
153130
# 安装
154131
sudo apt-get install dos2unix
155132
156133
# 转换
157134
dos2unix install.sh
158135
```
159-
160-
161-
## Install gd
162-
```
163-
---------- Install gd ----------
164-
fetch https://mirrors.ustc.edu.cn/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
165-
fetch https://mirrors.ustc.edu.cn/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
166-
(1/6) Installing libsharpyuv (1.3.2-r0)
167-
(2/6) Installing libwebp (1.3.2-r0)
168-
(3/6) Installing libwebpdecoder (1.3.2-r0)
169-
(4/6) Installing libwebpdemux (1.3.2-r0)
170-
(5/6) Installing libwebpmux (1.3.2-r0)
171-
(6/6) Installing libwebp-dev (1.3.2-r0)
172-
OK: 404 MiB in 151 packages
173-
fetch https://mirrors.ustc.edu.cn/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
174-
fetch https://mirrors.ustc.edu.cn/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
175-
(1/1) Installing .phpize-deps-configure (20240305.013922)
176-
OK: 404 MiB in 152 packages
177-
Configuring for:
178-
PHP Api Version: 20220829
179-
Zend Module Api No: 20220829
180-
Zend Extension Api No: 420220829
181-
configure: error: unrecognized options: --with-freetype-dir, --with-jpeg-dir
182-
```

0 commit comments

Comments
 (0)