[SOLVED]Setting up PHP in Apache for Windows
Moderator: General Moderators
-
Straterra
- Forum Regular
- Posts: 527
- Joined: Mon Nov 24, 2003 8:46 am
- Location: Indianapolis, Indiana
- Contact:
[SOLVED]Setting up PHP in Apache for Windows
I have added the following things to my httpd.conf file, yet I get this error when I try to run a .php file..
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, straterra@hotmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
This is what I added to my conf file.
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "c:/php/php.exe"
ScriptAlias /cgi-bin/ "C:/ftp/users/straterra/cgi-bin/"
What else do I need to do?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, straterra@hotmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
This is what I added to my conf file.
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "c:/php/php.exe"
ScriptAlias /cgi-bin/ "C:/ftp/users/straterra/cgi-bin/"
What else do I need to do?
Last edited by Straterra on Sat Jan 10, 2004 3:32 pm, edited 1 time in total.
I'm no server expert. I have my local server use an installed
.
http://apachefreaks.com/
Good luck,
-Nay
http://apachefreaks.com/
Good luck,
-Nay
Try you can also http://www.apachefriends.org/index-en.html
A very easy to install apache/mysql/ftp-server/mail-server/phpmyadmin etc. package it is.
Praise? Nay :p
A very easy to install apache/mysql/ftp-server/mail-server/phpmyadmin etc. package it is.
Praise? Nay :p