View Full Version : Localhost & SmartFTP
corral
02-14-2006, 08:19 PM
hey yall....im using apache 2.0.55 and smartFTP on my home comp to host a website for testing so how would ivget SmartFTP to connect to it...
what do i put here
Address:
Login:
Password:
Port:
where would i find this stuff....im doing it all on localhost so....yeah.....
bgtfamily
02-14-2006, 08:22 PM
You would have to host an ftp server also on top of the apache server since apache is essentially only a web server. If you have local access to the server, and don't want remote; then you could just transfer what files you want to the apache web directory; if not, then you'd have to install an ftp server on that computer also; which from configuring that server, you would be provided with the credentials to provide to your ftp client.
corral
02-14-2006, 08:30 PM
yes well id need to find a way to chmod things through apache and i dont know how....is there any way or alternative??
bgtfamily
02-14-2006, 08:34 PM
Theres not anyway that I know of. I thought there was a way to chmod through windows, but theres probably not, probably more or less was just me using the FTP client on Windows; anyways, you'll probably have to host an ftp server, XD
corral
02-14-2006, 08:39 PM
that was probably the ISS home server but they removed it in XP home edition sooo....anyone else have ideas...?
Virtual Headache
02-14-2006, 09:34 PM
For FTP server, try this one: http://www.cerberusftp.com/
En-Cu-Kou
02-14-2006, 10:16 PM
As mentioned before, you need a FTP server... And I don't know about Windows FTP servers, sorry.
What I do know, though: you don't have to chmod on Windows. Chmod is an Unix thing.
Maybe you need to setup privilieges or whatnot if you have a paranoid Windows version (I doubt XP Home would require that), but that's not chmodding and will not work through standard FTP.
Anyway, FTP is for transferring files between computers. If it's your home computer, you probably don't need FTP to access it.
corral
02-14-2006, 10:36 PM
ok but it says....
[qoute=instructions]
Using an ftp client (FlashFXP (http://www.flashfxp.com/)), upload the entire contents of the 'upload' directory to a visible directory on your webserver (for example, forum or forums).
Chmod the following files to 666 (ie, make sure that PHP can write to them).[/quote]
so what do i do....
En-Cu-Kou
02-16-2006, 01:40 AM
That assumes your site is hosted on a remote Unix-like system (as most are).
Don't worry about FTP and chmodding on your home Windows machine. Just put the files in your Apache's document folder.
corral
02-16-2006, 02:40 AM
ok ill try that thx all
ok this sucks....seriously.....i use PHP5 and the stupid apache wont parse....like instead of hello web....ill get <?php echo "hello web" ?> and what not....now what....(holy crap this is annoying....
If you are using apache, why you don't put in your files in "htdocs" folder?
When the files are put in, you can reach this when you put in
http://localhost/file.html
localhost = htdocs
corral
02-16-2006, 01:17 PM
i did.....and when i go to localhost/file.php i will get the actual source code INSTEAD OF what i (or a professional person) programmed it to say...what files control how apache parses PHP??? i suppose thats my question, so i can reload them....
Do you started Apache? Normally, if its started, you should see the correct page, not the source.
corral
02-16-2006, 10:32 PM
yes i know.....thats the problem....its showing me PHP code which means that the PHP parser program isnt loaded correctly or some such....
Does there are any error-messages? In my case, it don't works when I started the program Skype. If Skype is closed, Apache works, but if its open, it don't.
corral
02-17-2006, 01:42 PM
well....i sorta figured it out.....if i chang ?php to% it will work but other than that.....nothing doing....
@Fabi....i dont know what skypes is??
I mean, if you have special programs opened while try using apache it might be don't work.
En-Cu-Kou
02-17-2006, 05:15 PM
It looks like your PHP is not installed correctly.... Did you confugure Apache to give PHP files to the PHP parser?
corral
02-22-2006, 03:18 AM
nevermind....i figured it out.....alll is good!! thanks everybody!
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.