• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Previewing A Website With CSS, PHP, JS, and FLASH

R

RandyN

Guest
Previewing A Website With PHP

There has been a long line of forums related to this, I'm hoping someone can help me.

OS Linux 2.6.32-71.29.1.el6.x86_64
Panel version 10.4.4 Update #6

Using the quick preview available in PLESK 10.4+, everything seems to work fine except PHP. Is there a way to change this? Can PHP work in preview mode?

Does it matter which PHP Apache module I'm using?
 
Last edited by a moderator:
ummmmmm

Are we referring to the section titled, "Quick preview of a website?"

I've carried through with all of those steps. I'm viewing my websites before DNS propogation in that manner now, with their domain name as a subdomain of the hosting domain.

Everything works fine that way, except for the PHP. The global setting for PHP is fine, the service plans, subscribers, etc... but PHP still doesn't work.
 
Are we referring to the section titled, "Quick preview of a website?"

correct


I've carried through with all of those steps. I'm viewing my websites before DNS propogation in that manner now, with their domain name as a subdomain of the hosting domain.

Everything works fine that way, except for the PHP. The global setting for PHP is fine, the service plans, subscribers, etc... but PHP still doesn't work.

what error do you get?
 
any files with the extension .php come up as

404 Not Found - The requested document was not found on this server.

It acts like they don't exist.
 
Well, I did some tweaking and fixed it. Although I had global PHP settings for FastCGI, and domains to follow this "service plan", turns out the one domain I was attempted to preview was using Apache Module PHP settings and I suppose that doesn't work in preview mode.

Went into global settings, allowed individual domains to adjust their settings, went to that particular domain's PHP settings, switched it to FastCGI, all PHP is working now.

Thanks danliker. I appreciate the assistance.
 
Back
Top