PHP binary?

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
darklord18
Forum Newbie
Posts: 8
Joined: Sun Jun 08, 2008 7:57 pm

PHP binary?

Post by darklord18 »

What is the php binary?? And how to compile one in windows? I have seen lot of command lines to run, but where to type all these??

eg:

$ /usr/local/bin/php -q server.php
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: PHP binary?

Post by califdon »

darklord18 wrote:What is the php binary?? And how to compile one in windows? I have seen lot of command lines to run, but where to type all these??

eg:

$ /usr/local/bin/php -q server.php
That code is for a Linux operating system. But if you just want to install PHP under Windows, you don't need to compile anything, just download the Windows version of PHP and install it, according to directions. See http://www.ricocheting.com/server/php.html. I'm assuming you already have Apache installed, as well as MySQL? In case you don't, you may find it easier to install all 3 together ("WAMP"). See http://webdesign.about.com/od/webprogra ... l_wamp.htm
Post Reply