1.下载phpStudy_32
2.下载wordpress-6.3-zh_CN
安装好phpstudy后启动phpstudy中对应的服务,并在网站中配置好对一个的应用的路径
ps:根目录中的路径是你想要通过phpstudy部署应用的路径
这里以wordpress为例
将下载wordpress的压缩包解压后,需要修改其中的配置文件
将wp-config-sample.php 文件修改为wp-config.php且需要修改其中的内容
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'www_shaneninfor_com' );
/** Database username */
define( 'DB_USER', 'root1' );
/** Database password */
define( 'DB_PASSWORD', 'root1root1' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication unique keys and

最低0.47元/天 解锁文章
328

被折叠的 条评论
为什么被折叠?



