Re: WinXP PHP Install Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux