php not running - help...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
victor
Forum Commoner
Posts: 65
Joined: Fri Feb 13, 2004 1:36 am

php not running - help...

Post by victor »

I'm using Win XP for my php installation.

I addded the necessary files from c:\php\dlls to system32 and have configured my php.ini file in c:\windows by the following

1) extension_dir = c:/php/extensions
2)doc_root = "c:/Program Files/Apache Group/Apache/htdocs"

and added the following lines to my apache httpd.conf file

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

however I cannot change the mibs folder into the c:\usr directory because the USR folder doesn't exist in c:, is this the reason why my php is not running? If not pls offer your suggestions.
User avatar
werlop
Forum Commoner
Posts: 68
Joined: Sat Mar 22, 2003 2:50 am
Location: /dev/null

Post by werlop »

what version of apache are you running?

the /usr dirctory is a reference to unix systems.

See http://www.php.net/manual/en/install.apache2.php for installation instructions under apache2.
Post Reply