php environment setup wampserver, Apache, Mysql and php php environment setup csdn php environment setup detailed explanation phpstorm environment setup

WBOY
Release: 2016-07-29 08:52:32
Original
1186 people have browsed it

wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b Build a php environment

Under win, download wampserver2.5-Apache-2.4.9-Mysql-5.6.17- php5.5.12-32b.exe, installed by default.

Then open the httpd.conf configuration file D:wampbinapacheapache2.4.9confhttpd.conf

in the installation directory and modify it as follows:

php environment setup wampserver, Apache, Mysql and php php environment setup csdn php environment setup detailed explanation phpstorm environment setupphp environment setup wampserver, Apache, Mysql and php php environment setup csdn php environment setup detailed explanation phpstorm environment setup

<span> 1</span> Listen 0.0.0.0:8088
<span> 2</span> Listen [::0]:8088
<span> 3</span><span> 4</span> ServerName localhost:8088
<span> 5</span><span> 6</span> DocumentRoot "D:/kkkoffice/wwwroot"
<span> 7</span><span> 8</span> <directory></directory>
<span> 9</span><span>#</span><span>AllowOverride none</span><span>10</span><span>#</span><span>Require all denied</span><span>11</span><span>    Options FollowSymLinks
</span><span>12</span><span>    AllowOverride None
</span><span>13</span>     Order deny,<span>allow
</span><span>14</span><span>#</span><span>Deny from all</span><span>15</span><span>    allow from all
</span><span>16</span> 
<span>17</span><span>18</span> <directory>
<span>19</span><span>   Options FollowSymLinks
</span><span>20</span><span>   AllowOverride None
</span><span>21</span>    Order deny,<span>allow
</span><span>22</span><span>   allow from all
</span><span>23</span> </directory>
Copy after login
View Code

Instructions:

Listen Listening port

ServerName Server name (with port number)

DocumentRoot php file path (note: be sure not to bring "/" at the end)

Possible problems: visit http://localhost:8088/phpinfo.php

If it occurs You don't have permission to access /test/file.php on this server

Comment Deny from all                                                                                                                                               to have permission to access /test/file.php on this server

Comment Deny from all           httpd.conf, remember to restart apache

Restart and refresh the page to access it normally as follows

php environment setup wampserver, Apache, Mysql and php php environment setup csdn php environment setup detailed explanation phpstorm environment setupOkay, the environment has been set up successfully!

The above has introduced the PHP environment construction of wampserver, Apache, Mysql and PHP, including the content of wampserver and PHP environment construction. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!