Jump to content
The Uniform Server Community

Uniserver cannot find php_gpsql.dll nor php_pdo_pgsql.dll


jkurrle
 Share

Recommended Posts

I am on Uniform Server 11.1.15. I have PHP versions 5.3 and 5.4 loaded and switch between them, but normally use PHP version 5.3. I try to enable the php_pgsql and php_pdo_pgsql extensions, but when I start Apache, I get the following errors:

 

PHP Startup: Unable to load dynamic library 'C:/Users/John/Desktop/UniServerZ/core/php53/extensions\php_pdo_pgsql.dll' - The specified module could not be found.

PHP Startup: Unable to load dynamic library 'C:/Users/John/Desktop/UniServerZ/core/php53/extensions\php_pgsql.dll' - The specified module could not be found.

 

I checked the physical directory where the error message is referring to and the modules are, in fact, there. Can anyone give me an idea of how to get Uniserver to activate them?

 

Link to comment
Share on other sites

In all older versions of PHP libpq.dll is missing.

Download the latest module version as appropriate:

ZeroXI_php_5_3_28b.exe

ZeroXI_php_5_4_28a.exe

ZeroXI_php_5_5_12a.exe

ZeroXI_php_5_6_0_beta2.exe

 

To enable php_pdo_pgsql.dll and php_pgsql.dl use one of the following methods:

 

From UniController:

Select the PHP version

Select the configuration file

Select “Edit Basic and Modules” from this select “PHP modules Enable/Disable”

In the pop-up menu click pgsql.dll and php_pgsql

 

Alternatively manually edit configuration files:

For each PHP version edit the following configuration files:

\core\php5*\php_development.ini

\core\php5*\php_production.ini

\core\php5*\php_test.ini

 

Locate these lines:

;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll

Change to:

extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll

Restart servers.

 

All the best

Ric

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...