search for: pdo

Displaying 20 results from an estimated 154 matches for "pdo".

Did you mean: do
2009 Aug 04
2
php-pdo
I wish to use PostgreSQL with PHP+PDO. I haven't use PDO before. I have the php-pdo package installed on my CentOS 4.7 server: # rpm -qa |grep pdo php-pdo-5.1.6-3.el4s1.10 Now when I try connect to the PostgeSQL db with this code: <?php print "PDO test<br />"; try { $db = new PDO("pgsql:host=192....
2012 Jun 12
1
[0x721427d8@gmail.com: [php<=5.4.3] Parsing Bug in PHP PDO prepared statements may lead to access violation]
FYI I verified this on a working system. ----- Forwarded message from 0x721427D8 0x721427D8 <0x721427d8@gmail.com> ----- Date: Sun, 10 Jun 2012 15:02:43 +0200 From: 0x721427D8 0x721427D8 <0x721427d8@gmail.com> To: bugtraq@securityfocus.com Subject: [php<=5.4.3] Parsing Bug in PHP PDO prepared statements may lead to access violation [php<=5.4.3] Parsing Bug in PHP PDO prepared statements may lead to access violation Affected Product: ? ? PHP Affected Component: ? PDO - PHP Data Objects Affected Versions: ? ?<=5.4.3 (latest version and trunk) PHP Bug Ref: ? ? ? ? ?#61755...
2015 Oct 30
4
disable ZTS in php
...; '--enable-exif' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-xmlrpc' '--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl' '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath' '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql' '--with-mysqli=/usr/bin/mysql_config' '--enable-zip&...
2015 Oct 30
2
disable ZTS in php
...-exif' '--enable-sockets' > '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' > '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-xmlrpc' > '--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl' > '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath' > '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql' > '--with-mysqli=/usr/bin/mysql_config' ...
2006 Jul 20
1
SQLite with PHP5 problem
...Database class support in CentOS 4.3? I have to run a program with this class for a core feature. But unfortunately, both the php 5.0.4 package in centosplus and a SRPM build from FC5 will not work with this class. With the error "undefined class SQLiteDatabase"! And there *IS* the "pdo_sqlite.so" extension in my php.d/pdo.ini file, as well as the "pdo.so" class. But when I testing the SQLite support with: dl("pdo_sqlite.so"); sqlite_open(xxx); new SQLiteDatabase(xxx); The result is the "dl" line will give out a warning showing that the "p...
2010 Mar 01
1
CentOS 4.8 - PHP Version 5.1.6 and SQLite
I wish to use the SQLite extensions for php but the version I updated to with yum update (see above) was compiled '--without-sqlite'. I could sure use some help getting these extensions enabled. As I am unfamiliar with OOP the references to PDO on the web have been meaningless to me. Furthermore, a trip to the local book store today (Barnes & Noble) revealed no php books that even mention PDO! PHP.net documentation seems to be written as if PDO is the preferred method but I cannot even get a simple query to execute. Alterna...
2009 Jun 29
1
php5 and sqlite
Is there any reason (besides upstream does it) to compile php5 with --without-sqlite in CentOS5 ? Would it conflict with the sqlite that yum needs? Is there a repo (centosplus, rpmforge...) having a php5 and sqlite enabled ? I can only find older mails that seem to imply it does not harm to include sqlite (and some which seem to imply the contrary as well, but without any facts) but I can find
2011 Feb 14
4
Begining with RoR, litle questions
Hello, First, sorry about my english. I come from lamp+symfony world, i understand the MVC design and so on... my questions... 1. Should learn ruby 100% before entering the documentation for RoR? 2. Works with apache as module? 3. What about DB abstraction? something similar to PDO in php? Appreciate a few links in addition to the official. In short, a little guidance of where to start PD: I''m asking before searching extensively because I prefer opinions from people who use it and I think there are not questions too complicated to respond quickly. -- You receive...
2013 Jul 13
0
CentOS-announce Digest, Vol 101, Issue 9
...ysql-5.1.6-40.el5_9.i386.rpm 895834c2ba8a33856ffd95ab9b22d06182c1c18156c516e07f3976d73db13b44 php-ncurses-5.1.6-40.el5_9.i386.rpm 8ead7b3c610001c6aaf53bd4913527b7951ab0756bfff666d113d3391d84d2c0 php-odbc-5.1.6-40.el5_9.i386.rpm 798517a0c112b1e21c1992d7731b198d0e3caa9b4a5a5b34d81f41c10b6a4251 php-pdo-5.1.6-40.el5_9.i386.rpm 4b5f7ab49172c4fcebdd309f9b3322f11f9987f657bd7ef0a29953b165fc1d21 php-pgsql-5.1.6-40.el5_9.i386.rpm 534d509656c49c5567182efec056bb2122dafc20012efbed0663fa4f060bab65 php-snmp-5.1.6-40.el5_9.i386.rpm b3dd8b9adb02e9fa003bea3ad33bfd93020c43547b7618b806b0038e86662e84 php-soap-5...
2020 Nov 07
4
Data Table not rendering properly using R shiny
...ead giving NA values. max_usage_hours_per_region<-setNames(aggregate(df3_machine_region$sum_as_hours~df3_machine_region$Region,df3_machine_region,max),c("Region","Sum_as_Hours")) Region Sum_as_Hours 1 Africa 1156.0833 2 Americas 740.1667 3 APAC 740.2833 4 Europe 1895.2000 5 PDO 1053.3500 6 UK 0.0000 Rshiny code: library(shiny) ui <- fluidPage( selectInput("Region","Select Region",max_usage_hours_per_region$Region,selected = TRUE), tableOutput("table") ) server <- function(input, output) { output$table <- renderTable( max_usage_ho...
2020 Nov 07
4
Data Table not rendering properly using R shiny
...ead giving NA values. max_usage_hours_per_region<-setNames(aggregate(df3_machine_region$sum_as_hours~df3_machine_region$Region,df3_machine_region,max),c("Region","Sum_as_Hours")) Region Sum_as_Hours 1 Africa 1156.0833 2 Americas 740.1667 3 APAC 740.2833 4 Europe 1895.2000 5 PDO 1053.3500 6 UK 0.0000 Rshiny code: library(shiny) ui <- fluidPage( selectInput("Region","Select Region",max_usage_hours_per_region$Region,selected = TRUE), tableOutput("table") ) server <- function(input, output) { output$table <- renderTable( max_usage_ho...
2012 Mar 27
4
Problem with PHP / Postgresql on CentOS6.2
HI. I have instaled a WEB server with Postgresql on CentOS 6.2. PostgreSQL, versin 9.1.3 x64 from EntrrpriseDB base *.run*. PHP with PDO from YUM using reposity versions. On start apache does not get error. PHP LOG under, with PDO error. *PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_pgsql.so' - libpq.so.5: failed to map segment from shared object: Permission denied in Unknown on lin...
2015 Oct 30
0
disable ZTS in php
...-exif' '--enable-sockets' > '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' > '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-xmlrpc' > '--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl' > '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath' > '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql' > '--with-mysqli=/usr/bin/mysql_config' ...
2015 Oct 30
0
disable ZTS in php
...; '--enable-exif' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-xmlrpc' '--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl' '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath' '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql' '--with-mysqli=/usr/bin/mysql_config' '--enable-zip&...
2015 Oct 30
0
disable ZTS in php
...;--enable-sockets' > > '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' > > '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-xmlrpc' > > '--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl' > > '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath' > > '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql' > > '--with-mysqli=/usr/bin/mysql_...
2009 Mar 04
1
head scratcher update
...0.el5_2.1 is needed by package php-ldap Error: Missing Dependency: php-common = 5.1.6-20.el5_2.1 is needed by package php-imap Error: Missing Dependency: php-common = 5.1.6-20.el5_2.1 is needed by package php-mbstring Error: Missing Dependency: php-common = 5.1.6-20.el5_2.1 is needed by package php-pdo So I queried rpm to see what's installed... # rpm -qa|grep php php-common-5.1.6-15.el5 php-mysql-5.1.6-15.el5 php-pear-Net-Sieve-1.1.5-2.el5.centos php-mcrypt-5.1.6-15.el5.centos.1 php-pear-MDB2-2.4.1-2.el5.centos php-cli-5.1.6-15.el5 php-5.1.6-15.el5 php-pear-Net-SMTP-1.2.10-1.el5.centos php-...
2015 Mar 24
2
error building php spec file
...nchant \ --enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \ --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip --with-zlib \ --with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \ --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \ --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear --disable-debug make %{?_smp_mflags} %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_initrddir} install -Dp -m0755 sapi/fpm/init.d.php-fpm.in %{buildroot}%{_initrddir}/php-fpm %{__make} install INSTALL_ROOT="...
2012 Jun 28
0
CentOS-announce Digest, Vol 88, Issue 17
...ysql-5.1.6-39.el5_8.i386.rpm e428c6e76058183e7714d6f8f3774aa056f8bdb5911cb09619b2a10b1b6dec15 php-ncurses-5.1.6-39.el5_8.i386.rpm f4e5e4027542b74d7c5bc3994ca3e10c3328ed9bd58450b8fd26227c97f9a995 php-odbc-5.1.6-39.el5_8.i386.rpm 441b0af0b120d4a88e84fe1b34efd8c627e801a7e585ac4bc76f748d077a1501 php-pdo-5.1.6-39.el5_8.i386.rpm c81def604be5c0c75d6b35438037209327eed7b404b8399db7481c8f3439e662 php-pgsql-5.1.6-39.el5_8.i386.rpm 354b9aeee6cd8d2f0e576019c3fe52941225b9da103a4372e3ac956f90297f99 php-snmp-5.1.6-39.el5_8.i386.rpm 6bc757c9119d9de3beae88fddf3619f108caa78e205bfe4eff869dc854468132 php-soap-5...
2014 Nov 01
0
CentOS-announce Digest, Vol 117, Issue 1
...string-5.3.3-40.el6_6.i686.rpm e9b3e9f7d936a1f9202d9911f4905e4e31633132e9390f6d9da8a69da0ff0c4b php-mysql-5.3.3-40.el6_6.i686.rpm c1e867e9ee3ae34fe7720ebd25598d6e108f6b31a7a284e8f4308400a73f8625 php-odbc-5.3.3-40.el6_6.i686.rpm 3317766ebda06f057f405c25174695255ff8125869e4e3fde691f1a7893a8325 php-pdo-5.3.3-40.el6_6.i686.rpm b653649fc7124c797472b23b9d74c9caa956afdc2a9e1ffdc2e9cab1c5045992 php-pgsql-5.3.3-40.el6_6.i686.rpm 32ae7c8c1becb46b1b9a469628dcbdd645db2c39f4ca484fb8868b520588ebf1 php-process-5.3.3-40.el6_6.i686.rpm 299877a30c573bc3bb3e059a04ca9a50df0000a5f3306cc5bf9b6fc9cb6376b0 php-psp...
2012 May 08
0
CentOS-announce Digest, Vol 87, Issue 4
...ysql-5.1.6-34.el5_8.i386.rpm ee42e70d440ec6cadcc89e2bc9d2340f75699fa74fd2b5668503bfb3e91a8b0f php-ncurses-5.1.6-34.el5_8.i386.rpm ec25e5fc37829da2e5f0241a82714fe8fde19bf405dbd69b404c0806447fb38b php-odbc-5.1.6-34.el5_8.i386.rpm 18852ca2601521bbddb4f73b65bc97cd359ea2ff147c30780e344bf0948ad66a php-pdo-5.1.6-34.el5_8.i386.rpm 80e5aa10ca0bbc03ed3833a9537259e7372f8cfdf8637f7f3a6b497e2a41f1b1 php-pgsql-5.1.6-34.el5_8.i386.rpm 62a237ecd2fb833971e72300d62dd43f633bac03927129ceeaed347dad00c686 php-snmp-5.1.6-34.el5_8.i386.rpm f74e7178d4b89dd7f7e19551f41d17b612ff56a37c6efdcd852cbf1337ba1af3 php-soap-5...