Connecting Tech Pros Worldwide Help | Site Map

Quest: Problems setting up PHP on Apache...

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:08 AM
lewi
Guest
 
Posts: n/a
Default 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...




 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.