Hi
I want to run webserver on xp1000 .I want to put webpage in box which i want to access outside.
Anybody tell me how i can install apache and php in openpli 4.0.?
or where to download install .?
Thanks
soon reply
Posted 14 August 2014 - 19:37
Built-in webserver?
(Did you actually ever try http://xp1000 ?)
Edited by MiLo, 14 August 2014 - 19:38.
Posted 14 August 2014 - 20:13
I wonder if the box has enough power for that. The Apache/PHP combo is quite memory and CPU hungry (better use lighttpd or nginx instead of apache).
But isn't it better to use python and the existing webserver?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 15 August 2014 - 11:56
I think the same answer applies, you will probably have to compile it yourself.
But, as I already said before, the box already runs a webserver, so why add a second one?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 15 August 2014 - 12:18
You'll need our develop environment for that.
Instead of php you can use python and twisted, which is a python web framework. Twisted is available from the feed (opkg install python-twisted).
You'll find some twisted examples over here: http://twistedmatrix...n-60/index.html
I've just tested the second example which generates an html page with the current time. This works without any trouble.
If python and twisted are useful for you depends on what you want. Do you want to put some homemade webpages online? Or do you expect to be able install the latest and greatest php cms?
Edited by Sjaaky, 15 August 2014 - 12:20.
Posted 27 August 2014 - 19:56
Hi
I found php and compile instruction. ( http://www.web-tech-...ing_php_apache/ )
But i dont know how compile for Openpli 4.0
Can Someone tell me step by step how i can compile php and apahe with all modules.
Thanks
Posted 19 September 2014 - 19:01
Hi Milo
Thanks for your reply i compile image can you tell me more how i put in package list here is link for php source. ( http://fr2.php.net/downloads.php )
I want to download latest php source and compile for openpli.
Thanks
Posted 20 September 2014 - 12:34
Hi
I doing like this
MACHINE=xp1000 bitbake openpli-enigma2-feed
where i put php source files .?
in build directory.?
i followng this instructions (http://users.telenet...npliubuntu.html ) but i not found package list location.
Thanks
Edited by bable, 20 September 2014 - 12:38.
Posted 22 September 2014 - 11:27
and did you (correctly) set the build environment already?
did you succeed in compiling a regular openpli image?
to just build requested packages:
cd ~/openpli-oe-core/build
source env.source
MACHINE=xp1000 bitbake php
MACHINE=xp1000 bitbake lighttpd
or
MACHINE=xp1000 bitbake nginx
(*for nginx, you need to add meta-webbrowser layer to the Makefile first)
and if you'd like to add any package to your custom image (or a local feed), the easiest option is to take a look into meta-local/recipes-local/images/my-image.bb
recipe and adjust it according to your needs... (and then: MACHINE=xp1000 bitbake my-image)
Posted 22 September 2014 - 12:18
Hi
Yes i successfully make normal package.
i download php from this site ( http://fr2.php.net/g...z/from/a/mirror )
I extract files in folder and call to like this
cd ~/openpli-oe-core/build
source env.source
MACHINE=xp1000 bitbake php-5.6.0
?
If i want to enable any options in php configure file first i enable then compile as you say.?
Thanks for your reply..
Posted 22 September 2014 - 12:39
Our build system works with recipes . A recipe contains all the ingredients and steps to build a package automatically. A recipe is specified in a .bb file.
Our current build system contains recipes for php 5.4.14, modphp 5.5.15 and apache 2.4.10. No need to download the source yourself.
These recipes are in the meta-openembedded/meta-webserver directory. This directory needs to be added to build/conf/bblayers.conf (through the Makefile, like blzr mentions) so bitbake will find those recipes.
If you want to use a newer version of php or apache, copy the recipe, change the version number and change SRC_URI[md5sum] and SRC_URI[sha256sum].
If you want to change the configuration, check the EXTRA_OECONF in the recipe files.
Edited by Sjaaky, 22 September 2014 - 12:39.
Posted 22 September 2014 - 13:33
Hi
Your php version ( php_5.4.14.bb ) ok for me.
But i following your instructions i getting this error.
------------------------------------------
-------------------------------------------
can you send me your php .bb file which working for you.
Thanks
soon reply
What is hosting OpenWEbif and some torrent web UIS ?Started by picarica, 26 Jul 2022 hosting, web ui, apache, httpd |
|
|||
Tempest EPG GeneratorStarted by kvanc_tempest, 16 May 2022 xmltv, epg, php, gui, generator |
|
0 members, 0 guests, 0 anonymous users