New Apache/PHP4 user needs help...

I have got Apache 1.3.22 running on Win98SE. When the console is started
it reports "Apache/1.3.22 (Win32) running..." and the "http://localhost";
shows that Apache has been configured and is running.

However, after installing PHP 4.0.6 CGI manually into c:\php4 using the
following:

1. edit c:\windows\php.ini with :
    extension_dir = c:\php4
    doc_root = c:\apache\htdocs
2. edit apache configuration file and add the following lines:
    ScriptAlias /php/ "c:/php4/"
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    Action application/x-httpd-php "/php/php.exe"

These lines were added after the:
    ScriptAlias /cgi-bin/ "C:/Program Files/Apache
Group/Apache/cgi-bin/"
which I assume must still be present.

When restarting the Apache console, the same message appears as before:
"Apache/1.3.22 (Win32) running..."

Here I would have expected to see additional PHP information.

When running "<?php phpinfo();  ?>" as a file called testphp.html, I get
a blank screen. View source [according to the PHP FAQ] shows the source
line which implies that the command was not sent to the server [I assume
the Apache/PHP4 server] correctly.

Any information to help me resolve this problem will be most helpful.
Thanks.

Balraj.



-- 
PHP Install 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