You are here
Submitted by jgab on Tue, 2009/09/01 - 18:02
Hi, I would like to install PIWIK (Piwik is an open source alternative to Google Analytics) on the LAMP appliance.
One of the Piwik requirements is to have installed the PHP extensions pdo and pdo_mysql.
How can I install them on the LAMP appliance?
Thanks for your help!
Forum:
What I found Googling for "Ubuntu pdo pdo_mysql"
This doesn't work all the time...
In my debian, fail to compile.
So, sudo apt-get install php-mysql or something like that and bingo, of course, after php5-dev i think.
Most instructions on TurnKey site assume you are root
Also FWIW this thread is quite old, so may not still be 100% relevant.
You might also need...
Does not work in Ubuntu 10.04
The PDO drivers are now part of the core instead of PECL.
How can PDO and PDO_MYSQL be configured?
I'm not sure
But from a quick google it seems they are a default part of php (since v5.1 - TKL v11.x has v5.3). I would assume that it is enabled by default, but if not then I imagine you just need to add it to the php.ini file (see Alon's post above).
helped me
Thanks it saved me
Thanks
Thanks
OMG Thanks!
OMG, thanks! You just saved my life!
Im getting error on Ubuntu 12.04
When I tried as mentioned above im getting the following error
Both these two commands were giving error
/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_hash_methods':
/tmp/pear/temp/PDO/pdo_dbh.c:1122:24: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/tmp/pear/temp/PDO/pdo_dbh.c:1126:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
make: *** [pdo_dbh.lo] Error 1
ERROR: `make' failed
Pls Help Im very new on LINUX
Probably best to ask on Ubuntu forums
Turnkey is now based on Debian and whilst they are close, they're not the same... You may get lucky, but I doubt you'll get an answer here... Sorry
not loging codigniter project
load the loging page, but cant loging in codeigniter in linux mint
So you're running the TurnKey CodeIgniter appliance in VBox?
Or similar? Probably best to start a new thread as it's not really relevant here...
Also please provide a few more details about your setup, e.g. clarify that you are running in VirtualBox, if not what? What image (e.g. ISO or VMDK)?
If you didn't mean the TurnKey Linux CodeIgniter appliance then you're in the wrong place... This is the TurnKey Linux forums...
Help me out
Need to install pdo_mysql driver for php 5.4.30 version
PDO fixed by a single package
Im on a new Ubuntu 12 server install and getting same problem.
I've solved it by: apt-get install php-mysql
thanks
greate thank U
MS SQL SERVER EXTENSION
How do i installl the Microsoft SQL Server Extension to use it with PHP?
I'm on Linux Ubuntu
On NGINX PHP FastCGI
how to install pdo_sqlsrv extension on nginx php fastcgi?
TurnKey is based on Debian (v16.x = Debian 10/Buster)
FYI TurnKey is based on Debian (v16.x based on Debian 10/Buster), so I googled "install mssql php debian 10" and I found a post in the Microsoft docs and what appears to be exactly the same thing on Microsoft's GitHub.
Please note that TurnKey Nginx-PHP-FastCGI has PHP 7.3 pre-installed (from the official Debian repositories). Unless you explicitly need a newer version of PHP you are strongly advised to stick with the version provided by Debian.
Also, it's generally considered poor forum etiquette to "necro-post" (i.e. post on really old threads). As a general rule, it's best to start your own thread.
Add new comment