473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Php configuration in iis

27
i made a File with ..
Expand|Select|Wrap|Line Numbers
  1.      <? 
  2.        echo "HI WORLD ";
  3.      ?> 
and Save the file to the Virtual Directory..

and i browse this file --- it show like..

The page cannot be found

SEEMS like PHP has still NOT Configured Nicely....

I Tried THIS...
  1. To unzip using Windows default Extract Wizard
    1. right click the zip file
    2. select Extract All...
    3. click Next
    4. browse to My Computer > SYSTEM(C:)
    5. with SYSTEM(C:) highlighted, click Make New Folder
    6. enter php
    7. press OK
    8. in the ...extract to this directory. field you should see C:\php
    9. press Next
    10. then press Finish
  2. To unzip using WinZip
    1. right click the zip file
    2. select Extract to...
    3. select SYSTEM(C:) in the Folders/drives: window
    4. with SYSTEM(C:) highlighted, click New Folder
    5. enter php
    6. press OK
    7. in the Extract To: field you should see C:\php
    8. press Extract

Add c:\php to your Environment Variables
  1. right click 'My Computer' on desktop
  2. select 'Properties' -> 'Advanced'
  3. select 'Environment Variables' at the bottom of the screen
  4. in 'System variables', scroll down to select 'Path' and press 'Edit'
  5. add ;C:\php at the end of the 'Variable value:' field (variable values need to be separated by ;)
  6. press Ok, press Ok, press Ok

Add the .php extension
  1. For IIS, add it to the Application Mappings.
    1. Start -> Control Panel -> (Performance and Maintenance) ->Administrative Tools -> Internet Information Services
    2. Expand your local computer by clicking the +
    3. Right click on Web Sites
    4. Select Properties
    5. Select the Home Directory tab
    6. Press the Configuration button on the lower right side of the screen
    7. Press the Add button
    8. Browse to C:\php
    9. Change Files of type: at the bottom of the screen to Dynamic Link Libraries (*.dll)
    10. Double click on php5isapi.dll or select php5isapi.dll and press Open
    11. Enter .php in the Extension field (be sure to enter the '.' before the php)
    12. Press OK
    13. Press Apply
    14. Press OK
    15. Press OK
    16. Close the Internet Information Services screen
Jan 20 '10 #1
3 2232
Atli
5,058 Expert 4TB
Hey.

Did you restart IIS?
If so, try restarting the computer. (Env-variables may need that)

P.S.
Is there a reason why you are using IIS?
Generally, I would recommend using Apache with PHP.
(Avoiding mixing M$ software with open-source software - especially open-source software that happens to be the main rival of other M$ software - is usually a good idea :P)
Jan 20 '10 #2
MrMob
27
COZ i had a Problem Installing WAMP server Or ApACHE... Server.
and the package i download had a Virus ... so it quite Bit Difficult to work with it..
Jan 21 '10 #3
Atli
5,058 Expert 4TB
@MrMob
Speaking as somebody who has used several versions of both IIS and Apache, you are a lot better of sticking with Apache.
(It's free, open-source, practically designed to work with PHP, platform-independent, o and did I mention: it's free!)

In the past I've heard some oddities regarding the WAMP package, so I would recommend XAMPP instead. I have yet to run into an error myself, using XAMPP.

You should also note that some anti-virus applications can give you false-positives on some of these packages. After all, they contain various pieces of server software, which aren't just your ordinary client applications. They are generally a lot more involved in the OS, so some anti-virus software may confuse it with some sort of a virus attack. (Not to mention that XAMPP uses file names like "kill.exe", which isn't exactly trustworthy in the eyes of a virus-scanner :P)

It is usually best to just turn of all anti-virus apps while installing stuff like this. They can cause all sorts of issues. (I've heard about issues concerning McAfee and Norton, in particular.)

But rest assured, neither XAMPP nor the stand-alone Apache server is trying to infest your computer with viruses. You can check for yourself if you don't believe me. It is open-source, after all.
Jan 21 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
5
by: Water Cooler v2 | last post by:
I know that we can add a single name value entry in app.config or web.config in the configuration/configSettings/appSettings section like so: <add key="key" value="value" /> Question: I want...
1
by: Jess Chadwick | last post by:
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as...
4
by: Michael Lang | last post by:
I was basically wanting to know how to use the System.Configuration namespace to be able to load an arbitrary number of unknown attributes on an element in a custom section in the .config into a...
6
by: Jeff Hegedus | last post by:
I have a dll that requires some configuration data. I put the configuration data in a custom configuration section in a config file that is loaded in the installation folder of the dll. If I...
8
by: Alberto | last post by:
Can you tell me how to read and modify a value in the app.config file using this class? Thank you very much
7
by: Arno R | last post by:
Hi all, I am sending mail from my apps with CDO nowadays. However I have one client where this will not work until now. I am thinking this is related to the provider where the client has his...
7
by: =?Utf-8?B?RG91Z2llIEJyb3du?= | last post by:
Hi I've written custom configuration section (inherits from System.Configuration.ConfigurationSection) to simplify the contents of the config file and to make life easier when accessing them in...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi, thanks, mister The code string rutaConfig = tbRutaConfigServicioBase.Text; '// Map to the application configuration file. ExeConfigurationFileMap configFile = New...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.