English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I was told I needed XAMPP - as it had Apache, PHP and the other stuff I needed in order to run php.

I have onstalled XAMPP but I've not configured it as I don't know how to - and when I try to preview my little php file from dreamweaver (preview in firefox) - it says I need to specify a server!!

help me!!

2007-05-21 23:49:43 · 4 answers · asked by Julie C (little ninja) 1 in Computers & Internet Programming & Design

4 answers

The dreamweaver preview will not work for these files.

The files have to be run on the webserver first to function. So move them to your web server directory and view them from your "localhost" address.

2007-05-22 00:09:22 · answer #1 · answered by Tracy L 7 · 0 0

I think you are not saving the files in appropriate folder. There is a folder in xampp named C:\xampplite\htdocs . Save your php file in it. Then try to preview. I wish it will work. it is the root directory for xampp by default. you can change it though. For me it is

C:\xampplite\htdocs\

Because I have put xampplite in my root C Drive. If I have a file named index.php in C:\xampplite\htdocs folder it can be accessed thorough this url.

http://localhost/index.php

2007-05-22 00:08:45 · answer #2 · answered by Suman Haldar 4 · 0 0

Make sure the php files are in the right directory (www i think) and then browse to http://localhost/yourfilename.php

2007-05-21 23:53:55 · answer #3 · answered by rystest 2 · 0 0

very own living house page documents in uncomplicated terms artwork in case you open them via the internet server. meaning you may desire to place "localhost/..." into the handle bar. considering the fact that localhost's root folder is desperate to htdocs, that's the place very own living house page documents could desire to be. you may desire to in concept set your webroot to C:, this could assist you open very own living house page documents everywhere on the C force. I fail to make certain the ingredient however. purely placed all your very own living house page projects in subfolders interior htdocs.

2016-11-26 00:31:42 · answer #4 · answered by lathem 4 · 0 0

fedest.com, questions and answers