If you’d like to work on your favorite PHP apps on your S60 phones, here’s PAMP – Personal Apache, MySQL and PHP. This is implemented on the Symbian OS using Open C, which is a set of industry-standard POSIX and middleware C libraries for S60.
To install PAMP on your S60 mobile, you’ll have to make sure that your’s is a S60 3rd Edition device with 128MB RAM. Running MySQL itself requires 64MB. The Documentation over at Nokia’s opensource wiki states that this has officially been tested only on the N95 and E61i devices, but should work on any S60 3rd Edition device with 128MB RAM.
For instructions on how to install and setup PAMP on your mobile, head over to dev.mobi’s article which shows you how to install and get PAMP running on your Mobile and also how to make your mobile server accessible over wifi and the internet using Raccoon Gateway.