WebServer - PHP ?

Post Reply
nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

WebServer - PHP ?

Post by nicolas » Sat Feb 12, 2011 4:14 pm

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

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: WebServer - PHP ?

Post by nicolas » Tue Apr 05, 2011 9:11 pm

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.

ajin
Posts: 1
Joined: Tue Dec 21, 2010 2:01 am

Re: WebServer - PHP ?

Post by ajin » Mon Aug 15, 2011 8:41 am

Hi,
I would be interested in the details. Lamp control server with SSH. thanks Ajin

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: WebServer - PHP ?

Post by nicolas » Mon Aug 15, 2011 9:22 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest