For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > March 2005 > Re: [PHP-INSTALL] Offline test site - php commands ignored









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Offline test site - php commands ignored
Frank Bax

2005-03-18, 3:57 pm

At 08:51 AM 3/18/05, Dee Dagner wrote:

>I have installed apache 2, MySql and PHP 4 on my XP computer, following the
>install.txt instructions. apache seems to be running fine (no errors anyhow)
>but when I open a test.php in my IE6 browser, just the html code is
>processed. Test.php simply echoes my php info like this:
><?php
> echo "This is a PHP line";
> phpinfo();
>?>
>I can't develop my pages online, my connection is too slow. Since I get no
>errors, just no results, I can't debug this. I'm a raw newbie to both Apache
>and PHP so any help is appreciated.



I've never done a windows install of php, but these are the only things I
do after installing binaries on OpenBSD:
1) run phpxs -s
2) update httpd.conf with:
AddType application/x-httpd-php .php
3) create php.ini (in same directory as http.conf)
4) stop/start apache

Frank
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com