DedeCMS is developed with PHP and MySQL technology and can be used on Windows, Linux, and Unix platforms at the same time. The environment requirements are as follows:
1. Windows Platform: (Recommended learning: dedecms tutorial)
IIS/Apache PHP4/PHP5 MySQL4/5
If used in a windows environment, it is recommended to use DedeCMS DedeAMPZ kit for optimal performance.
2. Linux/Unix platform
Apache PHP4/PHP5 MySQL3/4/5 (PHP must be run in non-safe mode)
Suggestions Platform used: Linux Apache2.2 PHP5.2 MySQL5.0
3. PHP must environment or enabled system functions:
allow_url_fopen
GD Extension library
MySQL extension library
System functions - phpinfo, dir
4, basic directory structure
/<br/>..../install 安装程序目录,安装完后可删除[安装时必须有可写入权限]<br/>..../dede 默认后台管理目录(可任意改名)<br/>..../include 类库文件目录<br/>..../plus 附助程序目录<br/>..../member 会员目录<br/>..../images 系统默认模板图片存放目录<br/>..../uploads 默认上传目录[必须可写入]<br/>..../html 默认HTML文件存放目录[必须可写入]<br/>..../templets 系统默认内核模板目录<br/>..../data 系统缓存或其它可写入数据存放目录[必须可写入]<br/>..../special 专题目录[生成一次专题后可以删除special/index.php,必须可写入]<br/>
5, Incompatibility issues that are easy to encounter in the PHP environment
(1) The data directory does not have write permission, resulting in the system session being unusable, which will result in the inability to log in to the management background (directly manifested as the verification code cannot be displayed normally);
(2) The temporary folder uploaded by php is not set properly or does not have write permission, which will cause the file upload function to be unusable;
(3) Inexplicable errors occur, such as When installing, a blank display may be caused by the system not loading the mysql extension. For beginners, you can download dede's php package for easy and simple use.
The above is the detailed content of dedecms system environment requirements and precautions. For more information, please follow other related articles on the PHP Chinese website!