PHP configuration _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
PHP configuration. Configuration options: 1. php. ini file; extensionphp_pdo_myssql.dll [remove semicolon] 2. enable Apache rewrite module LoadModulerewrite_modulemodulesmod_rewrite.so under the httpd. conf file. configuration options:
1. php. ini file; extension = php_pdo_myssql.dll [remove semicolon]
2. enable the rewrite module LoadModule rewrite_module modules/mod_rewrite.so of Apache in the httpd. conf file.
AllowOverride None => AllowOverride ALL
3. configure the VM
# Configure restart Ural hosts to start the virtual host
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 in the hosts file
127.0.0.1 zendTest
127.0.0.1 www.zendTest.com
4. restart Apache

Extension 1. php. ini file; extension = php_pdo_myssql.dll [remove semicolon] 2. enable Apache rewrite module LoadModule rewrite_module modules/mod_rewrite.so under the httpd. conf file...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.