Re: WinXP PHP Install Problem
| From: | Jason Barnett | Date: | Sat, 31 Jul 2004 08:03:31 +0000 |
| Subject: | Re: WinXP PHP Install Problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24310@lists.php.net to get a copy of this message | ||
Hey Bruce, could you get it to work with the CLI version of PHP? The exact path is going to depend on where you installed PHP, but in my installation I use C:\php\php.exe. So the command to run your program would be something like:
cd\php
php -f C:\path\to\yourfile.php
If that gives you "Hello world", then you have a problem with your Apache configuration - probably the AddType directive. If that doesn't work then we have a problem with PHP, and you'll just have to give us some more information - like did you build this yourself?
[in my httpd.conf module section]
LoadModule php5_module "c:/php/php5apache2.dll"
[/in my httpd.conf module section]
[in my httpd.conf directives]
AddType application/x-httpd-php .php
[/in my httpd.conf directives]