PAMP:PHP Packages
From OpenSource
Functionality wise PAMP is fairly complete. For instance, every single one of the 2007 Open Source CMS Award Best PHP CMS Finalists has successfully been installed and tried out on top of PAMP. However, some minor tweaking may be needed, typically not of the component itself, but of php.ini or .htaccess.
Contents |
General Instructions
Localhost
Unfortunately, currently on Symbian localhost is not exactly the same thing as 127.0.0.1. Consequently, make sure to use the latter alternative when specifying the location of MySQL.
Package Installation
There are basically three alternatives for getting a PHP package to the phone.
- PC-Suite
- Unzip the package on some local directory on your laptop. Then simply drag the directory to its correct location in Nokia Phone Browser. Since it's more convenient to edit files on the PC than on the phone, make any changes you are aware of before dragging the files to the phone.
- NOTE Apparently there's a bug in PC-Suite that prevents you from copying files whose names begin with a dot, such as .htaccess. Before copying, rename all .htaccess files to _htaccess. They don't need to be renamed back on the phone as Apache is configured to accept both .htaccess and _htaccess files as access files.
- USB
- Connect your phone with a USB cable to the PC and choose Data transfer mode and wait until the memory card appears as a drive. Then either unzip the package directly there or copy it from somewhere.
- Memory Card Fiddling
- Remove the memory card from the phone and insert it into a card reader attached to your PC and wait until the card appears as a drive. Then either unzip the package directly onto the card or copy the unzipped package from some other location.
File Permissions
The installation instructions of many CMSs instruct you to change the file permissions of different files. As files do not have permissions on Symbian, simply ignore those steps.
Address
If you access your phone directly using the WLAN IP-address, then - depending on the PHP package you use - you may be in for problems later, if the IP-address happens to change.
Namely, at least some CMSs seem to store at installation time the initial address and later use it even if the actual address has changed, with obvious problems as the result.
To work around that, you may want to add an appropriate entry to /etc/hosts so that you can access your phone using a domain name also when accessing directly over WLAN.
E-mail Account
Some CMSs want to send email during the installation phase. Check here for how to configure that.
Packages
Here follows more detailed instructions for particular PHP packages.
- If you find errors, please correct.
- If you give a new package a shot, please add instructions.
