November 16, 2007 Hot news: PHP and MySQL coming to S60! Posted by Jukka Eklund at 08:43 AM | Categories: Announcements

php-med-trans-light.gif

Johan Wikman (father of the original Apache port for S60) writes:

I can now reveal that we at the CCNC conference in Las Vegas in January, 2008 will demonstrate and release what we call the PAMP stack.

PAMP stands for Personal Apache, MySQL, PHP, so yes, the full LAMP stack will be made available for S60 smart phones. In addition, there will be PHP extension modules that provide access to the core functionality of the phone. And on top of PAMP you can basically install any LAMP based content management system. For instance, Drupal can be installed off the shelf.

Yes, a fair amount of memory is needed and it's still pretty experimental stuff, but it runs quite nicely on E90.

Source: Mobile Web Server Discussion Board (post #5)

How cool is this?

-Jukka


Permalink |

Comments

I think this could be great for a lot of people.
You can't have a LAMP installed in any portable device (except N800/N810), and there are millions of programmers using this platform to build the web.

PAMP could be evolution for the mobile web, allowing mobile web apps not seen before. You are not just connected, you are reachable, dynamic and with a database (who can stop you?).

After PAMP, I just need wireless virtual-screen glasses connected to my S60, to feel we are already living in the 21st century.

Posted by: Oscar B | November 16, 2007 11:54 AM

Very cool!
But I guess it depends on what S60 and nokia want to do with it. Will I be able to create widgets (widsets) using php that are not confined to the browser?

Posted by: Abhishta Paranjpe | November 17, 2007 07:44 AM

If the Mobile Web Server is used of wide scope, lots of new viruses will be made, then the mobile network will become a dangerous world, just like the internet at the present time.

Posted by: sztime from phpchina.com | November 19, 2007 08:41 AM

I don't see this as a cool thing and the main point was already mentioned: memory. Since the current devices don't have enough memory to run even a couple of applications simultaenously, this will hinder the usability even further.

Another thing is why anyone would want to run MySQL on their phone, e.g. SQLite would be a lot better. But people do the strangest things and I'm too stupid to understand them :P

Posted by: Symbiatch | November 19, 2007 02:06 PM

@sztime: I don't see how Mobile Web Server makes mobile network any more dangerous. Mobile devices are becoming part of the internet, and it can be a dangerous world but the same security principles apply ie. use common sense.

Posted by: Jukka Eklund | November 19, 2007 02:22 PM

@Symbiatch, rest assured if and when these new things are put on end-users hands (it's very early days still) memory issues will be solved. If you have memory problems with current implementations (Raccoon and MWS), let us know the details.

Should we stop researching new things just because we today might not have enough of memory in mainstream devices, I don't think so.

Posted by: Jukka Eklund | November 22, 2007 09:42 PM

Will there be a public beta this year or will it appear after the conference?

I love to play with new things and I love my N95 8GB, Apache, PHP and MySQL, so a beta would be pretty awesome.

Posted by: Andreas Blixt | November 23, 2007 11:02 AM

@Andreas Blixt: You'll have to wait until after the conference. But hey, it's not that far away:)

Posted by: Johan | November 24, 2007 10:51 AM

it is a good idea,but it is a toy

Posted by: pizzro | November 26, 2007 09:03 AM

This is definately a good news that I have been waiting for some time already. Of course it is not a mature technology yet, but it will provide some interesting possibilities for the future.

I had a couple of ideas how to utilize web server + PHP + MySQL about a year ago. The implementation was not possible at that time, but now all the tools are available.

Posted by: TommiK | November 28, 2007 11:22 AM

Hej,

a bit offtopic: Is there actually a web-proxy for S60? Or can the comping s60-lamp be used like this somehow?
My goal is to connect a Ipod-Touch via WLAN to my e61 running a proxy and thus using the UMTS-connection to surf the web with the Ipod-touch. (which only has WLAN and no Bluetooth).

Thanks,
Tobi.

Posted by: Tobi | November 28, 2007 12:27 PM

@Tobi: Not in MWS, but the latest version of Raccoon has all of Apache's proxy modules installed (but not loaded) by default. That is, your scenario - the phone acting as a forward proxy (over 3G) for a device accessing it over WLAN - should be possible in principle. It's not something that has been tried, but the functionality is basically there.

If you give it a shot, please take the discussion over to the board at Forum Nokia.

Johan

Posted by: Johan | November 28, 2007 08:48 PM

@Tobi: I just tried that configuration and the server crashed:) So, there's no point giving it a shot just yet. I'll see if it's something that easily can be fixed.

Johan

Posted by: Johan | November 28, 2007 09:04 PM

Woooohooo!! My PHP skills need not be confined to a single server anymore!! We will need to get access to phone functions as well via some sort of COM like API.

Posted by: PHPDevel | December 21, 2007 11:54 PM

hi. does anyone know will phpmyadmin work or will they need to make changes? does anyone know if this is being done yet? i presume if mysql works and php then it should work automatically?

Posted by: Steven Martin | January 4, 2008 08:20 PM

@Steven: Yes, phpmyadmin does work. But there was some minor configuration file editing thing I had to do, in order to make it work.

I don't recall if this was the case, but a common problem with many PHP packages is that they (correctly) assume that localhost is the same thing as 127.0.0.1, which currently, unfortunately, is not the case on Symbian. As far as I know, this has been fixed and thus is an issue that will go away by itself.

I haven't really used phpmyadmin that much, so I don't know for sure, but I suppose you should also be able to use phpmyadmin on, e.g., your PC and then only access MySQL on your phone over WLAN.

Johan

Posted by: Johan | January 8, 2008 06:33 AM

Technically this will brig more aspects to AMP. Grate.

Posted by: PHP | July 29, 2008 12:02 PM


Post a comment







«Back to previous page