Previewing PHP Files in Webuilder 2007
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
-
- Posts: 21
- Joined: Thu Nov 15, 2007 1:35 am
Previewing PHP Files in Webuilder 2007
I'm getting the "The software is not yet configured for previewing PHP files" error.
I'm using XAMMP for PHP and Apache.
Webuilder configuration appears correct:
Options => Preferences => Preview => Mappings shows:
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ - http://localhost
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ - http://127.0.0.1
Apache & PHP are working:
If I save a file as
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ index.php
I can open it in IE and FF via URLs
http://localhost/sites/index.php and http://127.0.0.1/sites/index.php
Also, I can open XAMMP's
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\phpinfo.php
Now what?
I'm using XAMMP for PHP and Apache.
Webuilder configuration appears correct:
Options => Preferences => Preview => Mappings shows:
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ - http://localhost
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ - http://127.0.0.1
Apache & PHP are working:
If I save a file as
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ index.php
I can open it in IE and FF via URLs
http://localhost/sites/index.php and http://127.0.0.1/sites/index.php
Also, I can open XAMMP's
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\phpinfo.php
Now what?
This message is made from of 100% recycled non-GMO soy-based malarkey.
No electrons were harmed in its production or transmission.
- stw
No electrons were harmed in its production or transmission.
- stw
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\sites\ - http://localhost
is wrong
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\ - http://localhost
is right, because web root is:
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\
so it corresponds to
http://localhost/
is wrong
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\ - http://localhost
is right, because web root is:
D:\Program Files\webdev-tools\LAMP\xampp\htdocs\
so it corresponds to
http://localhost/
Viewing PHP files in Webuilder 2007
I had an instance just yesterday when a PHP page I had been previewing quite happily last week suddenly started to report it wasn't configured properly and couldn't display the page.
I checked the mappings and they all looked OK so I tried again but it still failed.
So I went back to the mappings, edited the mapping I was using although I didn't change anything just Edit and OK and it all started to work again.
I checked the mappings and they all looked OK so I tried again but it still failed.
So I went back to the mappings, edited the mapping I was using although I didn't change anything just Edit and OK and it all started to work again.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
-
- Posts: 2
- Joined: Wed Dec 12, 2007 2:16 am
Anywahere other than root on a drive just make server paths more difficult map. Default install goes into C:\xampp.chrisjlocke wrote:Because xampp is a program, and can live in program files. For the same reason WeBuilder shouldn't be installed in the root directory!
I switched to Apache2Traid with php5 and mysql 5 to avoid some security issues with xampp.
Well, some programs are installed not in the program files folder (mainly developer toos with ide and things like that).chrisjlocke wrote:Because xampp is a program, and can live in program files. For the same reason WeBuilder shouldn't be installed in the root directory!
In this case, xampp makes a suggestion for vista. Install in root not in program files. This is because of the recurrent UAC vista has.