Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

example debian packaging of a resulting hiphop php hello world application

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 debian
Octocat-spinner-32 php
Octocat-spinner-32 sys
Octocat-spinner-32 CMakeLists.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 cmake_install.cmake
Octocat-spinner-32 install_manifest.txt
Octocat-spinner-32 sep_extensions.mk
README
Hello World,

this is an simple skeleton hello world application that is installable with debian.

it was created using my debian packaging of hiphop php,

Unfortunaly my installer of the debian package is not CMakeLists.txt working 100% yet, but the building is, so instead of installing the resulting debian package you use
the build directory. For me it was the  /usr/src/hiphop-php-0.1/
I will be working on fixing that so you use the debian package directly.

The command to generate the code was :
hphp -k1 -t cpp -f exe  --output-dir out  helloword.php

but the cmake was edited by me.

thanks to Remi_Woler  http://www.wolerized.com/ from irc.freenode.net on the #hiphop-php channel.

The Hello World.php source code is :
<?php

echo "hello world!";

?>

I hope this helps anyone trying to deploy a hiphop for php application on debian.

thanks,
mike

Something went wrong with that request. Please try again.