Find the answer to your Linux question:
Results 1 to 4 of 4
Dear Experts, I am configuring Apache to use PHP. I want to create Virtual Sites which can support PHP within each virtual Sites. However, i have no luck that each ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2

    Apache, PHP, Virtual Sites


    Dear Experts,

    I am configuring Apache to use PHP. I want to create Virtual Sites which can support PHP within each virtual Sites.

    However, i have no luck that each Virtual Sites, I cannot run PHP.

    Can any experts helping me to dot me some step or code to configure:

    1. Virtual Sites,
    2. PHP support
    3. default open documents/ mime type for the starting page.

    Thanks.
    Man Pak Hong, Dave
    manpakhong

    Analyst Programmer

  2. #2
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87
    What distribution (type) of Linux are you using? I'll let someone else answer the question, but I'm sure they will want to know that.

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2
    Quote Originally Posted by fguy64 View Post
    What distribution (type) of Linux are you using? I'll let someone else answer the question, but I'm sure they will want to know that.
    Debian 5.0,
    thanks for your reply and kindly help.

    Man Pak Hong, Dave
    Analyst Programmer
    manpakhong@hotmail.com
    manpakhong

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how are you virtual hosting in your apache conf file? once php is loaded into apache it should be available to all virtual hosts without really any extra steps. feel free to post your conf file, just edit out the sensitive info if you want.

Posting Permissions

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