Hy all, I want to ask about the installation process with the OCS in Centos web server Ngix. In the documentation mentioned https://pkp.sfu.ca/ocs/README indeed if it is recommended to use Apache> = 1.3.2x or> = 2.0.4x or Microsoft IIS 6. The question I did allow OCS to be installed on nginx web server because in my experiments after I called ocs via a web browser results in just a white screen only. thanks and sorry if my english is bad.
I don’t have specific experience with OCS on Nginx, but I suspect it’ll work OK. The problem you’re encountering is probably with PATH_INFO URLs. You may need to tweak your Nginx settings to allow these. Alternately, you could try turning on
config.inc.php, but I don’t recommend using OCS in this configuration – it’ll make your URLs considerably uglier, and cause certain parts of OCS e.g. the OAI interface to run out of specification.
Public Knowledge Project Team
Check that you can serve PHP from the public_html directory.
Make a simple php file called test.php:
<html> <body> <?php echo '<p>This is a PHP script.</p>'; ?> </body> </html>
Check that that URL displays “This is a PHP script.”