Preview PHP pages

Check a PHP page before the update.

Preview a page generated by PHP through a temporary area on your configured server. Check the output while you work on the project’s source files.

HTML Designer Mac workspace
Serverrun PHP on your hosting
Previewuse a temporary area
Updatestransfer changed files
Outputreview the generated page
Preview PHP pages

See what the server produces.

A page uses PHP includes for its header or content. Use the configured remote preview to see the generated page rather than just its source.

What you can do

Use it on your own website.

Preview a server-rendered PHP page, including its shared header, on your configured hosting.

Check a shared PHP header

Preview the rendered page after updating a supported PHP include in your project.

Review generated content

Inspect the page output with the required server environment in place.

Keep preview work separate

Use the temporary preview area on your configured hosting and check which files are uploaded.

Getting started

Make this update.

A page uses PHP includes for its header or content. Use the configured remote preview to see the generated page rather than just its source.

  1. Configure the server connection — Use hosting that can run the PHP your project needs.
  2. Start PHP Preview — Upload the preview files to the temporary area.
  3. Inspect the generated page — Check the output and revise the source before publishing.

Read the step-by-step guide →

Useful details

Questions about this task.

Check how this works with your project and hosting.

Can I run PHP preview without hosting?

No. This workflow needs a connected server with PHP support. The local static preview does not include a PHP runtime.

Is the temporary preview private?

It is separate from published page paths, but can be reachable through a public URL. It is not an access-controlled private environment. Server rules, dependencies and database configuration can also affect how the preview behaves.