The failed to open Stream:permission denied in is the Apache run user does not have permission to access the specified file, causing the directory file to open.
Prompt when you open the browser
Warning:include (/global.php) [function.include]: failed to open stream:permission denied into index.php on line 21
Warning:include () [function.include]: Failed opening '/global.php ' for inclusion (include_path= '.; C:php5pear ') in index.php on line 21
Fatal error:class ' Fl_global ' not found in index.php to line 22
From so many false hints we can see a failed to open stream:permission denied in, meaning that there is no access to this issue
Linux Solutions
Linux under
Chmod-r 777./dirname Give directory writable permission
chmod 777./filename grants Write permission to the file.
Windows 2003 Solutions
I am an Apache user so just give Apache user privileges (if IIS users also need to set permissions in IIS)
Example: Right-click www or web directory, then click on the pop-up "security and sharing" or "properties" can also be opened after the choice of security and so on, and then increase the user and set access to the user's permissions must be selected below the figure shown, note that we increase access to users must be the same as the Apache directory can oh.