There is no restriction on the storage location of PHP files in lamp. You only need to change the apache configuration file and point the parsed address to the directory where it needs to be stored.
Recommended tutorial: PHP video tutorial
The above is the detailed content of Where to put PHP files in lamp. For more information, please follow other related articles on the PHP Chinese website!