- Top >
OS/Software update information for Device
Server Specification
Change Date
March 16th 2020 (Mon) 10:00am
Major Changes
- Same contents for CNS personal Web server and Shared workspace Web server.
- There is no change in place of directory (Folder) that saves contents.
Category | Current Server (Until March 2020) | New Server (From March 2020) |
---|---|---|
OS | Ubuntu 14.04 LTS | Ubuntu 18.04 LTS |
HTTP Server | Apache httpd 2.4.7 | Apache httpd 2.4.29 |
PHP | 5.5.9 + suPHP | 7.2 + suPHP |
Perl | 5.18.2 | 5.26.1 |
Ruby | 1.9.3p484 | 2.5.1p57 |
Python 2 | 2.7.6 | 2.7.15 |
Python 3 | 3.4.3 | 3.6.8 |
gcc | 4.8.2 | 7.4.0 |
libc6 | 2.19 | 2.27 |
PostgreSQL client | 9.3.4 | 10.1 |
MySQL client | 5.5.37 | 5.7.27 |
PHP Operation Specification
- PHP version is updated. No change in operation specification.
- CNS personal Web server
Category | Current Server (Until March,2020) | New Server (From March 2020) |
---|---|---|
PHP version | 5.5 | 7.2 |
PHP operating mode | CGI + suPHP | No change |
PHP executing user | PHP script file owner | No change |
PHP script file owner | User has to be the owner | No change |
PHP script file protection mode | Confirm files that there’s no write permission of group and other | No change |
PHP Protection mode of directory existing PHP script files | Confirm directory that there’s no write permission of group and other | No change |
- CNS shared workspace Web server
Category | Current Server (Until March,2020) | New Server (From March 2020) |
---|---|---|
PHP version | 5.5 | 7.2 |
PHP operating mode | CGI + suPHP | No change |
PHP user executing | PHP script file owner | No change |
PHP script file owner confirmation | User has to be the owner | No change |
PHP script file protection mode | Confirm files that there’s no write permission of group and other | No change |
PHP Protection mode of directory existing PHP script files | Confirm directory that there’s no write permission of group and other | No change |
Test operation Web server
- Specification of test operation server may change or stop service temporarily without prior notice.
- Note that programs and contents developed or tested the operation with webedit-test.sfc.keio.ac.jp may not work with current Web server.
- URL of Web server test operation for CNS personal website is as follows. You can confirm the operation with new server by accessing the following URL.
(For HTTP) http://web.sfc.keio.ac.jp:10080/~loginname/ (For HTTPS) https://web.sfc.keio.ac.jp:10443/~loginname/
- URL of Web server test operation for CNS Shared workspace is as follows. You can confirm the operation with new server by accessing the following URL.
(For HTTPS) https://example.sfc.keio.ac.jp:10443/
- Web access to http://example.sfc.keio.ac.jp/ is redirected to https://example.sfc.keio.ac.jp/ in current server.
In test operation, Web access to http://example.sfc.keio.ac.jp:10080/ is not redirected to https://example.sfc.keio.ac.jp:10443/.
It will be redirected by creating .htaccess file under shared workspace and descripting the followings.
RewriteEngine On RewriteCond %{SERVER_PORT} 10080 RewriteRule ^(.*)$ https://%{SERVER_NAME}:10443%{REQUEST_URI} [R=301,L]
- In current server, as for measures for mixed contents, when web accessed to https://example.sfc.keio.ac.jp/, if web contents include URL of http://example.sfc.keio.ac.jp/, it will be rewritten to https://example.sfc.keio.ac.jp/.
In test operation, this rewriting is not performed if web accessed to https://example.sfc.keio.ac.jp:10443/
Notes and Measure
- Same detail for CMS personal Web server and CNS shared workspace Web server.
PHP
- Due to upgrade of PHP 5.5 to 7.2, some of function has discontinued. Check PHP official website for details.
- Migrating from PHP 5.5.x to PHP 5.6.x: https://www.php.net/manual/en/migration56.php
- Migrating from PHP 5.6.x to PHP 7.0.x: https://www.php.net/manual/en/migration70.php
- Migrating from PHP 7.0.x to PHP 7.1.x: https://www.php.net/manual/en/migration71.php
- Migrating from PHP 7.1.x to PHP 7.2.x: https://www.php.net/manual/en/migration72.php
- Update program code as necessary.
- mysql_connect() which is frequently used function has closed down. Rewrite to mysqli_connect() function as necessary.
Check PHP official website for detail.https://www.php.net/manual/en/function.mysql-connect.php
PukiWiki
- PukiWiki 1.5.0 will not work on new server. Version prior to PukiWiki 1.4.7 will not work on current server.
- For continuous use on new server, update PukiWiki 1.5.0 to 1.5.1 or 1.5.2.
- PukiWiki 1.5.1 and 1.5.2 will both work on current server and new server.
- Update procedure will be released at a later date.
WordPress
- Current server supports up to WordPress 5.1.3
- WordPress 5.1.3 both works on current server and new server.
- When access to WordPress contents with test operation URL, it will be redirect to current server by WordPress specification. Because of this, you may not be able to confirm WordPress operation with new server.
- WordPress has a setting for URL publishing on configuration information. When confirming the WordPress operation with new server, you will be able to reference by doing the procedure below.
- Login to WordPress admin screen with authorized user who can change settings.
- Open [Settings] - [General Settings].
- Rewrite the contents of "WordPress address (URL)" and "website address (URL)" to test operation server information.
Area Protocol Before the change After the change CNS personal Web test operation HTTP http://web.sfc.keio.ac.jp/~z00001tz/wp/ http://web.sfc.keio.ac.jp:10080/~z00001tz/wp/ CNS personal Web test operation HTTPS https://web.sfc.keio.ac.jp/~z00001tz/wp/ https//web.sfc.keio.ac.jp:10443/~z00001tz/wp/ CNS virtual host Web test operation HTTPS https:/example.sfc.keio.ac.jp/wp/ https//example.sfc.keio.ac.jp:10443/wp/ - Save your changes.
- Web access to WordPress content page and check that it has redirected to new server (test operation).
- If not displayed correctly etc., contact to SFC-ITC.
- To restore, undo by the same procedure. We recommend restoring when finished confirming the operation.
- Concluded
Last-Modified: January 21, 2020
The content ends at this position.