Using PHP With Webuilder

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;
flz
Posts: 22
Joined: Thu Jul 14, 2005 8:58 am

Post by flz »

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
groovebox
Posts: 7
Joined: Mon May 22, 2006 4:15 am
Location: Auckland Region

Post by groovebox »

Hi,

When I go to the Preview tab it just displays a standard page and has the standard blurb "Please check your paths in Preferences and ensure PHP is set to ...".

No error message as such.

As for the other - re the checkbox - I will have to have a look a bit later.

Regards
Brynley
groovebox
Posts: 7
Joined: Mon May 22, 2006 4:15 am
Location: Auckland Region

Post by groovebox »

Yes - "use folder mappings when displaying preview" is checked.

Regards
Brynley
groovebox
Posts: 7
Joined: Mon May 22, 2006 4:15 am
Location: Auckland Region

Post by groovebox »

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."
groovebox
Posts: 7
Joined: Mon May 22, 2006 4:15 am
Location: Auckland Region

IT WORKS!!

Post by groovebox »

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
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

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!
Post Reply