Page 1 of 1

Iis and PHP 4.3.2 configuration

Posted: Tue Jul 01, 2003 6:23 am
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

Posted: Tue Jul 01, 2003 6:26 am
by volka
did you use the installer or zip-package of php?

Posted: Tue Jul 01, 2003 6:30 am
by tuta
My installer file is php-4.3.2-installer.exe.

Posted: Tue Jul 01, 2003 6:50 am
by twigletmac
Do you access the file by going to localhost in your browser?

Mac

Posted: Tue Jul 01, 2003 6:57 am
by tuta
No. What i do to this process?

Posted: Tue Jul 01, 2003 7:11 am
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

Posted: Tue Jul 01, 2003 7:26 am
by tuta
After test the browser show me this message:
Unknown(): Unable to load dynamic library 'c:\php\php_bz.dll'.

Posted: Tue Jul 01, 2003 7:37 am
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.

Posted: Tue Jul 01, 2003 7:50 am
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 ;)

Posted: Tue Jul 01, 2003 11:07 am
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 .

Posted: Tue Jul 01, 2003 11:08 am
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 .