PDA

View Full Version : Trying to add stats


Dubie
2003-08-12, 00:10 AM
Sup All,

I am trying to add stats to my server for a game I play and I am having a hell of a time. lmao

One thing thats got me is the way I need to exec the stats program. Its wrote in php.
This is how they say to run it: php -q stastd.php mode=local src=C:\logs

But its not working I keep getting:
'php' is not recognized as an internal or external command,
operable program or batch file.

Then if I take off the php I get this:
'-q' is not recognized as an internal or external command,
operable program or batch file.

Anyone know how I run php commands on Win2k with Ensim

Any help would be greatly appreciated

Thanks for your time,
Dubie

QT
2003-08-13, 14:26 PM
"php" is the command and "-q" is an argument ..

Not sure if Ensim installs the php binary, or where it is installed if it does.

Dubie
2003-08-13, 21:36 PM
Thanks, so I would just use the "php stastd.php mode=local src=C:\logs", or its php -q stastd.php mode=local src=C:\logs but I need php to be installed full with the Bin.

One more question.
So can I install PHP and Apache on the server and not mess with/up Ensim at all?


Thanks for your time,
Dubie

Dubie
2003-08-16, 23:56 PM
Anyone try this yet or know if its possible?

I just don't want to mess up my Ensim, I have too many site on it to take that chance. lol
Thought maybe someone might know if it will work or not.

Thanks,
Dubie

knightfoo
2003-08-17, 11:47 AM
You can install the PHP binaries without installing Apache at all. It should be safe to do with Ensim, but I don't know if anyone has ever done it before. The Windows binaries can be found here: http://www.php.net/downloads.php

-knightfoo