hhvm / user-documentation

Documentation for those that use HHVM and write Hack code.
http://docs.hhvm.com/
Other
129 stars 159 forks source link

Cannot complet installation of hhvm no fastcgi.sh installed during installation of hhvm #629

Open mgsnell opened 5 years ago

mgsnell commented 5 years ago

Please complete the information below:

Where is the problem?

You state: Our included script sudo /usr/share/hhvm/install_fastcgi.sh will configure nginx correctly for stock installs. The important part is that it adds include hhvm.conf near the top of of the nginx config mentioned above -- this will direct nginx to take any file that ends in .hh or .php and send it to HHVM via fastcgi.

What is the problem?

There is no /usr/share/hvvm/install_fascgi.sh created when installing see screen shot of that directory. Therefore I cannot complete the installation correctly no such directory


Please don't change anything below this point.


fredemmott commented 5 years ago

Therefore I cannot complete the installation correctly

We strongly recommend not using fastcgi, and using the built-in server correctly. That said, this does need fixing.

fredemmott commented 5 years ago

If you're using 4.1, you should have the script in /opt/hhvm/4.1/share/hhvm/install_fastcgi.sh

mgsnell commented 5 years ago

Thanks for the quick reply. As an observation, rather than fixing the instructions to show the script is in  /opt/hhvm/4.1/share/hhvm/install_fastcgi.sh based on your recommendation that "We strongly recommend not using fastcgi, and using the built-in server correctly. That said, this does need fixing." perhaps it would be better to get ride of the reference to fastcgi. Just a thought.

 Since I was following a online tutorial on how to install hhvm and it installed and configured factcgi I didn't realize you don't recommend using it. That being said where can I find instructions on how to "use the built in server correctly", after installation I plan on installing wordpress.

Thank you Marvin Snell

Marvin Snelll On 4/17/2019 8:56:09 AM, Fred Emmott notifications@github.com wrote: Therefore I cannot complete the installation correctly We strongly recommend not using fastcgi, and using the built-in server correctly. That said, this does need fixing. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [https://github.com/hhvm/user-documentation/issues/629#issuecomment-484150907], or mute the thread [https://github.com/notifications/unsubscribe-auth/AvZ5SN22y5G8mcroW6MpNMUak4W562Ohks5vh0QYgaJpZM4c0OrS].

fredemmott commented 5 years ago

hhvm -m server -p someport

I plan on installing wordpress.

HHVM 4 does not support PHP code, and support for 3.30 ends in November; you probably don't want to set up a new Wordpress environment with HHVM, and to look at PHP7 instead.