Nothing to select in installation field "Database Driver"

I’m trying to install OJS3.4 locally. When I run the server, I see the expected registration page. However, I cannot complete the form. The form’s field “Database Driver” is not selectable. There are no options. The pulldown is simply empty.

Here’s a view of that:

I’m not exactly sure how to proceed. A previous post encountered an error with database drivers, but at least they could see an option and receive a helpful error message. My error message is this:

I have PostgreSQL 9+ and I can see that it’s active and awaiting connection.

Did I install in the wrong order as in the linked post? Happy to have advice about where to turn next.

Hi @dwm

This is probably because your PHP service is missing the required postgres driver. Having the database server is one part, but PHP also needs the module enabled in order to connect to it.

If you create a PHP page with this single line of code:

<?php phpinfo(); ?>

You’ll see what is available.

Best
Jason

Thanks, Jason. Appreciate the point in the right direction.

For me it looks like php-psql wasn’t available for all my versions of php. I re-installed it for each one and then everything was fixed.

1 Like