For more information about PHP programming in LINUX-general Linux technology-Linux programming and kernel, see the following. 1. Environment Construction: The local virtual machine is installed with the required environment such as PHP, TOMCAT, and APACHE. The installation process can be found from the Internet, and then the local Virtual Machine FTP can be accessed by ROOT, you can modify the FTP configuration file to find the specific modification process from the Internet.
In WINDOWS, run Zend Development Environment to create an FTP connection and link it to the local virtual machine. In this way, you can directly edit the code in LINUX on WINDOWS.
However, you must select Chinese when installing the VM. Otherwise, Chinese comments or Chinese prompts will be garbled when you use VI to open the source code file.
2. It is best not to directly operate on the source file in the program to read and write files. You can operate on the temporary file. When saving the file, execute the script to overwrite the temporary file. This method has many advantages. It can solve the problem of having no read/write permissions on the file, and can be modified repeatedly through scripts.
3. For some service operations or other changes that may be made in the future, try to use scripts instead of writing them in the program. The script has powerful functions, using it can reduce your troubles.
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