Iis and PHP 4.3.2 configuration
Moderator: General Moderators
Iis and PHP 4.3.2 configuration
Hi... I need configuration my IIS and my PHP in Windows xp Professional. When i run my page in Front Page the he´s show me Save, open or cancel message. If i click in open the file is show and not run php.
What i do to run php in my machine?
Thank´s
What i do to run php in my machine?
Thank´s
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
You need to store PHP pages within the root directory of your webserver, the default for IIS is C:\inetpub\wwwroot\. So if you create a page called info.php and save it within that web root directory and place the following code within it:
You should be able to access it by going to http://localhost/info.php in your browser and see a bunch of information about your PHP configuration.
Mac
Code: Select all
<?php
phpinfo();
?>Mac
I run PHP on IIS myself, and the only thing you need to do to get it up running is to click the PHP installer, choose IIS here, and where to install it. It's the same where you install it.
Then open IIS and add .php as an extension and link it to the destionation og your php.exe. This is done under the properties menu.
Then open IIS and add .php as an extension and link it to the destionation og your php.exe. This is done under the properties menu.
in your php.ini there is a section ; Dynamic Extensions ;. There you en/disable the extensions php should load on startup, e.g.Unknown(): Unable to load dynamic library 'c:\php\php_bz.dll'.
Code: Select all
extension=php_bz2.dllthere's another option in php.ini called extension_dir
in my php.ini (but that's just an example) it's set to extension_dir = "E:\webserver\php\extensions". Given the first example php tries to load the file E:\webserver\php\extensions\php_bz2.dll each time it's started.
Lucky me, there is such a file on my system and it's valid
The run tests is OK!!!
But when rum one aplication the browser return this message: Warning: Unknown(): Unable to load dynamic library 'c:\php\php_mssql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'c:\php\php_msql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 .
But when rum one aplication the browser return this message: Warning: Unknown(): Unable to load dynamic library 'c:\php\php_mssql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'c:\php\php_msql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 .
The run tests is OK!!!
But when rum one aplication the browser return this message: Warning: Unknown(): Unable to load dynamic library 'c:\php\php_mssql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'c:\php\php_msql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 .
But when rum one aplication the browser return this message: Warning: Unknown(): Unable to load dynamic library 'c:\php\php_mssql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library 'c:\php\php_msql.dll' - Não foi possível encontrar o módulo especificado. in Unknown on line 0 .