Run php file

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
faris10
Forum Newbie
Posts: 9
Joined: Sun Dec 11, 2005 6:25 pm

Run php file

Post by faris10 »

Hi,
I have a linux system (slackware 10.2) I have wrote some files with PHP. How can I run that file in my browser under the User James . The files of PHP located at /home/james
I use apache server . I have checked the apache server it is running perfect . thanks
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

I think I understand your question....

Two options.

1. http://localhost/home/james

2. Change the config of Apache from localhost to 'home'

http://home/james
Post Reply