hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

Environment variable HPHP_HOME is not set.

Open like2dev opened this issue 14 years ago • 3 comments

Platform: Ubuntu Server 10.04 in console:

export HPHP_HOME=pwd printenv HPHP_HOME /home/uname/dev/hiphop-php

Run: sudo src/hphp/hphp test.php --log=3

.... Exception: Environment variable HPHP_HOME is not set. hphp failed

like2dev avatar Dec 13 '11 09:12 like2dev

check $ env

ghost avatar Dec 26 '11 00:12 ghost

Try to sudo before setting environment variables;

su -
export HPHP_HOME=...
src/hphp/hphp test.php --log=3

louisehu avatar Jan 09 '12 15:01 louisehu

We're closing out all bugs older than 2 months. http://www.hiphop-php.com/wp/?p=575

If this is still an issue, please re-open it, and in order of goodness:

  1. Give detailed repro steps
  2. Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
  3. Fix it in a pull request

ptarjan avatar May 13 '13 21:05 ptarjan