Some tips!
Installation
------------
Unlike PHP 3, PHP 4 is divided into several components; Even when you use
PHP in its CGI mode, php.exe is no longer a standalone executable, and
relies
on external DLLs for execution. For this reason, if you install php.exe as
a handler for your web server, you must make sure that the DLLs in the
distribution exist in a directory that is in the Windows PATH. The easiest
way to do it is to copy these DLLs to your SYSTEM (Windows 9x) or SYSTEM32
(Windows NT) directory, which is under your Windows directory.
The DLLs that need to be copied are MSVCRT.DLL (it may already exist in
there)
and PHP4TS.DLL.
Installation Notes for IIS 4.0 and 5.0
--------------------------------------
- Install the DLLs as mentioned above.
- If you wish to change any defaults, copy either the php.ini-dist or
php.ini-optimized files into your Windows directory, and rename it to
'php.ini'. You can then modify any of the directives inside it.
- Start the Microsoft Management Console (may appear as
'Internet Services Manager', either in your Windows NT 4.0 Option Pack
branch or the Control Panel->Administrative Tools under Windows 2000).
- Right click on your Web server node (will most probably appear as 'Default
Web Server'), and select 'Properties'.
- If you don't want to perform HTTP Authentication using PHP, you can (and
should) skip this step. Under 'ISAPI Filters', add a new ISAPI filter.
Use 'PHP' as the filter name, and supply a path to the php4isapi.dll that
is included in the distribution.
- Under 'Home Directory', click on the 'Configuration' button. Add a new
entry to the Application Mappings; Use the path the php4isapi.dll as the
Executable, supply .php as the extension, leave 'Method exclusions',
blank,
and check the Script engine checkbox.
- Stop IIS completely (you would have to stop the IIS Administration service
for that - stopping it through the Management Console isn't good enough;
You can do it by typing 'net stop iisadmin' on a command prompt).
- Start IIS again (you can do it by typing 'net start w3svc' on a command
prompt).
- Put a .php file under your Web server's document root and check if it
works!
Try it again!...
Felipe
-----Mensagem original-----
De: afan [mailto:[EMAIL PROTECTED]]
Enviada em: quarta-feira, 16 de maio de 2001 16:11
Para: [EMAIL PROTECTED]; Yessbell Carranza
Assunto: Re: [PHP-WIN] Can everyone help me?, pease...
Your code is fine and works ok.
Afan
----- Original Message -----
From: "Yessbell Carranza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 9:17 AM
Subject: [PHP-WIN] Can everyone help me?, pease...
> I´m new on PHP, I´ve been trying to make an easy program:
> <html>
> <body>
> <?php
> $texto="Hello World";
> echo $texto;
> ?>
>
> <br>
> <b>My first Script on PHP</b>
> </body>
> </html>
>
> When I try to run the program from the Internet explorer, it doesn´t show
> "Hello World", just display "My first script on PHP". I belive that PHP
is
> not working, I do not why, so It only shows the label on HTML "My first
> script on PHP".
>
> I´m working with Win. Nt 4.0 Server, and IIS. I install PHP Ver. 4.05. Can
> you help me please?, let me know what can I do, I have not idea of what to
> do.
>
> I have some more questions: When you install the PHP on your machine you
> can see it from the control panel? How can I see if it is install well?
How
> I can prove it?
>
>
> Yessbell Carranza
> SISTEMAS ORION
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]