xmapp 配置

1。配置file -settings

在PHP選項中點選CLI Interpreter 選擇 php可執行位置 然後確認保存

2。配置apache默認路徑

選擇file-- Build,Execution,Development:

選擇Development , 點加號添加一個server 。 name 寫apache type 選額inplace。

connection選項中的web server root URl 添加80

mappings 選項中localpath 選擇 /var/www/html

點擊apply默認保存

3。更改apache默認選項

打開xmapp

點擊 manage servers

選擇 Apache web server

點擊 configre ,選擇open conf file。

DocumentRoot改成 /var/www/html

查找deny 註銷掉 Require all denied

寫入 Allow from all

forexample:

<Directory />
    #AllowOverride none
    #Require all denied
    #Order deny,all
    Allow from all
</Directory>
保存
4。添加數據庫

點擊View--》 toolwindow --》 database--》點擊+號 --》選擇datasource--》mysql--》輸入User password(database 可以不選擇默認)

5。更改mysql參數

點擊 xmapp --》 選擇MySQL Database --》選擇config--》選擇open conf File --》 裏面的password 選項以及user 選項可進行對應修改--》

末尾添加skip-grant-tables



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值