OCS 500error before any installation

I search previous Q&As and not find my solution.
centos7 + apache24 + php7 + 5.5.52MariaDB / and also MacOS + php7 +apache24 + mysqlnd 5.0.12
HTTP ERROR 500 when accessing OCS root path. But OJS and OMP successfully lead to installation.

I confirm that config.ini.php exists, file(folder) ownership is proper and set permission 777 to cache folder.

—The following is error log fro httpd, although I am not sure if it will be helpful. Error_log file from virtualhost setting shows nothing.
[Wed Jul 26 00:09:46.765891 2017] [suexec:notice] [pid 22382] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localdomain. Set the ‘ServerName’ directive globally to suppress this message
[Wed Jul 26 00:09:46.803850 2017] [auth_digest:notice] [pid 22382] AH01757: generating secret for digest authentication …
[Wed Jul 26 00:09:46.804906 2017] [lbmethod_heartbeat:notice] [pid 22382] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 26 00:09:47.468022 2017] [mpm_prefork:notice] [pid 22382] AH00163: Apache/2.4.6 (CentOS) configured – resuming normal operations
[Wed Jul 26 00:09:47.468095 2017] [core:notice] [pid 22382] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Wed Jul 26 00:10:54.099941 2017] [mpm_prefork:notice] [pid 22382] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Jul 26 00:10:55.158168 2017] [suexec:notice] [pid 22448] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localdomain. Set the ‘ServerName’ directive globally to suppress this message
[Wed Jul 26 00:10:55.173486 2017] [auth_digest:notice] [pid 22448] AH01757: generating secret for digest authentication …
[Wed Jul 26 00:10:55.173910 2017] [lbmethod_heartbeat:notice] [pid 22448] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 26 00:10:55.199063 2017] [mpm_prefork:notice] [pid 22448] AH00163: Apache/2.4.6 (CentOS) configured – resuming normal operations
[Wed Jul 26 00:10:55.199077 2017] [core:notice] [pid 22448] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’

I try the same OCS packages on CentOS6.8+php5.6+httpd2.2.2.15+MariaDB 10.0.31 success. This should be compatibility issue, isn’t it? I still like to know if OCS can run on latest php.

Hi @shawnhy,

OCS 2.x currently does not run with PHP7.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you so much, asmecher. I think it will be great if this information is mentioned in pkp ocs page.

Hi @shawnhy,

Agreed, I’ve added a note.

Regards,
Alec Smecher
Public Knowledge Project Team