In linux, php files cannot be executed after they are replaced by the same file.
Source: Internet
Author: User
In linux, php files cannot be replaced by the same file, but php runs normally. I recently made another php Project. I had a php file on the unit Computer. suppose it was 1.php. I went home and wrote 1.php for one night. When I arrived at the company the next day, I took the Unit 1. php overwrites the linux environment. php files cannot be executed after they are replaced by the same file.
In a personal LAMP environment, php runs normally.
I recently made another php Project. I had a php file on the unit Computer. suppose it was 1.php. I went home and wrote 1.php for one night. When I arrived at the company the next day, I took the Unit 1. php overwrites... Result 1. when php is executed, a blank page is displayed in the browser. I thought it was a problem with the code and overwrite the previous one. the PHP file was obtained from the USB flash drive and overwritten again. The result is still a blank page...
The code can still run before, no problem. in this way, after two changes, even files that can run previously cannot run. Please help us to see why.
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.