open_basedir() restrictijon in effect. FIle()

  • Warning: require(): open_ Basedir() restrictijon in effect. File() error

  • open_ Basedir is PHP restricted access to the folder configuration parameters, the pagoda automatically configured user.ini , but the directory is limited to public, so we need to change it to the project root directory

    Open the project root directory / public / user.ini file


    Delete public

  • Restart PHP, OK!