Quest: Problems setting up PHP on Apache...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lewi

    #1

    Quest: Problems setting up PHP on Apache...

    I am using the win32 versions of Apache 1.3.24 and PHP 4.2.1 on Win2k Pro...

    Now I have Apache all setup and install PHP to use the php4apache.dll to use
    PHP as a sapi module and I am php.ini-dist as the php-ini I add the next few
    line to apache's httpd.conf file...

    LoadModule php4_module c:/php/sapi/php4apache.dll
    AddModule mod_php4.c
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    When I restart the apache server service I get no error and no PHP run-time
    error in the page. Currently the page I am the page that Apache setup make
    the temp default page to test apache with the next line added to the end
    before </body> closing tag...

    <?php echo "PHP Enabled..."; ?>

    But when reloading the page there is no change to how Apache developers
    designed the page to look like...

    Am I missing something here...

    Any help...



Working...