PHP Install

Discussion in 'Web Design and Development' started by sbryan, Jan 13, 2010.

  1. sbryan macrumors member

    Jun 6, 2007
    So I have two websites running from the same box and same directory.




    Both websites use PHP. One is a Wordpress blog with heavy PHP, another is a Flash page with a PHP formmail parser.

    For whatever reason, PHP works for website1, but not for website2. I placed a test.php file in each directory with phpinfo(); and ran it. One website was able to process the command while another wasn't.

    NOTE: PHP was installed on my root drive, so it's outside of these website folders.

    I don't remember specifying which directories could use PHP, nor can I find any specific references in my PHP installation.

    Does anybody have an idea of what may be going on?
  2. wishiwasmissing macrumors newbie

    Mar 30, 2006
    have you changed anything in your php.ini file / where does this reside?
    what about your htaccess file?

    what program are you using to host these sites?
  3. angelwatt Moderator emeritus


    Aug 16, 2005
    Have you checked the Apache and PHP logs to see if any errors are there that may lend a clue? One the part that doesn't work, what shows up, plain text version of the PHP file?
  4. sbryan thread starter macrumors member

    Jun 6, 2007
    -This is an IIS6 environment -- not by my choice. It was a real nightmare to setup Wordpress permalinks.

    -Not sure about htaccess. Will have to check into that.

    I will check on the location of PHP.ini and logging features. I'm working through the company's IT department, which ties my hands on immediate deployment and testing and pretty much requires my physical presence.
  5. sbryan thread starter macrumors member

    Jun 6, 2007
    PHP.INI seems to reside in two places:

    C:\Program Files\PHP

Share This Page