Iis and PHP 4.3.2 configuration

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Iis and PHP 4.3.2 configuration

Post by tuta »

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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

did you use the installer or zip-package of php?
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Post by tuta »

My installer file is php-4.3.2-installer.exe.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Do you access the file by going to localhost in your browser?

Mac
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Post by tuta »

No. What i do to this process?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

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:

Code: Select all

<?php
phpinfo();
?>
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
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Post by tuta »

After test the browser show me this message:
Unknown(): Unable to load dynamic library 'c:\php\php_bz.dll'.
User avatar
Zeceer
Forum Contributor
Posts: 136
Joined: Fri Aug 02, 2002 5:10 am
Location: Norway

Post by Zeceer »

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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Unknown(): Unable to load dynamic library 'c:\php\php_bz.dll'.
in your php.ini there is a section ; Dynamic Extensions ;. There you en/disable the extensions php should load on startup, e.g.

Code: Select all

extension=php_bz2.dll
(note: php_bz2.dll).
there'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 ;)
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Post by tuta »

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 .
tuta
Forum Newbie
Posts: 21
Joined: Mon Jun 30, 2003 3:37 pm
Location: Brasil

Post by tuta »

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 .
Post Reply