1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

PHP not working on client domains

Discussion in 'Plesk for Linux - 8.x and Older' started by rsanders4, Jul 12, 2005.

  1. rsanders4

    rsanders4 Guest

    0
     
    Greetings,

    For some odd reason my plesk 7.5 install is not enabling PHP on any client domains.

    any php files show up as plain text.

    It appears there may be some sort of issue with an addhandler directive?

    Any tips would be appreciated.

    Thanks in advance.
     
  2. hardweb

    hardweb Guest

    0
     
    The .php extension is parsed by the default config in httpd.include. What OS do you have?
     
  3. rsanders4

    rsanders4 Guest

    0
     
    fedora core 2

    basically any .php page just shows the raw source.

    I'm pretty familiar with how apache handles things, but somewhat of a newbie when it comes to the Plesk back-end (mostly been a cpanel guy until now)

    Let me know if you need any other info, and I'll be happy to provide it.
     
  4. rsanders4

    rsanders4 Guest

    0
     
    Anyone else have any ideas on why this is not working?

    PHP not working is a pretty critical issue for me at this time?


    Thanks in advance.
     
  5. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    not meaning to state the obvious, but you have allowed them to access php in the hosting setup area in the domain control panel.
     
  6. rsanders4

    rsanders4 Guest

    0
     
    Would it help to post the contents of my http.conf and httpd.include files?
     
  7. rsanders4

    rsanders4 Guest

    0
     
    Well, I've managed to fix one of the two messed up domains. Now, .html and .php files work perfectly fine.

    However, I have a 2nd domain on the box that has been prompting to "download" x-http-php even though there are no php files in the sites directory, only .html files.

    even if I feed the url http://www.clientdomain.com/index.html I get the prompt.


    But........ If I copy their index.html to index.htm it works fine if I specify http://www.clientdomain.com/index.htm in the url, yet just typing http://www.clientdomain.com still results in being prompted to download a file.
     
  8. Robert Lavelock

    Robert Lavelock Guest

    0
     
    Check for a hidden .htaccess file in the root directory of the vhost. Delete or rename it if you didn't put it there or intend to have a custom one.
     
Loading...