example debian packaging of a resulting hiphop php hello world application
C++ Elixir C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
php
sys
CMakeLists.txt
Makefile
README
cmake_install.cmake
install_manifest.txt
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