如何安装和使Wordpress和Siberian CMS并排运行在同一台Ubuntu 16.04机器上?

时间:2018-06-03 17:58:13

标签: php wordpress apache .htaccess siberiancms

我使用apache2服务器在我的Ubuntu 16.04上安装了Wordpress。我下载了Siberian CMS并将其 index.php 复制到 / var / www / html / 目录,并将之前的index.php(属于wordpress)重命名为 WP-的index.php 即可。然后我在浏览器上打开了localhost。它开始下载/ var / www / html /目录中的一些文件。完成后,我开始此页面无效 localhost目前无法处理此请求。 我的浏览器上的HTTP ERROR 500 。我做了一些谷歌搜索并尝试了一些步骤,比如在 php.ini 中设置 display_errors = On ,并将 htaccess.txt 重命名为。 htaccess 并从/ var / www / html /目录中删除.htaccess(我在删除前制作了本地副本)并使用 sudo service apache2 restart,sudo systemctl restart apache2,sudo systemctl等命令重新启动apache服务器重启apache2.service,sudo systemctl重启mysql.service ,但仍然无效。

我不知道搞砸了什么。我检查了日志

sudo cat /var/log/apache2/error.log
[Sun Jun 03 14:44:07.669358 2018] [mpm_prefork:notice] [pid 1735] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 14:44:07.669381 2018] [core:notice] [pid 1735] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 18:04:44.799296 2018] [mpm_prefork:notice] [pid 1735] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 18:05:59.682233 2018] [mpm_prefork:notice] [pid 1682] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 18:05:59.708795 2018] [core:notice] [pid 1682] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 19:39:04.359708 2018] [mpm_prefork:notice] [pid 1682] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 19:40:22.749669 2018] [mpm_prefork:notice] [pid 1676] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 19:40:22.776157 2018] [core:notice] [pid 1676] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 19:43:13.105465 2018] [mpm_prefork:notice] [pid 1676] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 19:44:30.514239 2018] [mpm_prefork:notice] [pid 1691] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 19:44:30.548366 2018] [core:notice] [pid 1691] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 19:48:41.685456 2018] [mpm_prefork:notice] [pid 1691] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 19:49:59.836397 2018] [mpm_prefork:notice] [pid 1678] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 19:49:59.883352 2018] [core:notice] [pid 1678] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 21:16:28.352899 2018] [mpm_prefork:notice] [pid 1678] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 21:16:29.492019 2018] [mpm_prefork:notice] [pid 7818] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 21:16:29.492079 2018] [core:notice] [pid 7818] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 21:40:54.404366 2018] [mpm_prefork:notice] [pid 7818] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 21:40:55.545832 2018] [mpm_prefork:notice] [pid 9267] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 21:40:55.545893 2018] [core:notice] [pid 9267] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 21:41:37.931206 2018] [mpm_prefork:notice] [pid 9267] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 21:41:39.070986 2018] [mpm_prefork:notice] [pid 9411] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 21:41:39.071033 2018] [core:notice] [pid 9411] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:33:45.461322 2018] [mpm_prefork:notice] [pid 9411] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:33:46.607063 2018] [mpm_prefork:notice] [pid 11891] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:33:46.607122 2018] [core:notice] [pid 11891] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:34:18.285809 2018] [mpm_prefork:notice] [pid 11891] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:34:19.411161 2018] [mpm_prefork:notice] [pid 11977] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:34:19.411209 2018] [core:notice] [pid 11977] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:36:47.835358 2018] [mpm_prefork:notice] [pid 11977] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:36:48.972198 2018] [mpm_prefork:notice] [pid 12332] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:36:48.972250 2018] [core:notice] [pid 12332] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:46:21.812195 2018] [mpm_prefork:notice] [pid 12332] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:46:22.945520 2018] [mpm_prefork:notice] [pid 13076] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:46:22.945567 2018] [core:notice] [pid 13076] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:46:41.331438 2018] [mpm_prefork:notice] [pid 13076] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:46:42.465593 2018] [mpm_prefork:notice] [pid 13184] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:46:42.465638 2018] [core:notice] [pid 13184] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:47:55.441820 2018] [mpm_prefork:notice] [pid 13184] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:47:56.593860 2018] [mpm_prefork:notice] [pid 13445] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:47:56.593922 2018] [core:notice] [pid 13445] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:48:04.677296 2018] [mpm_prefork:notice] [pid 13445] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:48:05.798221 2018] [mpm_prefork:notice] [pid 13511] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:48:05.798275 2018] [core:notice] [pid 13511] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:55:58.169560 2018] [mpm_prefork:notice] [pid 13511] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:55:59.308512 2018] [mpm_prefork:notice] [pid 14138] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:55:59.308572 2018] [core:notice] [pid 14138] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:56:18.197226 2018] [mpm_prefork:notice] [pid 14138] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:56:19.326941 2018] [mpm_prefork:notice] [pid 14209] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:56:19.327021 2018] [core:notice] [pid 14209] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 03 22:56:31.839901 2018] [mpm_prefork:notice] [pid 14209] AH00169: caught SIGTERM, shutting down
[Sun Jun 03 22:56:32.966538 2018] [mpm_prefork:notice] [pid 14277] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jun 03 22:56:32.966603 2018] [core:notice] [pid 14277] AH00094: Command line: '/usr/sbin/apache2'

有人可以说出了什么问题吗?

0 个答案:

没有答案