WEB Apache/2.0.63 and PHP 5.2.1 local installation - NEED HELP!

Discussion in 'OT Technology' started by GotVtec, Feb 8, 2008.

  1. GotVtec

    GotVtec 8th World Wonder

    Joined:
    Mar 14, 2000
    Messages:
    575
    Likes Received:
    0
    Location:
    Omaha, NE
    I installed all of the files on my local machine and got them running, and setup a test file that contained phpinfo(); and it runs and shows me all of my server variables. However, if I attempt to run a script that is in a directory under localhost, it doesn't run any of the scripts, it just outputs the php code as regular text.

    Also, how do turn off the ability to show all of the files in a directory? Just look for index or nothing.

    Here are the vars from my httpd.conf
    Code:
    PHPIniDir "C:/WINDOWS/"
    LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll"
    AddType application/x-httpd-php .php 
    AddType application/x-httpd-php-source .phps
    Any ideas?
     
  2. GotVtec

    GotVtec 8th World Wonder

    Joined:
    Mar 14, 2000
    Messages:
    575
    Likes Received:
    0
    Location:
    Omaha, NE
    Always something simple.

    I forgot to turn on the simple tags.
     

Share This Page