Page 1 of 1

WebServer - PHP ?

Posted: Sat Feb 12, 2011 4:14 pm
by nicolas
Been trying to get a new project going and been doing alot of research.
Essentially I want to get a small web server running on the mini2440, ideally with PHP support to make it easy to develop the interface.

The linux images have built in "Boa" but this is too lightweight for what I need.
Ive read some brief info on AppWeb.
Ive thought of getting a distro running and then compiling apache/php for it, but that probably wont work.

Anyone had success getting a decent web server running on the mini2440 ?

Last resort will be to write (or find) a small web server.
Ive done this in the past, but then I wont have PHP or a simple programming language for the output

Re: WebServer - PHP ?

Posted: Tue Apr 05, 2011 9:11 pm
by nicolas
After lots of reading, trial and error, and work, I got PHP compiling and working.
I have it running under AppWeb (but TinyHTTP should also work)

It is currently single-threaded, as I cannot get the arm toolchain's posix pthread library to be seen by the compiler process.
I have sqlite, curl, and several other of the php extensions working.

With the use of the exec() I have been able to control the IO and other.

Ill try and post more info if people are interested.

Re: WebServer - PHP ?

Posted: Mon Aug 15, 2011 8:41 am
by ajin
Hi,
I would be interested in the details. Lamp control server with SSH. thanks Ajin

Re: WebServer - PHP ?

Posted: Mon Aug 15, 2011 9:22 pm
by nicolas
I just havent had time to finish this project or write any docs.

Essentially i got it as far as a single threaded AppWeb + PHP. NO MYSQL.
If you do some googling into AppWeb you will find lots of info on compiling it for other architechtures.

Essentially, setup your linux to compile binaries for the s3c2440.
Then compile PHP for it, and then compile AppWeb to use the php.