[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community :: View topic - Carambola 2 and PHP
8devices Community
https://www.8devices.com/community/

Carambola 2 and PHP
https://www.8devices.com/community/viewtopic.php?f=13&t=425
Page 1 of 1

Author:  nikb [ 11 Jun 2013, 21:55 ]
Post subject:  Carambola 2 and PHP

Hi guys!

I'm trying to figure out what the reason is that PHP is not in the package repository for carambola2.
Is it because the ram is too small at 64MB to run PHP, or has just nobody built the package for openwrt/mips yet?

Don't get me wrong, I'm not too lazy to build the package myself, it's just that I haven't got a Carambola2
at home yet to try it myself.

Nik

Author:  Felicitus [ 12 Jun 2013, 01:06 ]
Post subject:  Re: Carambola 2 and PHP

My carambola2 should receive in a few days; as I'm using php-cli to process and upload data, I definitely need php - if it really isn't in the repository, I'll build a package for it. If I don't reply with experiences in about one week, poke me.

Author:  adamheinrich [ 12 Jun 2013, 17:43 ]
Post subject:  Re: Carambola 2 and PHP


Author:  nikb [ 14 Jun 2013, 00:23 ]
Post subject:  Re: Carambola 2 and PHP

Thanks Adam!

Since I'm a complete Linux noob, it doesn't help me much unfortunately. (I don't have an aversion against learning though,
I've been googling for literally hours today and can't really get started with my Carambola2)

Author:  adamheinrich [ 16 Jun 2013, 06:35 ]
Post subject:  Re: Carambola 2 and PHP

What exactly do you have problem with? I am also just linux user :-)

There's a tutorial on firmware building at the Carambola wiki, it works perfectly for Carambola2 too..

Author:  nikb [ 16 Jun 2013, 14:44 ]
Post subject:  Re: Carambola 2 and PHP

Well, it seems that on my machine the suggested setup on the carambola wiki didn't work.
As explained there, I tried virtual box and Xubunto which unfortunately failed twice,
so then I tried it on mac os x(getting all the packages from port , instead of with apt-get), which then also failed to compile.

As a last resort I tried Virtual Box + Ubuntu (not xubuntu) and I now finally succeeded in building openwrt! :D
I still have troubles integrating mysql, but I hope I can figure that one out today as well :-)

BTW: for anybody who runs into trouble developing on a mac, here's what i did to finally make it work::

Mac os X 10.8.3 + Virtual box + Ubuntu 32 bit version

Then i got required packages as explained on http://wiki.openwrt.org/doc/howto/buildroot.exigence (depends on OS version used in virtualbox)
PLUS the packages named on the carambola wiki under http://8devices.com/wiki_carambola/doku ... e_to_start

git clone https://github.com/8devices/carambola2 carambola2
cd carambola2

./scripts/feeds update -a
./scripts/feeds install -a

(install -a was apparently important - before I always only tried to install the pkgs that I really needed, which never worked)

make menuconfig

(-->select luci and the other required packages)

make

(wait 5 hours)

--> done

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/