Are there any restrictions on using PHP programs in LAN? How can this problem be solved?
Source: Internet
Author: User
Are there any restrictions on using PHP programs in LAN? PHP is used as a simple OA program, and a machine on the LAN is used as a server. Put the program above, such as http: // localhost, as the access address. Is there anything you need to pay attention to when other machines in the LAN access this machine. Each machine has an IP address in the LAN. And. I used the PHP file function for local upload to the server Lan. Is there any restriction on using the PHP program?
PHP is used as a simple OA program, and a machine on the LAN is used as a server. Put the program above, such as http: // localhost, as the access address. Is there anything you need to pay attention to when other machines in the LAN access this machine. Each machine has an IP address in the LAN. And. I used the PHP file function to create a local file program uploaded to the server. Can this program run well in the LAN. Do you need to create an FTP server in the LAN? Thank you!
------ Solution --------------------
You only need to ping each other to access the server ip address.
------ Solution --------------------
Basically, there are no requirements ~
------ Solution --------------------
1. as long as there is no problem with intercommunication between machines in the LAN, you can use IP + DIR during access,
2. it depends on how many files you upload. if there are not many files uploaded at a time and there are not many files uploaded at a time, there is no need to set up FTP. if you upload large files or many files, it is best to set up FTP ~~
When uploading large files in PHP, you need to modify the maximum file size limit in httpd. conf. if the file is too large, timeout may occur.
------ Solution --------------------
No requirements
------ Solution --------------------
As long as it is a network.
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