Results 1 to 5 of 5
Hi everybody,
I am new to Linux , I have installed Suse 10.2 .
my problem is that I don't know how I can execute Php files.
I don't know ...
- 10-07-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 3
how to run PHP on linux
Hi everybody,
I am new to Linux , I have installed Suse 10.2 .
my problem is that I don't know how I can execute Php files.
I don't know where I should copy those files, and how I should change their permission.
Would you please help me.
Thank you.
- 10-07-2007 #2
You can put the files in /srv/www/htdocs or ~/public_html (I use this for development purposes but move the files to /srv/www/htdocs when the site is live). You change their permissions using chmod (usually to 755).
- 10-08-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 3
Thanks
What's the comment that is used to change the permission?
(in console )
- 10-08-2007 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You will need to have Apache and the Apache PHP modules installed.Code:chmod 755 /path/to/yourfile
- 10-08-2007 #5Just Joined!
- Join Date
- Oct 2007
- Posts
- 3
Thank you very much , you really helped me a lot.
I love this Forum , members answer questions very fast.
thank you.
I will have more questions in future, Actually I have never worked with Linux and PHP , I am ASP.NET developer but my company received an unfinished project, we have to finish that. it is very tough, imagine you don't know anything about Linux and PHP ,and you have to finish an unfinished project.
However, Thank you again.


Reply With Quote