add more php version.
This commit is contained in:
parent
4e5481329a
commit
440f21d91d
5
README.MD
Normal file
5
README.MD
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# CaddyServer with PHP-FPM
|
||||||
|
# ========================
|
||||||
|
#
|
||||||
|
# This is a simple Docker image to run CaddyServer with PHP-FPM.
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
FROM caddy:alpine as caddy
|
FROM caddy:alpine as caddy
|
||||||
FROM php:8-fpm-alpine
|
FROM php:8-fpm-alpine
|
||||||
# 复制caddy相关文件
|
# 复制caddy相关文件
|
||||||
COPY --from=caddy /config /config
|
COPY --from=caddy /examples/config /config
|
||||||
COPY --from=caddy /data /data
|
COPY --from=caddy /data /data
|
||||||
COPY --form=caddy /etc/caddy /etc/caddy
|
COPY --form=caddy /etc/caddy /etc/caddy
|
||||||
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
|
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy
|
||||||
@ -1,7 +1,7 @@
|
|||||||
[www]
|
[www]
|
||||||
|
|
||||||
user = www
|
user = www-data
|
||||||
group = www
|
group = www-data
|
||||||
|
|
||||||
listen = 127.0.0.1:9000
|
listen = 127.0.0.1:9000
|
||||||
|
|
||||||
13
examples/web/config/Caddyfile
Normal file
13
examples/web/config/Caddyfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
:80 {
|
||||||
|
encode gzip
|
||||||
|
root * /www/websites/public
|
||||||
|
php_fastcgi php-fpm:9000
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
|
lsky.album.run:80 {
|
||||||
|
encode gzip
|
||||||
|
root * /www/websites/lsky/public
|
||||||
|
php_fastcgi php-fpm:9000
|
||||||
|
file_server
|
||||||
|
}
|
||||||
@ -7,7 +7,7 @@ services:
|
|||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
- ./config/Caddyfile:/etc/caddy/Caddyfile
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ./websites:/www/websites
|
- ./websites:/www/websites
|
||||||
@ -19,7 +19,7 @@ services:
|
|||||||
php-cgi:
|
php-cgi:
|
||||||
container_name: php-fpm
|
container_name: php-fpm
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ../../php-fpm/8.2
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./websites:/www/websites
|
- ./websites:/www/websites
|
||||||
2
examples/web/websites/public/index.php
Normal file
2
examples/web/websites/public/index.php
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
phpinfo();
|
||||||
73
php-fpm/8.1/Dockerfile
Normal file
73
php-fpm/8.1/Dockerfile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
FROM composer:latest as composer-build
|
||||||
|
|
||||||
|
FROM php:8.1-fpm-alpine3.17
|
||||||
|
MAINTAINER rainerosion "admin@rainss.cn"
|
||||||
|
|
||||||
|
COPY --from=composer-build /usr/bin/composer /usr/bin/composer
|
||||||
|
# build dependencies
|
||||||
|
ENV BUILD_DEPS \
|
||||||
|
libzip-dev \
|
||||||
|
icu-dev \
|
||||||
|
postgresql-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
curl-dev \
|
||||||
|
sqlite-dev \
|
||||||
|
oniguruma-dev \
|
||||||
|
libmemcached-dev \
|
||||||
|
zlib-dev \
|
||||||
|
imagemagick-dev \
|
||||||
|
freetype-dev
|
||||||
|
# runtime dependencies
|
||||||
|
ENV RUN_DEPS \
|
||||||
|
autoconf \
|
||||||
|
g++ \
|
||||||
|
make \
|
||||||
|
libzip \
|
||||||
|
icu \
|
||||||
|
postgresql-libs \
|
||||||
|
libpng \
|
||||||
|
libwebp \
|
||||||
|
libjpeg-turbo \
|
||||||
|
curl \
|
||||||
|
sqlite-libs \
|
||||||
|
oniguruma \
|
||||||
|
libmemcached \
|
||||||
|
shadow \
|
||||||
|
zlib \
|
||||||
|
imagemagick \
|
||||||
|
freetype
|
||||||
|
# php extensions
|
||||||
|
ENV PHP_EXTENSIONS \
|
||||||
|
zip \
|
||||||
|
intl \
|
||||||
|
exif \
|
||||||
|
pdo_mysql \
|
||||||
|
pdo_pgsql \
|
||||||
|
mysqli \
|
||||||
|
pgsql \
|
||||||
|
gd \
|
||||||
|
curl \
|
||||||
|
session \
|
||||||
|
pdo_sqlite \
|
||||||
|
fileinfo \
|
||||||
|
mbstring \
|
||||||
|
bcmath
|
||||||
|
# set default uid and gid for www-data
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GUID=1000
|
||||||
|
# fpm user
|
||||||
|
ARG USER=www-data
|
||||||
|
RUN set -eux && \
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
|
apk update && \
|
||||||
|
apk add --no-cache $RUN_DEPS && \
|
||||||
|
usermod -u $UID -o $USER && \
|
||||||
|
groupmod -g $GUID -o $USER && \
|
||||||
|
apk add --no-cache --virtual .build-deps $BUILD_DEPS && \
|
||||||
|
docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype && \
|
||||||
|
docker-php-ext-install -j $(nproc) $PHP_EXTENSIONS && \
|
||||||
|
pecl install redis memcached imagick && \
|
||||||
|
docker-php-ext-enable redis memcached imagick && \
|
||||||
|
apk del .build-deps
|
||||||
73
php-fpm/8.1/buildx/Dockerfile
Normal file
73
php-fpm/8.1/buildx/Dockerfile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
FROM --platform=$TARGETPLATFORM composer:latest as composer-build
|
||||||
|
|
||||||
|
FROM --platform=$TARGETPLATFORM php:8.1-fpm-alpine3.17
|
||||||
|
MAINTAINER rainerosion "admin@rainss.cn"
|
||||||
|
|
||||||
|
COPY --from=composer-build /usr/bin/composer /usr/bin/composer
|
||||||
|
# build dependencies
|
||||||
|
ENV BUILD_DEPS \
|
||||||
|
libzip-dev \
|
||||||
|
icu-dev \
|
||||||
|
postgresql-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
curl-dev \
|
||||||
|
sqlite-dev \
|
||||||
|
oniguruma-dev \
|
||||||
|
libmemcached-dev \
|
||||||
|
zlib-dev \
|
||||||
|
imagemagick-dev \
|
||||||
|
freetype-dev
|
||||||
|
# runtime dependencies
|
||||||
|
ENV RUN_DEPS \
|
||||||
|
autoconf \
|
||||||
|
g++ \
|
||||||
|
make \
|
||||||
|
libzip \
|
||||||
|
icu \
|
||||||
|
postgresql-libs \
|
||||||
|
libpng \
|
||||||
|
libwebp \
|
||||||
|
libjpeg-turbo \
|
||||||
|
curl \
|
||||||
|
sqlite-libs \
|
||||||
|
oniguruma \
|
||||||
|
libmemcached \
|
||||||
|
shadow \
|
||||||
|
zlib \
|
||||||
|
imagemagick \
|
||||||
|
freetype
|
||||||
|
# php extensions
|
||||||
|
ENV PHP_EXTENSIONS \
|
||||||
|
zip \
|
||||||
|
intl \
|
||||||
|
exif \
|
||||||
|
pdo_mysql \
|
||||||
|
pdo_pgsql \
|
||||||
|
mysqli \
|
||||||
|
pgsql \
|
||||||
|
gd \
|
||||||
|
curl \
|
||||||
|
session \
|
||||||
|
pdo_sqlite \
|
||||||
|
fileinfo \
|
||||||
|
mbstring \
|
||||||
|
bcmath
|
||||||
|
# set default uid and gid for www-data
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GUID=1000
|
||||||
|
# fpm user
|
||||||
|
ARG USER=www-data
|
||||||
|
RUN set -eux && \
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
|
apk update && \
|
||||||
|
apk add --no-cache $RUN_DEPS && \
|
||||||
|
usermod -u $UID -o $USER && \
|
||||||
|
groupmod -g $GUID -o $USER && \
|
||||||
|
apk add --no-cache --virtual .build-deps $BUILD_DEPS && \
|
||||||
|
docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp && \
|
||||||
|
docker-php-ext-install -j $(nproc) $PHP_EXTENSIONS && \
|
||||||
|
pecl install redis memcached imagick && \
|
||||||
|
docker-php-ext-enable redis memcached imagick && \
|
||||||
|
apk del .build-deps
|
||||||
73
php-fpm/8.2/Dockerfile
Normal file
73
php-fpm/8.2/Dockerfile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
FROM composer:latest as composer-build
|
||||||
|
|
||||||
|
FROM php:8.2-fpm-alpine3.19
|
||||||
|
MAINTAINER rainerosion "admin@rainss.cn"
|
||||||
|
|
||||||
|
COPY --from=composer-build /usr/bin/composer /usr/bin/composer
|
||||||
|
# build dependencies
|
||||||
|
ENV BUILD_DEPS \
|
||||||
|
libzip-dev \
|
||||||
|
icu-dev \
|
||||||
|
postgresql-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
curl-dev \
|
||||||
|
sqlite-dev \
|
||||||
|
oniguruma-dev \
|
||||||
|
libmemcached-dev \
|
||||||
|
zlib-dev \
|
||||||
|
imagemagick-dev \
|
||||||
|
freetype-dev
|
||||||
|
# runtime dependencies
|
||||||
|
ENV RUN_DEPS \
|
||||||
|
autoconf \
|
||||||
|
g++ \
|
||||||
|
make \
|
||||||
|
libzip \
|
||||||
|
icu \
|
||||||
|
postgresql-libs \
|
||||||
|
libpng \
|
||||||
|
libwebp \
|
||||||
|
libjpeg-turbo \
|
||||||
|
curl \
|
||||||
|
sqlite-libs \
|
||||||
|
oniguruma \
|
||||||
|
libmemcached \
|
||||||
|
shadow \
|
||||||
|
zlib \
|
||||||
|
imagemagick \
|
||||||
|
freetype
|
||||||
|
# php extensions
|
||||||
|
ENV PHP_EXTENSIONS \
|
||||||
|
zip \
|
||||||
|
intl \
|
||||||
|
exif \
|
||||||
|
pdo_mysql \
|
||||||
|
pdo_pgsql \
|
||||||
|
mysqli \
|
||||||
|
pgsql \
|
||||||
|
gd \
|
||||||
|
curl \
|
||||||
|
session \
|
||||||
|
pdo_sqlite \
|
||||||
|
fileinfo \
|
||||||
|
mbstring \
|
||||||
|
bcmath
|
||||||
|
# set default uid and gid for www-data
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GUID=1000
|
||||||
|
# fpm user
|
||||||
|
ARG USER=www-data
|
||||||
|
RUN set -eux && \
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
|
apk update && \
|
||||||
|
apk add --no-cache $RUN_DEPS && \
|
||||||
|
usermod -u $UID -o $USER && \
|
||||||
|
groupmod -g $GUID -o $USER && \
|
||||||
|
apk add --no-cache --virtual .build-deps $BUILD_DEPS && \
|
||||||
|
docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype && \
|
||||||
|
docker-php-ext-install -j $(nproc) $PHP_EXTENSIONS && \
|
||||||
|
pecl install redis memcached imagick && \
|
||||||
|
docker-php-ext-enable redis memcached imagick && \
|
||||||
|
apk del .build-deps
|
||||||
73
php-fpm/8.2/buildx/Dockerfile
Normal file
73
php-fpm/8.2/buildx/Dockerfile
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
FROM --platform=$TARGETPLATFORM composer:latest as composer-build
|
||||||
|
|
||||||
|
FROM --platform=$TARGETPLATFORM php:8.2-fpm-alpine3.19
|
||||||
|
MAINTAINER rainerosion "admin@rainss.cn"
|
||||||
|
|
||||||
|
COPY --from=composer-build /usr/bin/composer /usr/bin/composer
|
||||||
|
# build dependencies
|
||||||
|
ENV BUILD_DEPS \
|
||||||
|
libzip-dev \
|
||||||
|
icu-dev \
|
||||||
|
postgresql-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libjpeg-turbo-dev \
|
||||||
|
curl-dev \
|
||||||
|
sqlite-dev \
|
||||||
|
oniguruma-dev \
|
||||||
|
libmemcached-dev \
|
||||||
|
zlib-dev \
|
||||||
|
imagemagick-dev \
|
||||||
|
freetype-dev
|
||||||
|
# runtime dependencies
|
||||||
|
ENV RUN_DEPS \
|
||||||
|
autoconf \
|
||||||
|
g++ \
|
||||||
|
make \
|
||||||
|
libzip \
|
||||||
|
icu \
|
||||||
|
postgresql-libs \
|
||||||
|
libpng \
|
||||||
|
libwebp \
|
||||||
|
libjpeg-turbo \
|
||||||
|
curl \
|
||||||
|
sqlite-libs \
|
||||||
|
oniguruma \
|
||||||
|
libmemcached \
|
||||||
|
shadow \
|
||||||
|
zlib \
|
||||||
|
imagemagick \
|
||||||
|
freetype
|
||||||
|
# php extensions
|
||||||
|
ENV PHP_EXTENSIONS \
|
||||||
|
zip \
|
||||||
|
intl \
|
||||||
|
exif \
|
||||||
|
pdo_mysql \
|
||||||
|
pdo_pgsql \
|
||||||
|
mysqli \
|
||||||
|
pgsql \
|
||||||
|
gd \
|
||||||
|
curl \
|
||||||
|
session \
|
||||||
|
pdo_sqlite \
|
||||||
|
fileinfo \
|
||||||
|
mbstring \
|
||||||
|
bcmath
|
||||||
|
# set default uid and gid for www-data
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GUID=1000
|
||||||
|
# fpm user
|
||||||
|
ARG USER=www-data
|
||||||
|
RUN set -eux && \
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
|
apk update && \
|
||||||
|
apk add --no-cache $RUN_DEPS && \
|
||||||
|
usermod -u $UID -o $USER && \
|
||||||
|
groupmod -g $GUID -o $USER && \
|
||||||
|
apk add --no-cache --virtual .build-deps $BUILD_DEPS && \
|
||||||
|
docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp && \
|
||||||
|
docker-php-ext-install -j $(nproc) $PHP_EXTENSIONS && \
|
||||||
|
pecl install redis memcached imagick && \
|
||||||
|
docker-php-ext-enable redis memcached imagick && \
|
||||||
|
apk del .build-deps
|
||||||
@ -1,6 +0,0 @@
|
|||||||
rlds.tk {
|
|
||||||
encode gzip
|
|
||||||
root * /www/websites/typecho
|
|
||||||
php_fastcgi php-fpm:9000
|
|
||||||
file_server
|
|
||||||
}
|
|
||||||
@ -1,71 +0,0 @@
|
|||||||
<?php
|
|
||||||
//phpinfo();
|
|
||||||
$str = 'a:50:{s:7:"TopPost";s:0:"";s:14:"IndexTopImgUrl";s:33:"https://api.rainss.cn/random.php2";s:13:"IndexBigTitle";s:12:"雨落凋殇";s:13:"IndexSubtitle";s:75:"聆听雨落的声音,俯看凋零的落叶.伫细雨之中,感雨落之殇";s:17:"IndexTopImgHeight";s:0:"";s:13:"PostImgCenter";N;s:7:"UpLikes";a:1:{i:0;s:7:"UpLikes";}s:6:"Reward";N;s:6:"Alipay";s:0:"";s:9:"WeChatPay";s:0:"";s:5:"QQPay";s:0:"";s:9:"Copyright";a:1:{i:0;s:9:"Copyright";}s:22:"CopyrightConfiguration";a:2:{i:0;s:6:"author";i:1;s:10:"provenance";}s:13:"CopyrightText";s:0:"";s:7:"RandImg";s:807:"";s:18:"CodeHighLightStyle";s:4:"dark";s:12:"MourningMode";N;s:16:"HeaderTransition";s:4:"wave";s:10:"Pagination";s:6:"number";s:8:"Headroom";N;s:10:"LabelOrder";s:3:"C-P";s:10:"MergePages";s:6:"更多";s:3:"key";s:3:"123";s:12:"SiteSubtitle";s:0:"";s:7:"Favicon";s:0:"";s:7:"LogoUrl";s:0:"";s:10:"GlobalFont";N;s:16:"GlobalCommentBan";N;s:3:"ICP";s:20:"黔ICP备16009961号";s:9:"Policemen";s:526:"贵公网安备52050202001317号</div><p class="small"><a href="https://www.foreverblog.cn/" class="d-inline-block text-muted" target="_blank"><img src="https://resource.upcdn.rainss.cn/2019/11/3368312888.png" alt="" style="width:auto;height:16px;"> </a></div><p class="small">本站由<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank"><img src="https://resource.upcdn.rainss.cn/logo/%E5%8F%88%E6%8B%8D%E4%BA%91_logo5.png" alt="" style="width:60px;height:24px;"></a>提供CDN加速服务";s:7:"Sidebar";N;s:15:"SidebarPosition";a:2:{i:0;s:12:"ExternalPage";i:1;s:12:"InternalPage";}s:11:"SidebarRorL";s:3:"R-L";s:20:"SidebarBackgroundImg";s:0:"";s:10:"SideAvatar";s:0:"";s:9:"Signature";s:0:"";s:6:"Smooth";a:1:{i:0;s:6:"Smooth";}s:4:"Pjax";a:1:{i:0;s:4:"Pjax";}s:7:"MathJax";N;s:12:"StaticCDNUrl";s:0:"";s:10:"CustomMenu";s:0:"";s:12:"MusicListUrl";s:62:"https://music.163.com/#/playlist?id=2740824585&userid=77929069";s:9:"MusicList";s:0:"";s:12:"CustomHeader";s:0:"";s:11:"CustomStyle";s:0:"";s:12:"CustomFooter";s:0:"";s:12:"PjaxCallback";s:0:"";s:11:"DNSPreParse";s:0:"";s:11:"CustomFonts";s:0:"";s:5:"Eruda";N;}';
|
|
||||||
|
|
||||||
$stt = 'a:50:{s:7:"TopPost";s:0:"";s:14:"IndexTopImgUrl";s:0:"";s:13:"IndexBigTitle";s:0:"";s:13:"IndexSubtitle";s:0:"";s:17:"IndexTopImgHeight";s:0:"";s:13:"PostImgCenter";N;s:7:"UpLikes";N;s:6:"Reward";N;s:6:"Alipay";s:0:"";s:9:"WeChatPay";s:0:"";s:5:"QQPay";s:0:"";s:9:"Copyright";N;s:22:"CopyrightConfiguration";N;s:13:"CopyrightText";s:0:"";s:7:"RandImg";s:0:"";s:18:"CodeHighLightStyle";N;s:12:"MourningMode";N;s:16:"HeaderTransition";N;s:10:"Pagination";N;s:8:"Headroom";N;s:10:"LabelOrder";N;s:10:"MergePages";s:0:"";s:3:"key";s:0:"";s:12:"SiteSubtitle";s:0:"";s:7:"Favicon";s:0:"";s:7:"LogoUrl";s:0:"";s:10:"GlobalFont";N;s:16:"GlobalCommentBan";N;s:3:"ICP";s:0:"";s:9:"Policemen";s:526:"贵公网安备52050202001317号</div><p class="small"><a href="https://www.foreverblog.cn/" class="d-inline-block text-muted" target="_blank"><img src="https://resource.upcdn.rainss.cn/2019/11/3368312888.png" alt="" style="width:auto;height:16px;"> </a></div><p class="small">本站由<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank"><img src="https://resource.upcdn.rainss.cn/logo/%E5%8F%88%E6%8B%8D%E4%BA%91_logo5.png" alt="" style="width:60px;height:24px;"></a>提供CDN加速服务";s:7:"Sidebar";N;s:15:"SidebarPosition";N;s:11:"SidebarRorL";N;s:20:"SidebarBackgroundImg";s:0:"";s:10:"SideAvatar";s:0:"";s:9:"Signature";s:0:"";s:6:"Smooth";N;s:4:"Pjax";N;s:7:"MathJax";N;s:12:"StaticCDNUrl";s:0:"";s:10:"CustomMenu";s:0:"";s:12:"MusicListUrl";s:0:"";s:9:"MusicList";s:0:"";s:12:"CustomHeader";s:0:"";s:11:"CustomStyle";s:0:"";s:12:"CustomFooter";s:6:"内容";s:12:"PjaxCallback";s:0:"";s:11:"DNSPreParse";s:0:"";s:11:"CustomFonts";s:0:"";s:5:"Eruda";N;}';
|
|
||||||
$unserialize = unserialize('a:1:{s:7:"UpLikes";a:1:{i:0;s:7:"UpLikes";}}');
|
|
||||||
print_r($unserialize);
|
|
||||||
|
|
||||||
$arr = [
|
|
||||||
"TopPost" => "",
|
|
||||||
"IndexTopImgUrl" => "https://api.rainss.cn/random.php",
|
|
||||||
"IndexBigTitle" => "雨落凋殇",
|
|
||||||
"IndexSubtitle" => "聆听雨落的声音,俯看凋零的落叶.伫细雨之中,感雨落之殇",
|
|
||||||
"IndexTopImgHeight" => "",
|
|
||||||
"PostImgCenter" => null,
|
|
||||||
"UpLikes" => ["UpLikes"],
|
|
||||||
"Reward" => null,
|
|
||||||
"Alipay" => "",
|
|
||||||
"WeChatPay" => "",
|
|
||||||
"QQPay" => "",
|
|
||||||
"Copyright" => ["Copyright"],
|
|
||||||
"CopyrightConfiguration" => ["author","provenance"],
|
|
||||||
"CopyrightText" => "",
|
|
||||||
"RandImg" => "http://api.rainss.cn/random.php?rand=1
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxlogttvbj31hc0u0dyf.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxloatthsj31kw0w07sn.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxlo1tjbnj31hc0u0wwc.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxlny0lgrj31kw0w0e2v.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxlnr1pdmj31hc0u0h1c.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1fodqmpz6zpj312z0svu0x.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxk3pfp31j31hc0u0kas.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxk3rxvthj31kw0w0x3c.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxk7kp8m2j31hc0u07ji.jpg
|
|
||||||
https://resource.upcdn.rainss.cn/large/0072Vf1pgy1foxk7okxe5j31hc0u0nhp.jpg",
|
|
||||||
"CodeHighLightStyle" => "dark",
|
|
||||||
"MourningMode" => null,
|
|
||||||
"HeaderTransition" => "wave",
|
|
||||||
"Pagination" => "number",
|
|
||||||
"Headroom" => null,
|
|
||||||
"LabelOrder" => "C-P",
|
|
||||||
"MergePages" => "更多",
|
|
||||||
"key" => "123",
|
|
||||||
"SiteSubtitle" => "",
|
|
||||||
"Favicon" => "",
|
|
||||||
"LogoUrl" => "",
|
|
||||||
"GlobalFont" => null,
|
|
||||||
"GlobalCommentBan" => null,
|
|
||||||
"ICP" => "黔ICP备16009961号",
|
|
||||||
"Policemen" => "贵公网安备52050202001317号</div><p class=\"small\"><a href=\"https://www.foreverblog.cn/\" class=\"d-inline-block text-muted\" target=\"_blank\"><img src=\"https://resource.upcdn.rainss.cn/2019/11/3368312888.png\" alt=\"\" style=\"width:auto;height:16px;\"> </a></div><p class=\"small\">本站由<a href=\"https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral\" target=\"_blank\"><img src=\"https://resource.upcdn.rainss.cn/logo/%E5%8F%88%E6%8B%8D%E4%BA%91_logo5.png\" alt=\"\" style=\"width:60px;height:24px;\"></a>提供CDN加速服务",
|
|
||||||
"Sidebar" => null,
|
|
||||||
"SidebarPosition" => ["ExternalPage","InternalPage"],
|
|
||||||
"SidebarRorL" => "R-L",
|
|
||||||
"SidebarBackgroundImg" => "",
|
|
||||||
"SideAvatar" => "",
|
|
||||||
"Signature" => "",
|
|
||||||
"Smooth" => ["Smooth"],
|
|
||||||
"Pjax" => ["Pjax"],
|
|
||||||
"MathJax" => null,
|
|
||||||
"StaticCDNUrl" => "",
|
|
||||||
"CustomMenu" => "",
|
|
||||||
"MusicListUrl" => "https://music.163.com/#/playlist?id=2740824585&userid=77929069",
|
|
||||||
"MusicList" => "",
|
|
||||||
"CustomHeader" => "",
|
|
||||||
"CustomStyle" => "",
|
|
||||||
"CustomFooter" => "",
|
|
||||||
"PjaxCallback" => "",
|
|
||||||
"DNSPreParse" => "",
|
|
||||||
"CustomFonts" => "",
|
|
||||||
"Eruda" => null
|
|
||||||
];
|
|
||||||
echo serialize($arr);
|
|
||||||
Loading…
Reference in New Issue
Block a user