Questions tagged [hiphop]

HipHop for PHP transforms PHP source code into highly optimized C++.

HipHop for PHP transforms PHP source code into highly optimized C++.

115 questions
6
votes
1 answer

Why does HHVM in daemon mode not start automatically after server reboot?

HipHop/HHVM can be run as a daemon (so it starts automatically after rebooting) with sudo /usr/bin/hhvm --mode daemon --config /etc/hhvm/server.hdf When run, it works perfectly (which shows that the configs are okay). But after restarting the…
Sliq
  • 15,937
  • 27
  • 110
  • 143
5
votes
1 answer

apache benchmark on HipHop for PHP

Recently I've done a benchmark on HipHop for PHP with Apache Benchmark (ab). I expected the result HipHop for PHP run faster than normal apache2 web server, but it turned out the other way. I use this script to test the server,
Kiddo
  • 1,167
  • 1
  • 12
  • 23
5
votes
1 answer

How do tools like Hiphop for PHP deal with heterogenous arrays?

I think HipHop for PHP is an interesting tool. It essentially converts PHP code into C++ code. Cross compiling in this manner seems like a great idea, but I have to wonder, how do they overcome the fundamental differences between the two type…
Derek Thurn
  • 14,953
  • 9
  • 42
  • 64
5
votes
3 answers

where can i download Facebook's source code transformer HipHop for PHP

Where can I download HipHop for PHP?
user144767
  • 91
  • 1
  • 3
5
votes
5 answers

Facebook's HipHop - What's it for?

The news in the PHP world today is Facebook's HipHop, which: HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses…
philfreo
  • 41,941
  • 26
  • 128
  • 141
5
votes
2 answers

Using HipHop VM on windows

I just read an article and learned about the HHVM which is built on the lines of JVM for Java. I went ahead and tried searching on the web, but found only articles about installing it on Ubuntu build 12 version. I have been using a WAMP stack and…
coderunner
  • 925
  • 1
  • 18
  • 33
5
votes
2 answers

Can you use HipHop PHP to build a php extension?

Possible Duplicate: Using Hiphop for PHP extension development This question is similar to the following: Using Hiphop for PHP extension development I do not think that question was answered properly, if at all. I am sure you can use HipHop PHP…
5
votes
2 answers

Is it possible to use PECL extensions in HipHop?

I have an application which uses rabbit mq broker and I have consumers written on php and use this extension http://pecl.php.net/package/amqp. I would like to compile these consumers using hiphop but amqp extension is not supported in hiphop. So the…
4
votes
1 answer

Using Hiphop for PHP extension development

Hiphop converts PHP into C++ code, did anyone used it for PHP extension development? I have found following link to write PHP extensions using C++ http://devzone.zend.com/article/4486-Wrapping-C-Classes-in-a-PHP-Extension I want to write some PHP…
SuVeRa
  • 2,784
  • 2
  • 20
  • 27
4
votes
2 answers

Run HipHop PHP in Windows

I need to run HipHop PHP on a Windows based development environment. Im running Windows 7, I know the version located at facebook's repository is built for Linux, however I need to run it on Windows. Some things to consider: I don't want to…
David Conde
  • 4,631
  • 2
  • 35
  • 48
4
votes
3 answers

Porting htaccess rewrite rules to hiphop-php config

I have a CodeIgniter project that requires rewriting rules to navigate controllers/views and the like. I have correctly installed hiphop-php on Ubuntu 12.04 and it works perfectly, including with the sample WordPress installation and rewrite rules…
Michael B
  • 1,743
  • 4
  • 21
  • 35
3
votes
2 answers

Detecting whether the program is run through HipHop or regular CLI/mod_php

I was wondering if anyone has found a way to detect whether a PHP script/program is run through Facebook's HipHop or the "regular" environment (CLI, mod_php, CGI). Currently the workaround I am using is looking for an unimplemented feature (for…
The Mighty Rubber Duck
  • 4,388
  • 5
  • 28
  • 27
3
votes
0 answers

Confuse how to use Repo Authoritative mode on HHVM using Ubuntu 16.04 LTS

I just tried to build some website using hack lang developed by facebook, and found an interesting feature called Repo Authoritative. I had tried to follow the official docs : https://docs.hhvm.com/hhvm/advanced-usage/repo-authoritative But still no…
3
votes
6 answers

Simple Facebook HipHop Performance Question

If I write a hello world app using a PHP web framework such as CodeIgniter and then I compile it and run it using HipHop. Will it run faster than if I write the same hello world app in django or rails?
Peter_o
  • 31
  • 1
  • 2
3
votes
1 answer

Terminate on instance "std::runtime_error" Hiphop-Php

I have successfully built Hiphop-Php on an ubuntu server 12.04 LTS but when I run the command: $HPHP_HOME/src/hphp/hphp test.php This error occurs: terminate called after throwing an instance of 'std::runtime_error' what(): …
boundless08
  • 303
  • 4
  • 17