Owncloud Postgresql Could Not Find Driver

Questions: I’m trying to connect with PostgreSQL database through Laravel in order to do a php artisan migrate but doesn’t seem to be directed since it’s reading the database name of MySQL. Here are the commands from database.php: 'connections' => array( 'sqlite' => array( 'driver' => 'sqlite', 'database' => __DIR__.' Be sure to configure the 'default' key in app/config/database.php For postgres, this would be 'default' =>Libro el hombre espiritual pdf. 'postgres', If you are receiving a [PDOException] could not find driver error, check to see if you have the correct PHP extensions installed. You need pdo_pgsql.so and pgsql.so installed and enabled. Instructions on how to do this vary between operating systems.
For Windows, the pgsql extensions should come pre-downloaded with the official PHP distribution. Just edit your php.ini and uncomment the lines extension=pdo_pgsql.so and extension=pgsql.so Also, in php.ini, make sure extension_dir is set to the proper directory. It should be a folder called extensions or ext or similar inside your PHP install directory. Finally, copy libpq.dll from C: wamp bin php php5.* into C: wamp bin apache* bin and restart all services through the WampServer interface.
If you still get the exception, you may need to add the postgres bin directory to your PATH: • System Properties -> Advanced tab -> Environment Variables • In ‘System variables’ group on lower half of window, scroll through and find the PATH entry. • Select it and click Edit • At the end of the existing entry, put the full path to your postgres bin directory. The bin folder should be located in the root of your postgres installation directory. • Restart any open command prompts, or to be certain, restart your computer. This should hopefully resolve any problems. For more information see: • •.
For larger installs you should use MySQL or PostgreSQL. Click on the Advanced options to show the configuration options. If you plan on using the Webfinger app and your ownCloud installation. I’m trying to connect with PostgreSQL database through Laravel in order to do a php artisan migrate but doesn’t seem to be directed since it’s reading the database name of MySQL.
Kdslkdsaldsal, thanks very much for looking at this. However, I would think that if PHP were misconfigured, then phpMyAdmin would also not function. However, phpMyAdmin functions with the same PHP configuration that the ownCloud 10 install failed on. Moreover, phpMyAdmin can access my MySQL database just fine. I don't want to change any configurations on PHP unless this is clearly the cause of my problem. Then again, just maybe said PHP configuration could selectively fail Owncloud 10?

Any help in looking into this would be welcome because I'm a noob on PHP. Thanks, Phil. Hi Again, My problem appears to be similar to that posted in: and from this post I noticed: ######################### I had the same problem concerning what you've cited above: 'exception 'Doctrine DBAL DBALException' with message 'Failed to connect to the database: An exception occured in driver: could not find driver' in /var/www/owncloud/lib/private/db/connection.php:54' I solved it. The problem (in my case) was caused by different php version for 'the command line' and for the serving side via 'apache'. Occ needs to use the same php version. Check the php version at the command line 'php -v' for example PHP7.0.2 check the php version which the serving-side is using via e.g. Creating a info.php with the content: ' this gives as output e.g.
PHP 5.6.17 So the difference is PHP7.0.2 and PHP5.6.17. Btw the occ command is php based also. I solved the problem by installing PHP5.6.17 at the 'command line' side as well so it is the same as at 'serving side'. But we're not there yet in case you have multiple php versions on your system.
If the 'php -v' doesn't give PHP5.6.17 you have to create a new alias for php (assuming the correct version is also stored in the file system, otherwise install it). Locate the correct php version with 'whereis php'. Change the alias to the correct path until the 'php -v' gives the same version as the 'serving side' php version. ############################################ Perhaps my phpMyAdmin installation uses a different version of php than OC or is indicating the wrong version? I think my root cause is similar to other recent posters' issues with Ubuntu 14.04 and OC 9x->10 upgrade. Apparently, this required upgrading PHP from 5.5.9 to 5.6.x and Ubuntu 14.04 uses PHP 5.5.9. So, it appears that I need to upgrade my PHP to at least 5.6.x but I have two questions namely: • will ownCloud 10 work with PHP 7.x?