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
1
vote
0 answers

Does HipHop for PHP support intl (Unicode) extension?

I'm considering moving my code on HipHop for PHP, but can't find an answer for the question whether or not HipHop supports intl extension, which is required for my code to process Unicode text. Also, where can I find a list of HipHop's limitations…
Desmond Hume
  • 8,037
  • 14
  • 65
  • 112
1
vote
0 answers

Error in hiphop mysql connection

I am new to hiphop. I have installed hhvm on ubuntu 12.04. installation is complete now and I have started hhvm server and its working fine with php code having no database. But when I am running php application having database connection on hhvm…
1
vote
0 answers

Run hiphop on server

I have installed the hip-hop php on my ubunut server 12.4 now what i want to do is to point a directory to run all my file through hiphop i have tried the command "hhvm my_script.php" it is working fine but i want to run hip-hop in background so…
1
vote
1 answer

hiphop-php compilation error

I am installing hiphop-php. In the final step(complation) i got an error, -- CMAKE_PREFIX_PATH was missing, proceeding anyway -- MySQL Include dir: /usr/include library dir: /usr/lib64/mysql -- MySQL client libraries: mysqlclient_r -- Could NOT…
1
vote
3 answers

HipHop not resolving JSON defined constants

I'm doing an application that uses json. For testeability purposes I made a JsonWrapper: json_errors = array( JSON_ERROR_DEPTH =>…
Tomás
  • 3,501
  • 3
  • 21
  • 38
1
vote
2 answers

Hiphop VM and running against a php file

I'm having trouble running a php file against the hip hop virtual machine. I setup a new Ubuntu 12.04 server, installed according to this guideline, however when trying to following examples from the Running HipHop page, it goes…
onassar
  • 3,313
  • 7
  • 36
  • 58
1
vote
1 answer

compiling PHP using HIPHOP

Can any one here provide me a good tutorial on compiling PHP using HipHop? i saw this link . But i cannot understand the linux commands. I developed the application in windows. I was not able to run those commands in linux $HPHP_HOME/src/hphp/hphp…
Akbar Ali
  • 295
  • 1
  • 6
  • 13
1
vote
1 answer

Error while trying to run the HipHop in "Mode 2(Compiling HipHop in a temporary directory and running the compiled program from the command line)"

I have installed the HipHop and all the dependencies in my VM(Ubuntu 12.04 LTS), no issues faced while setting up the environment. But I am not able to run the HipHop in Mode 2 or 3 or 4 or 5 as specified in the wiki document…
Siva
  • 1,123
  • 2
  • 14
  • 25
1
vote
0 answers

Hiphop PHP: CodeError.js always contains 0 errors

I use Ubuntu 12.04 (64 bit). I have compiled hipHop from the source using this manual: https://github.com/facebook/hiphop-php/wiki/Building-and-installing-HHVM-on-Ubuntu-12.04 hphp runs fine, but I always see my CodeError.js like this: [0,{} ] In…
countTheRow
  • 141
  • 8
1
vote
1 answer

How do source transformers work?

I have been thinking about source transformers like HipHop and Haxe. From their respective websites, I see that these tools converts a source language to target language and then uses the compilers of the target language to produce the final…
codefx
  • 9,872
  • 16
  • 53
  • 81
1
vote
1 answer

Error building libcurl 7.21.2 on Ubuntu 11.10 when installing Hiphop

I'm following this guide to install Hiphop on Ubuntu 11.10: http://societyofcode.com/articles/guide_getting_started_with_hiphop_for_php-01-04-12 When I try command cmake . then i get errors: -- CMAKE_PREFIX_PATH was missing, proceeding anyway --…
dakiquang
  • 684
  • 1
  • 8
  • 24
1
vote
1 answer

Protecting PHP CLI scripts

I'm currently writing a little commercial PHP Script which would be a VPN (PPTP) manager, in command line. Actually, it's a socket server which is waiting for commands like "create", "suspend", "unsuspend", "changepassword"... Then it parses the…
Max13
  • 919
  • 2
  • 9
  • 27
0
votes
1 answer

Using PHP HipHop to create modular helpers

From what I've read about PHP HipHop – it serves the purpose of converting PHP code into C++. The bit I did not understand is how the actual code is later on executed and whether only some elements of code can be HipHop'ed. I have files…
Gajus
  • 69,002
  • 70
  • 275
  • 438
0
votes
2 answers

Compile Wordpress with HipHop

I have a high volume wordpress 3.2 installation. I was considering compiling wordpress in C++ with HipHop, as several resources report a speedup of up to 2.7x times with WordPress 3.0. Anyhow I can't find any tutorial about wordpress 3.2. Anyone…
Mascarpone
  • 2,516
  • 4
  • 25
  • 46
0
votes
1 answer

hiphop for php: Issue running: ...Assertion 'threadCount >= 1' failed

I followed all the steps for installing and building in Ubuntu 11.04, and then when I was about running it: hphp/hphp test.php hphp: home/user/dev/hiphop-php/src/util/job_queue.h:306: HPHP::JobQueueDispatcher::JobQueueDispatcher(int, bool, int,…
1Engels
  • 181
  • 1
  • 1
  • 4