I realize this is an older question, but I just muddled through the process, so here's what I did to upgrade server2go to PHP 5.4.x:
- Download a Thread-Safe version of PHP that includes the dll php5apache2_2.dll. This file is the only one that will work with Server2Go's Apache version 2.2.15 (Win32). As of the time of writing this, the highest I could upgrade to was PHP 5.4 (5.4.32).
http://windows.php.net/download/
In the \server2go\server\ directory, rename the "php" directory "OLD_php".
Extract the downloaded ZIP folder into \server2go\server\ and rename it "php".
Copy the file libmysql.dll from \server2go\server\OLD_php\ to \server2go\server\php\ to enable the mysql library used by server2go.
In the \server2go\server\config_tpl\ directory, make a copy of the php.ini file as a backup and rename it OLD_php.ini, edit the php.ini file and add the following line to the "Dynamic Extensions" section to enable the mysql library used by phpMyAdmin:
extension=php_mysql.dll
- Launch server2go.
If you ever want to run the older version of PHP again, simply rename the files/directories:
- \server2go\server\php\ to \server2go\server\NEW_php\
- \server2go\server\OLD_php\ to **\server2go\server\php\
- \server2go\server\config_tpl\php.ini file to \server2go\server\config_tpl\NEW_php.ini
- \server2go\server\config_tpl\OLD_php.ini to \server2go\server\config_tpl\php.ini