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

Time:2021-1-14

Here is the error code:

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

 

Solution:

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!!!