Dear Margarida,
I don't know what exactly you have done so far but this is a clear
explanation that help me when I started, it is basic I don't mean to insult
your knowledge but sometimes we miss a little thing and it's gone. Tell me
if this works, otherwise i can mail you my php.ini and httpd.conf because
this is where you should look at.

If I recall the 2 dlls are going the windows/system not just windows, one of
them (msccrt.dll)you most likely already have it and the computer tell you
that it is existing, keep the existing one.The other one (php4ts.dll) goes
to windows/system.
Also don't forget to add a couple of line in apache open httpd.conf with a
text editor
1/ Find a line that said :
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
and add right under it:
ScriptAlias /php4/  "c:/php4/"
2/Find a line that said:
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps
and add right under it:
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
3/Find a line that said:
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
#
and add right under it:
Action application/x-httpd-php /php4/php.exe

That's it you are done,
Now first restart Apache and test
Write a script that you will name phpinfo.php
<?  phpinfo(); ?>
Open you browswer and type :
http://localhost/phpinfo.php
It will normally works.

Another think if you run under win95 make sure you have winsock2 install if
not download it at microsoft.com

""Margarida"" <[EMAIL PROTECTED]> wrote in message
9alm10$euu$[EMAIL PROTECTED]">news:9alm10$euu$[EMAIL PROTECTED]...
> Dear All
>
> I've installed Apache Server in my PC  (windows9*) and it is running ok. I
> get an answer when I ping my own machine and I can see apache's default
> homepage. I've made the changes necessary in the httpd.conf file.
>
> I've configured my php.ini and copied the dlls to the windows directory.
>
> Still when I try to  see the result of a simple code such as the one below
> on a browser...
> <html>
> <head></head>
> <body>
> <?
> echo("hello world!")
> ?>
> </body>
> </html>
>
> ...I get black page
>
> Has anyone gone through the same problem?
> Can anyone point out a solution?
>
> Thank you!
>
> Margarida
>
>
>
> --
> 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]

Reply via email to