1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by RandyN, Dec 14, 2011.

  1. RandyN

    RandyN Guest

    0
     
    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: Dec 15, 2011
  2. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
  3. RandyN

    RandyN Guest

    0
     
    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.
     
  4. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    correct


    what error do you get?
     
  5. RandyN

    RandyN Guest

    0
     
    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.
     
  6. RandyN

    RandyN Guest

    0
     
    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.
     
Loading...