Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hhvm.server.startup_document does not seem to do anything #7590

Closed
eryi opened this issue Jan 10, 2017 · 1 comment
Closed

hhvm.server.startup_document does not seem to do anything #7590

eryi opened this issue Jan 10, 2017 · 1 comment

Comments

@eryi
Copy link

eryi commented Jan 10, 2017

HHVM Version

HipHop VM 3.17.0 (rel)
Compiler: tags/HHVM-3.17.0-0-ga34af693b558ed98ffafc3f5127e00959e145e4f
Repo schema: 8eda451fe80742a18e0e2e8917aa4053c2c1afe7

Standalone code, or other way to reproduce the problem

/home/user/startup.hh

<?hh
file_put_contents('/tmp/startup.txt', 'contents');

start server

hhvm -m server -p 8080 -d hhvm.server.startup_document=/home/user/startup.hh

Expected result

/tmp/startup.txt is created

Actual result

/tmp/startup.txt is not created

Looking at hphp/runtime/server/http-server.cpp, there is no reference to StartupDocument option at all

@mofarrell
Copy link
Contributor

This was deleted in august. If you want to check if HHVM is running (what you appear to be doing with your startup.txt) look for the pid file in /var/run/hhvm/. If you are trying to warmup HHVM (what this used to be intended for) see the new way of doing this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants