Knowledge points:
1 PHP basics
2 PHP environment construction
1 PHP basics
php: hypertext preprocessing program, script program for making websites.
Operating environment:
wamp windows+apache+mysql+php Development, learning and research
lamp linux+apache+mysql+phpOperation and maintenance
Working principle:
Request ---》apache--》 Execute php+ html (div, css)--->Response to
php .php suffix--》Dynamic website Interact with database
php file composition:
html div css
php code
js jquery ajax
Second PHP environment construction
index.html Double-click to open
1. Integrated environment
appserv:
http://localhost[:8888 default is 80]/[index.php]- -》c:/appserv/www/index.php
wamp
2. Independently built environment
apache
php
mysql
phpmyadmin
1> configuration apache
apache/conf/html
The above has introduced the environment construction for the basics of PHP learning, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.