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

Alrighty, I followed the steps found at http://www.communitymx.com/content/article.cfm?cid=59334 to install phpdev, which includes apache, mysql, and php. Now however, I am ready to start coding in PHP, but I don't know where to save my files! I have tried saving them in the phpdev folder and the Apache folder, but I still can't view my "test.php" file! I have looked on other websites and they say to save it in my web server folder... where is that?

2007-06-19 14:24:49 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

If you installed it as the default came the www directory is
C:\phpdev\www

so your file would go to that directory.

There should already be a test file the one that shows when you type htt://localhost/

2007-06-19 14:31:57 · answer #1 · answered by Tracy L 7 · 0 0

i had the same problem early this year, Check your apache installation, if you install it in the default way , you need to set path for your apache to your php
just like jdk(java) when you want to set path for the java bin
the same thing will be carried out in here
i am sure the mysql will not give any problem

set path for the apache to the phpdev file (where you want to safe in your php file )

2007-06-19 21:41:28 · answer #2 · answered by muyiwa o 1 · 0 0

Open your Apache Settings:

look for "Document Root"
Set that to whatever folder you want to do your work in
then search for "This should be changed to whatever you set DocumentRoot to."
Under that it says directory, change that to the same thing as DocumentRoot, save your files in the folder and you're good to go.

As for the test.php, since it's not index.php, you'll have to type it in your browser

2007-06-19 21:33:57 · answer #3 · answered by Eilrama B 3 · 0 0

fedest.com, questions and answers