Boss has requirements. Start learning PHP! In the past, I had no idea about PhP and could not do anything at all. I had to study it carefully, and my boss didn't give me much time. I learned the basics in two days and started to practice it ~~~~
Start a server on the local machine to prepare for learning!
OS: it is obviously Linux, and I am fans of ubuntu. In addition, UBUNTU 6.06 lts has just launched a new version, which is of course the best choice. Download the 6.06.2 server version from the official Ubuntu website. We recommend that you use the server version. Installing lamp is too convenient :)
Other things are included in Ubuntu.
Run a VMware Virtual Machine and install ubuntu. The network mode is the default bridge. Install lamp server when installing the system. After installation, install SSH again:
Sudo apt-Get Install SSH
Create a learning directory under/var/www:
CD/var/WWW
Mkdir PHP
Create a PHP test page:
Vim index. php
Enter a classic example:
<HTML>
<Head>
<Title> PHP test </title>
</Head><Body>
<? PHP echo '<p> Hello World </P>';?>
</Body>
</Html>
Save. Open Firefox on the local machine and enter http: // serveraddress/PHP/index. php
The cute Hello world and PHP settings are displayed :)