PHP mapping not working

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
User avatar
trishahdee
Posts: 32
Joined: Thu Jul 10, 2008 1:02 am
Contact:

PHP mapping not working

Post by trishahdee »

WeBuilder v. 9.3.0.101

Background.
I had xampp and WeBuilder working fine together along with the Mapping feature for a number of weeks. Then I was having a problem xampp not staying up. As part of diagnosing the problem I deleted all of xampp and went through the reinstall process. I finally diagnosed that it was a problem with Apache and Skype sharing port 80. I changed the ports on Skype and then xampp stays up.

Problem with Mapping
Now I go back to WeBuilder and try to preview a php page using the same settings and the same mapped folders, what I get is the xampp start page (the same one that I can see and work with when I put http://localhost/ in my client browser).

If I put the php page in the c:\xampp\htdocs then the php works. But this means that every time I work on a site I have to move it to the c drive into that folder... a real hassle.

How do I fix this?

Your help is greatly appreciated!
"It doesn't matter where we come from, what we've done or suffered, or even if we make a difference. We live as though the world was what it should be, to show it what it can be." ~ Angel, Season 4, Episode 67, "Deep Down"
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: PHP mapping not working

Post by syrupcore »

if you open httpd.conf (likely at C:\xampp\apache\conf\httpd.conf ) and search for "DocumentRoot", you'll see a directive that points to a folder on your computer. point this to wherever you'd like and restart apache. should work. my apache fu is weak though.
Post Reply