1
0

fix: dir of omc_conf

This commit is contained in:
2023-10-31 16:41:39 +08:00
parent 39e31d7647
commit 6935124f29
2 changed files with 16 additions and 0 deletions

View File

@@ -48,3 +48,19 @@ mysqldump -h 192.168.2.211 -P 33066 -u root -p1000omc@kp! omc_db > omc_db.sql
#导出数据库user表结构和数据
mysqldump -h 192.168.2.211 -P 33066 -u root -p1000omc@kp! omc_db user > omc_db.sql
--with-t1lib
--with-openssl
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-pear --with-gd --with-jpeg-dir --with-png-dir --with-zlib --with-xpm-dir --with-freetype-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --enable-pdo --with-pdo-mysql --with-xmlrpc --with-xsl --with-gettext --with-fpm-user=www-data --with-fpm-group=www-data --enable-fpm --enable-exif --enable-wddx --enable-zip --enable-bcmath -with-bz2 --enable-calendar --enable-ftp --enable-mbstring --enable-soap --enable-sockets --enable-shmop --enable-dba --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-debug --enable-maintainer-zts --enable-embed --with-curl --with-libdir=/lib --with-xpm-dir=/usr
ln -s /usr/lib/x86_64-linux-gnu/libXpm.so /usr/lib/
ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/
ln -s usr/include/x86_64-linux-gnu/curl/easy.h /usr/include/curl
cd php-7.3.5/
sed -i "s/freetype-config/pkg-config/g" ./configure
sed -i "s/freetype-config/pkg-config/g" ./ext/gd/config.m4
sed -i "s/FREETYPE2_CONFIG --cflags/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure
sed -i "s/FREETYPE2_CONFIG --libs/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure