Server2go与较新版本的PHP [英] Server2go with newer versions of PHP

查看:138
本文介绍了Server2go与较新版本的PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Server2go( http://www.server2go-web.de/)最新下载的文件具有PHP版本5.3.2

Server2go ( http://www.server2go-web.de/ ) latest downloads have PHP version 5.3.2

任何人都可以提供将PHP元素升级到5.4.x和5.5.x的简单说明

Can anyone provide simple instructions for upgrading the PHP element to 5.4.x and 5.5.x

理想情况下,我希望(用于开发测试)两个PHP版本的Server2go.

Ideally I would like (for development testing) Server2go with both versions of PHP.

推荐答案

我意识到这是一个较旧的问题,但是我只是迷惑了整个过程,所以这是我将server2go升级到PHP 5.4.x的工作:

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:

  1. 下载包含dll php5apache2_2.dll的PHP的线程安全版本.该文件是唯一可与Server2Go的Apache 2.2.15版(Win32)一起使用的文件.在撰写本文时,我可以升级到的最高版本是PHP 5.4(5.4.32).
  1. 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/

  1. 在\ server2go \ server \目录中,将"php"目录重命名为"OLD_php".

  1. In the \server2go\server\ directory, rename the "php" directory "OLD_php".

将下载的ZIP文件夹提取到\ server2go \ server \中,并将其重命名为"php".

Extract the downloaded ZIP folder into \server2go\server\ and rename it "php".

将文件libmysql.dll从\ server2go \ server \ OLD_php \复制到\ server2go \ server \ php \以启用server2go使用的mysql库.

Copy the file libmysql.dll from \server2go\server\OLD_php\ to \server2go\server\php\ to enable the mysql library used by server2go.

在\ server2go \ server \ config_tpl \目录中,复制php.ini文件作为备份,并将其重命名为OLD_php.ini,编辑php.ini文件,并将以下行添加到"动态扩展"部分,以启用phpMyAdmin使用的mysql库:

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

  1. 启动server2go.

如果您想再次运行旧版本的PHP,只需重命名文件/目录:

If you ever want to run the older version of PHP again, simply rename the files/directories:

  • \ server2go \ server \ php \到\ server2go \ server \ NEW_php \
  • \ server2go \ server \ OLD_php \到** \ server2go \ server \ php \
  • \ server2go \ server \ config_tpl \ php.ini文件到\ server2go \ server \ config_tpl \ NEW_php.ini
  • \ server2go \ server \ config_tpl \ OLD_php.ini到\ server2go \ server \ config_tpl \ php.ini

这篇关于Server2go与较新版本的PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆