Help!

I'm new to PHP/Apache/MySQL.

I've tried everything and can't seem to get it done.

done the following:

1.copied php4ts.dll to C:\WINNT\System32 and php.ini to C:\WINNT

2. Added to following to httpd.conf
        ScriptAlias /php/ "c:/php"
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .phtml
        Action application/x-httpd-php "/php/php.exe"

3. create phpinfo.php in htdocs directory with the following script:

    <?php phpinfo(); ?>

if i try to browse (IE6) an oridnary html file (http://localhost/test.htm)
the page displays correctly.
but when i try http://localhost/phpinfo.php i get a "The page cannot be
found" error. If i re-install
everything, i see

    <?php phpinfo(); ?>

in my browser instead of the output of phpinfo().


i tried adding the ff: to the httpd.conf file

        AddModule mod_php4.c
        LoadModule php4_module "c:/php/sapi/php4apache2.dll"
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .phtml

but Apache wont start.

do i need to associate  .php files to php.exe or to IE?

what other things do i need to do?  i would prefer running php in server
mode as
recommend by the PHP Help File.

Thanks and more power!

Weng Pangan


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to