Hi Brynley,
What happens when you try to preview? Do you get an error message?
Do you have the checkbox "Use folder mappings..." checked?
The "Path to php.exe" is needed for syntax check only. The preview only works for files in your htdocs directory and subdirectories.
Frank
Using PHP With Webuilder
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;
Hi the full "page" I get is:
"The software is not yet configured for previewing PHP files
You can configure this preview window to work with your web server, but you must have a local or remote web server to publish your PHP file.
To enable PHP file preview on your web server:
On the Options menu, click Preferences;
In Preferences window, click Preview folder;
Click Mappings;
Click Add;
Enter your directory containing the files and the corresponding web server address,
for example, c:\apache\htdocs\ and http://localhost/
You do not need to map subdirectories;
Click OK to save settings.
Note: If you use remote web server, you must always upload/save your file to corresponding FTP account before previewing it."
"The software is not yet configured for previewing PHP files
You can configure this preview window to work with your web server, but you must have a local or remote web server to publish your PHP file.
To enable PHP file preview on your web server:
On the Options menu, click Preferences;
In Preferences window, click Preview folder;
Click Mappings;
Click Add;
Enter your directory containing the files and the corresponding web server address,
for example, c:\apache\htdocs\ and http://localhost/
You do not need to map subdirectories;
Click OK to save settings.
Note: If you use remote web server, you must always upload/save your file to corresponding FTP account before previewing it."
IT WORKS!!
Well...
It is now working!!
How did I get it working?
I uninstalled Apache/PHP. Rebooted. Installed latest versions of Apache/PHP. They were working fine and able to process PHP just fine.
Tried to preview the pages sitting in my "htdocs" folder...
STILL NO GO.
Rebooted. (Like I did many times before.)
It works!!
Sorry - obviously something unique to my circumstances - but - the weird thing is that I had this combo running on 3 seperate PC's and it was basically an identical set-up on each PC... So now it works on 2 of the PC's but still not on the 3rd...
Weird...
Something in the atmosphere?
Thanks for all your patience and comments.
Though it is still a complete mystery to me.
Computers huh?
Users huh?

Respectfully
Brynley
It is now working!!
How did I get it working?
I uninstalled Apache/PHP. Rebooted. Installed latest versions of Apache/PHP. They were working fine and able to process PHP just fine.
Tried to preview the pages sitting in my "htdocs" folder...
STILL NO GO.
Rebooted. (Like I did many times before.)
It works!!
Sorry - obviously something unique to my circumstances - but - the weird thing is that I had this combo running on 3 seperate PC's and it was basically an identical set-up on each PC... So now it works on 2 of the PC's but still not on the 3rd...
Weird...
Something in the atmosphere?
Thanks for all your patience and comments.
Though it is still a complete mystery to me.
Computers huh?
Users huh?

Respectfully
Brynley
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Just for other people who find installing Apache and PHP is possibly more trouble than its worth. There is a 'bundle' called 'PortableWebAp' which has the latest versions of Apache, PHP, and SQLite (sorry - no MySQL, although it is downloadable from the same site) and doesn't require installing - simply run one console application, and everything fires up and works seamlessly. Its primarily designed to run off a USB stick, so its portable (thus called Portable Web App!)
http://portablewebap.com/
Oh, and its free! Wahoo!
http://portablewebap.com/
Oh, and its free! Wahoo!