I'm just trying to setup some simple things. I put an index.php file in my documentroot. index.html works just fine (sends a webpage). If I try index.php, it assumes I'm trying to download it. How do I know if php is working on apache? Where should I look?
That will usually happen if you haven't added a handler to tell apache what to do with .php files. In your apache configuration file, you should have a line like:
which actually loads the module, Then you'll need something like
To actually associate php files. Additionally, you can add:
which will treat index.php the same as index.html.