① Preparatory work:
1,php version cannot be too low
2, go to official website Download Phpexcel plugin http://phpexcel.codeplex.com/
3, extract the classes folder to the working directory, and rename it to Phpexcel
4, configure virtual domain name don't write a lot of paths
Wamp Environment
Configuration order: Locate the httpd.conf file under Apache
Turn on Apache's Mod_rewrite function module search the Mod_rewrite module under the httpd.conf file to remove the previous #
Introduction of http-vhosts.conf Files same search vhosts.conf
Add VirtualHost Configuration 188 rows
And to modify the SYSTEM32/DRIVERS/ETC under the hosts
127.0.0.1 localhost
127.0.0.1 www.phpexcel.com
To configure a virtual domain name:
1. Open the rewrite module and httpd-vhosts.conf in the httpd.conf file
2, specify the port of Namevirtualhost in the httpd-vhosts.conf file first, listen to the port if you want to specify a different port, and then specify
3, configure the virtual host, root directory, domain name and permissions, and so on. Change "backslash" to "slash"
4, finally in the C:\Windows\System32\drivers\etc in the hosts to write the IP address and Domain name Mapping relationship
Continue to tidy up ...
2016/06/13 Phpexcel to Be continued