Jump to content

[PHP]Query


CeKiT

Recommended Posts

  • MTA Team
Posted

well then, can the webserver access the files you present it with. And is the server able to process php pages all together. Please note that when using lightweight servers (like nginx and lighttpd) it's not only the webserver itself that needs to access the files, but the user that is running php via cgi or fpm also needs access rights.

Posted

Using command chmod should do it:

chmod -R 777 %PATH_TO_GAMEQ% 

This will give 777 rights to all folders and files inside the folder you passed as parameter.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted
Using command chmod should do it:

chmod -R 777 %PATH_TO_GAMEQ% 

This will give 777 rights to all folders and files inside the folder you passed as parameter.

chmod: cannot access `%PATH_TO_GAMEQ%': No such file or directory

Posted

Of course it will give that error, you should not simply copy+paste things that we post here. %PATH_TO_GAMEQ% is obviously a placeholder for the path, you must change it to the path of GameQ.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted
Of course it will give that error, you should not simply copy+paste things that we post here. %PATH_TO_GAMEQ% is obviously a placeholder for the path, you must change it to the path of GameQ.

Anderl is right, for an example: '%PATH_TO_GAMEQ%' would be '%PROGRAMFILES%\GameQ' if you haven't changed the Folder name.

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

Posted

Should not be hard to write the path you just wrote instead of '%PATH_TO_GAMEQ%'.

As serious? Not well understood.

Can you talk in a better English or explain yourself better? I didn't get that.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...