23.2 php

  • Go to Turn Windows Features On or Off and enable IIS
  • Download PHP from https://windows.php.net/download/
  • Extract the zip file to C:\php
  • Follow the instructions here: https://www.php.net/manual/en/install.windows.manual.php
  • On the first installation, there was a php.ini-development and php.ini-production, but no php.ini. I had to copy one of those to php.ini, otherwise mbstring (required by OJS) wasn’t being recognized.
  • I created test.php in ojs-3.3.0-19 folder that contains only
<?php
phpinfo();
?>

Then I copied http://localhost:8000/test.php into the web browser. THere are a bunch of diagnostics. mbstring used to not appear, and now there is a whole section on it. Yay! - I need to enable extension=pgsql to get postgreSQL drivers to show up on the OJS installation page. - Same with extension=pdo_pgsql