Results 1 to 4 of 4

Thread: PHP/Virtual Hosts question

  1. #1
    I'm a farmhand on your dad's rooster ranch. haganxy's Avatar
    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    379

    PHP/Virtual Hosts question

    is it possible to enable/disable PHP per virtual host? or is it a server-wide thing?

    thanks
    hagan - IT nerd
    PrideBucks.com
    ICQ: 49962103


  2. #2
    virgin by request ;) Chilihost's Avatar
    Join Date
    Oct 2003
    Posts
    4,496
    Yes, you can. If you use control panel software like Plesk it is relatively easy, you just untick the php box. I am sure that you could do the equivalent in the httpd.conf file as well. I haven't ever had to do this, so not sure exactly how, but it can be done!!

    cheers,
    Luke


  3. #3
    I'm a farmhand on your dad's rooster ranch. haganxy's Avatar
    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    379
    hmm....i guess i'll have to research it...i want to edit it via the httpd.conf....
    hagan - IT nerd
    PrideBucks.com
    ICQ: 49962103


  4. #4
    I'm a farmhand on your dad's rooster ranch. haganxy's Avatar
    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    379
    my research shows that you can place:

    php_flag engine off/on

    in the virtual hosts directive or in the .htaccess file.

    i tried it, but it didn't work
    hagan - IT nerd
    PrideBucks.com
    ICQ: 49962103


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •