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
0
votes
1 answer

Compile C++ Source Generated by HipHop

How can I compile a project converted into C++ with HipHop on a different server (which doesn't have HipHop installed)? I've copied the source over, it look like this: ./ CMakeCache.txt cmake_install.cmake CodeError.js php/ …
Alasdair
  • 13,348
  • 18
  • 82
  • 138
0
votes
1 answer

HipHop PHP -- Passing Arguments to Compiled PHP Executable

I'm trying to understand the HipHop documentation, but it's not very clear. I have a PHP script I want to compile into an executable with HipHop. How do I pass arguments to this PHP executable by command line? And how is this received by the PHP…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
0
votes
2 answers

Linux Command Shortcut Variables

I'm rubbish at Linux, so this is probably an easy question... I want the executable here: /root/hiphop/hiphop-php/src/hphp/hphp To be run when I type: hphp How do I set that?
Alasdair
  • 13,348
  • 18
  • 82
  • 138
0
votes
2 answers

Hiphop for php "can not execute binary file"

The old question is below. The problem was ftp transfer mode wasn't binary. But now i have another issue. Running hiphop compiled file gives following error (The one compiled on another computer). "error while loading shared libraries:…
0
votes
1 answer

Speeding up HipHop compile and link time

After some work, I managed to get HipHop up and running on my server. But as I am learning and debugging the process of moving my code into something that works well with the HipHop transformer, I am finding that I have to recompile it often... Yet…
Nathan P
  • 976
  • 1
  • 7
  • 14
0
votes
2 answers

PHP MVC/ORM Frameworks that are Hyper PHP (HipHop) Ready

Is there a good list of the PHP MVC/ORM Frameworks that will work with Facebook's HipHop?
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
0
votes
1 answer

Simple open-source-CMS working with hiphop php?

Hiphop from Facebook don't like eval() or create_function(). Are there good open source php-CMS which work with hiphop almost out of the box? Drupal is not compatible as far as I know. If possible, are those cms multi-site-enabled (one code base…
simplyTom
  • 54
  • 1
  • 1
  • 6
0
votes
1 answer

Custom libevent is required with HipHop patches

I am trying to install hiphop on my pc but i am having problem with the cmake am receiving this error: CMake Error at CMake/HPHPFindLibs.cmake:65 (message): Custom libevent is required with HipHop patches any idea how to fix that?
Ahmad A Bazadgha
  • 391
  • 2
  • 5
  • 11
0
votes
1 answer

HHVM Repo Authoritative - delete source

I try to get HHVM run in Repo Authoritative mode without php source available. All files are compiled successfully and the server runs. But as soon as the source files are removed the server responds with 404. It seems that HHVM checks if the…
user3804188
  • 130
  • 6
0
votes
2 answers

peformance increase from using PHC or HipHop for mysql queries?

I don't know too much about HipHop or PHC, but i do know that it compiles PHP code into more efficient C++ code, I also know, that most likely i do not need it, but, phpfog, a cloud based php app host, offers the option of using either or, so, my…
mcbeav
  • 11,893
  • 19
  • 54
  • 84
0
votes
2 answers

PHP HipHop vs. PHP FastCGI

I haven't made any thorough analysis of which implementation of PHP is the best and I haven't found anyone either on the Internet. So, If someone out there just can point out some benefits and flaws regarding each language compared to the other,…
einstein
  • 13,389
  • 27
  • 80
  • 110
0
votes
1 answer

Hip hop error log showing syntax errors and deployment process getting stuck on doing hot deployment parallely (allAtATime) via AWS Codedeploy

We tried this POC to deploy code via AWS Code deploy on 20 live servers, which are behind Load balancer. We are having nginx running in front of Hiphop. We tried hot deployment, i.e. deploying while nginx was running. As soon as the deployment…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
0
votes
0 answers

Ignoring false warning thrown by server error logging right after automated deployment

We have setup an automated deployment pipeline on an Nginx server running Hiphop PHP using AWS Code deploy triggered by Jenkins. Currently facing a challenge wherein during the deployment of some core files, the requests to the server get queued,…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
0
votes
1 answer

Rebuild hhvm on Windows

i want rebuild hhvm from source in windows 10(64 bits,type = home). Source : https://github.com/facebook/hhvm/ Link 1 : github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Windows-with-MSVC Link 2 :…
Ahmad
  • 1
  • 3
0
votes
0 answers

Using C++ opcodes inside PHP - HIPHOP model

Can anybody explain about how practically it is possible to implement a coding structure which encapsulates C++ opcodes in php code. I assumes the consumption of memory and cpu are more in the case when executing DML statements in SQL queries having…
Tom
  • 500
  • 3
  • 5
  • 16