DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th May 2014
pwalker pwalker is offline
New User
 
Join Date: May 2014
Posts: 2
Thanked 0 Times in 0 Posts
Default PHP PDO-DB Driver Issue

I've been attempting to add the driver into my existing PHP installation so I can avoid mysqli going forward.

The package installed without trouble and I know where the so file is but PHP can't seem to find it. phpinfo() dump shows the driver isn't running.

First thing I did was go to the PHP.net website and look at the installation page there for PDO. Wasn't helpful at all, and it even says to make sure the PDO driver is loaded after the extention=pdo.so line ... but there is no line in the php.ini file at all.

Next I do a php -m.

First line is a warning saying it was unable to load a DLL file and confirms that only the pdo_sqlite is installed.

So far as I know, everything is where it's supposed to be...

Do I *really* have to rebuild the entire PHP system?
Reply With Quote
  #2   (View Single Post)  
Old 7th May 2014
pwalker pwalker is offline
New User
 
Join Date: May 2014
Posts: 2
Thanked 0 Times in 0 Posts
Default

Seems the key to my issue were the three letters "DLL". I also had to put in a full path in. Think it didn't like symbolic links.
Reply With Quote
Reply

Tags
driver, pdo, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 5.4 Nvidia Driver Issue and KDE Desktop disappearing text. stan98765 OpenBSD Installation and Upgrading 34 6th December 2013 12:05 PM
Issues with cas* driver Simba7 OpenBSD General 7 25th May 2012 01:59 AM
VMT driver (VMware Tools driver) on OpenBSD 4.8 xinform3n OpenBSD General 7 9th December 2010 10:48 PM
msk(4) Driver indienick FreeBSD General 4 4th May 2009 04:51 PM
FreeBSD 7.0 and the nfe driver map7 FreeBSD General 2 17th October 2008 04:44 AM


All times are GMT. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick