推荐使用阿里云或腾讯云的云服务器
系统建议使用Centos stream 8 64位
软件环境:
Nginx/Apache2、mysql5.7或8.0、PHP7.4、redis(如果自己在服务器上安装的redis一定不要开放公网访问,安全问题很多)
PHP必须包含的模块:
bcmath,Core,ctype,curl,date,dom,ereg,exif,fileinfo,filter,ftp,gd,gettext,hash,iconv,
intl,json,libxml,mbstring,mcrypt,mhash,mysql,mysqli,mysqlndopenssl,pcntl,pcre,PDO,
pdo_mysql,pdo_sqlite,Phar,posix,redis,Reflection,session,shmop,SimpleXML,soap,sockets,
SPL,sqlite3,standard,sysvsem,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,zlib,redis
php function不能禁用proc_xxx,putenv,pcntl_signal,pcntl_fork,pcntl_wait,pcntl_alarm,pcntl_signal_dispatch,stream_socket_server
composer建议使用composer2,阿里云镜像composer1有问题