• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Help

Bang Bang

New Member
Joined
Jul 8, 2009
Messages
40
Reaction score
0
Code:
Warning: fopen(../config.php) [function.fopen]: failed to open stream: Permission denied in /var/www/install/index.php on line 62

Warning: fread(): supplied argument is not a valid stream resource in /var/www/install/index.php on line 64

Warning: fopen(../config.php) [function.fopen]: failed to open stream: Permission denied in /var/www/install/index.php on line 71

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/install/index.php on line 73
Changed config.php 
35 queries executed.
Modern AAC has been installed! You can always change any value in config.php in the main directory, for additional security you can remove the whole install folder. Thank you for choosing this system. You can now view your website here.

and then i click on "here" and it goes to install again
 
Write this:

cd /var/www/

sudo chown www-data -R .
sudo chmod 777 -R .

Remember to write the dot ( . ) as it means current dir.
 
Write this:

cd /var/www/

sudo chown www-data -R .
sudo chmod 777 -R .

Remember to write the dot ( . ) as it means current dir.

or...

cd /var/www

sudo chmod 777 *.*
chmod 777 *.*

and all archives or scripts from folder got permission "777"
 
Write this:

cd /var/www/

sudo chown www-data -R .
sudo chmod 777 -R .

Remember to write the dot ( . ) as it means current dir.


me@XXXX:~$ cd /var/www/
me@XXXX:/var/www$ sudo chown www-data -R.
[sudo] password for me:
me is not in the sudoers file. This incident will be reported.
 
I think its important to use a space between the dot and the R

Not R.

but R .

And make sure you are logged in with an account thats allowed to use sudo

Before writing sudo chown www-data -R .

You can also type in "sudo su"

And then skip the "sudo" part and only write chown www-data -R . later on.
 
Back
Top