-
Notifications
You must be signed in to change notification settings - Fork 3k
Running PHP programs with HHVM
ptarjan edited this page Sep 25, 2014
·
12 revisions
First, create hello.php
:
<?php echo 'Hello from Hiphop'; ?>
Here's how to run a PHP program at the command line:
hhvm hello.php
If you need to change any of HHVM's default settings (which you probably will), you'll want to create a config.ini
file. See the documentation for possible options. When you run HHVM, you can point it at your config file like so:
hphp/hhvm/hhvm -c config.ini <additional arguments>