Hi,
I'm setting up a PC and a laptop
with PHP4 + Apache + MySQL (and Flash5).

I've installed everything....Apache is running...move the .dll's to Windows System
files, configured Apache to work with PHP4
(per Julie Melonie's instructions in PHP4 Fast & Easy)...also tried the later versions of everything in Server Side Flash....
When I open http://localhost/ I see the Apache intro (i.e. installation successful)
but when I save <? phpinfo(); ?> as
phpinfo.php in the htdocs folder and
try to see it in EI or Netscape
(http://localhost/phpinfo.php)
the browser only shows the code, not the info(??)
Any suggestions?
Thanks!
Cal

    If you only see the literal PHP code, or Apache says "file not found," nine times out of 10 you have one of the following problems:

    Your phpinfo.php file is really called phpinfo.php.txt and you just can't see the hidden file extension.

    Your phpinfo.php file is not in the Apache document root.

    Your ScriptAlias and Action lines in httpd.conf don't match up, or PHP4 isn't installed in the place you think it is.
    Your AddType lines are incorrect.

    Hope this helps

    -Abi

      Or it code be that you didn't uncomment the "AddType .php ..." line in your httpd.conf file...

      find it, uncomment it, restart apache, and see what happens.

      -S

        Many thanks!
        It works now after I added
        Action application/x-httpd-php /php4/php.exe
        Happy New Year =)
        Cal

          Write a Reply...