Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with Apache and PHP

Status
Not open for further replies.

feartetsuo

Technical User
Dec 21, 2004
3
US
Ok. I installed PHP v5 and Apache 2 on my computer. I set it up because I want to run PHP scripts on my computer. I need a bigger max upload size in my php.ini setting. So I changed it in all the php.ini files I had on my computer. I run Apache and type in my php page to see my php info and it always says that the max upload size is 2mb, not what I set it too. I loaded the code to find out my php info and located the directory where it said it was using the php.ini file from. I deleted it and restarded apache to see what would happen. And it still works!! And it even says that it is using the php.ini file from where I just deleted it from. Please tell me that someone has had this happen before and it can be fixed. Thanks.

Also, whenever I start apache I get this error message. But apache still works and runs fine. Here is the image and the code that it said is a mismatch:
dos.gif


line 968 is:
Code:
AddType application/x-httpd-php .php 
ScriptAlias /php/ "c:/php/"  <---------This is line 968 
AddType application/x-httpd-php .php
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top