Home > Backend Development > PHP Tutorial > PHP configuration_PHP tutorial

PHP configuration_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:54:12
Original
870 people have browsed it

Configuration options:
1. ;extension=php_pdo_myssql.dll of php.ini file [remove semicolon]
2. Enable Apache’s rewrite module in the httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so
AllowOverride None => AllowOverride ALL
3. Configure virtual host
# Virtual hosts Start virtual host configuration
Include conf/extra/httpd-vhosts.conf



ServerAdmin kongdaoxian@gmail.com
DocumentRoot "E:/skydao/apache2/htdocs/zendTest/public"
ServerName zendTest.com
ServerAlias ​​www.zendTest.com
DirectoryIndex index.php

Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


Add dns
to the hosts file 127.0.0.1 zendTest
127.0.0.1 www.zendTest.com
4. Restart Apache

www.bkjia.comtruehttp: httpd Open Apache's rewrite module LoadModule rewrite_module modules/mod_rewrite.so... in the .conf file
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template