When the pagoda is deployed, “open” appears_ “Basedir restriction in effect” error


Here is the error code:

Warning: require(): open_basedir restriction in effect.
Warning: require(XXXXXXXXXXX): failed to open stream: Operation not permitted in XXXX



Remove the check under the website directory to prevent cross site attack (open)_ Then restart the PHP service.


Finally, the most important thing is to restart PHP service!!!