OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
php-general Digest 11 May 2013 09:58:01 -0000 Issue 8227

php-general-digest-helplists.php.net
Date: Sat May 11 2013 - 04:58:01 CDT


php-general Digest 11 May 2013 09:58:01 -0000 Issue 8227

Topics (messages 321063 through 321073):

Re: undef func
        321063 by: georg
        321064 by: Gabriel Ricci
        321065 by: Gabriel Ricci
        321066 by: James Yerge
        321067 by: Ashley Sheridan
        321068 by: georg

Sync CSV files with MySQL Database.
        321069 by: Carlos Sura

Re: Having a problem with clone.
        321070 by: Marco Behnke
        321071 by: Richard Quadling

Re: undef func - any more clues ?
        321072 by: georg
        321073 by: Ashley Sheridan

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


So thanx again, closing in. It turned out that I had tried; yum install php_pear // i.e. with an underscore, should be with hyphen !
so crawling a mm forward; then stuck on; pecl install pdo_odbc // in this case the undrscore is ok (!)
which fails as

"Cant find php headers in /usr/include/php" followed by "Error phpize failed"

/georg
  ----- Original Message -----
  From: Serge Fonville
  To: georg
  Cc: Gabriel Ricci ; Daniel Brown ; tamouse mailing lists ; PHP General
  Sent: Friday, May 10, 2013 11:41 PM
  Subject: Re: [PHP] undef func

  Assuming OP is using a distro that uses yum for package management;

  A "yum whatprovides pecl" should provide the package name that needs to be installed, in case of an apt based distro, this could be done through aptitude. Either way, it seems what might provide more information is details like the commands executed, the distro used and the errors received

  HTH

  Kind regards/met vriendelijke groet,

  Serge Fonville

  http://www.sergefonville.nl

  Convince Microsoft!
  They need to add TRUNCATE PARTITION in SQL Server
  https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table

  2013/5/10 georg <georg.chamberttelia.com>

    noop, didnt take, no such package, was my reward

    /georg

      ----- Original Message -----
      From: Gabriel Ricci
      To: georg
      Cc: Daniel Brown ; tamouse mailing lists ; PHP General
      Sent: Friday, May 10, 2013 11:06 PM
      Subject: Re: [PHP] undef func

      To have pecl, you need to install PEAR first, "yum install php-pear" (or "yum install php5-pear") should work.

      Then you can try "pecl install pdo_odbc."

      Att.

      Gabriel Ricci
      ____________________

      Website

      Follow gabrielricci
      Facebook profile, GitHub profile

      On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com> wrote:

        unfortunately that didnt take, pecl is undefined command (my linux is not so strong)
        trying yum renders no such package

        ----- Original Message ----- From: "Daniel Brown" <danbrownphp.net>
        To: "tamouse mailing lists" <tamouse.listsgmail.com>
        Cc: "georg" <georg.chamberttelia.com>; "PHP General" <php-generallists.php.net>
        Sent: Friday, May 10, 2013 9:21 PM
        Subject: Re: [PHP] undef func

          On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
          <tamouse.listsgmail.com> wrote:

            Aren't DLLs a Windows thing?

             Yeah, I misread the bit about "MS XP" and thought he was using XP
          for this install. I just realized the remainder of the discussion
          between us was off-list, so - for posterity - my response, when
          finding out it is indeed a Linux box, is: pecl install pdo_odbc.

          --
          </Daniel P. Brown>
          Network Infrastructure Manager
          http://www.php.net/

          --
          PHP General Mailing List (http://www.php.net/)
          To unsubscribe, visit: http://www.php.net/unsub.php

        --
        PHP General Mailing List (http://www.php.net/)
        To unsubscribe, visit: http://www.php.net/unsub.php

attached mail follows:


pear isntall php-dev

Att.

Gabriel Ricci
____________________

Website <http://gabrielricci.github.com>
Follow gabrielricci <http://www.twitter.com/gabrielricci>
Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
profile<http://www.github.com/gabrielricci/>
<http://code.google.com/p/syslibjs/>

On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:

> **
> So thanx again, closing in. It turned out that I had tried; yum install
> php_pear // i.e. with an underscore, should be with hyphen !
> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
> this case the undrscore is ok (!)
> which fails as
>
> "Cant find php headers in /usr/include/php" followed by "Error phpize
> failed"
>
> /georg
>
> ----- Original Message -----
> *From:* Serge Fonville <serge.fonvillegmail.com>
> *To:* georg <georg.chamberttelia.com>
> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel Brown<danbrownphp.net>; tamouse
> mailing lists <tamouse.listsgmail.com> ; PHP General<php-generallists.php.net>
> *Sent:* Friday, May 10, 2013 11:41 PM
> *Subject:* Re: [PHP] undef func
>
> Assuming OP is using a distro that uses yum for package management;
> A "yum whatprovides pecl" should provide the package name that needs to be
> installed, in case of an apt based distro, this could be done through
> aptitude. Either way, it seems what might provide more information is
> details like the commands executed, the distro used and the errors received
>
> HTH
>
> Kind regards/met vriendelijke groet,
>
> Serge Fonville
>
> http://www.sergefonville.nl
>
> Convince Microsoft!
> They need to add TRUNCATE PARTITION in SQL Server
>
> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>
>
> 2013/5/10 georg <georg.chamberttelia.com>
>
>> noop, didnt take, no such package, was my reward
>>
>> /georg
>> ----- Original Message -----
>> From: Gabriel Ricci
>> To: georg
>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>> Sent: Friday, May 10, 2013 11:06 PM
>> Subject: Re: [PHP] undef func
>>
>>
>> To have pecl, you need to install PEAR first, "yum install php-pear"
>> (or "yum install php5-pear") should work.
>>
>>
>> Then you can try "pecl install pdo_odbc."
>>
>>
>>
>> Att.
>>
>> Gabriel Ricci
>> ____________________
>>
>> Website
>> Follow gabrielricci
>> Facebook profile, GitHub profile
>>
>>
>>
>>
>>
>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>> wrote:
>>
>> unfortunately that didnt take, pecl is undefined command (my linux is
>> not so strong)
>> trying yum renders no such package
>>
>>
>>
>> ----- Original Message ----- From: "Daniel Brown" <danbrownphp.net>
>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>> php-generallists.php.net>
>> Sent: Friday, May 10, 2013 9:21 PM
>> Subject: Re: [PHP] undef func
>>
>>
>>
>>
>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>> <tamouse.listsgmail.com> wrote:
>>
>>
>> Aren't DLLs a Windows thing?
>>
>>
>> Yeah, I misread the bit about "MS XP" and thought he was using XP
>> for this install. I just realized the remainder of the discussion
>> between us was off-list, so - for posterity - my response, when
>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
>>
>> --
>> </Daniel P. Brown>
>> Network Infrastructure Manager
>> http://www.php.net/
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>

attached mail follows:


Sorry, yum install php-dev

Att.

Gabriel Ricci
____________________

Website <http://gabrielricci.github.com>
Follow gabrielricci <http://www.twitter.com/gabrielricci>
Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
profile<http://www.github.com/gabrielricci/>
<http://code.google.com/p/syslibjs/>

On Fri, May 10, 2013 at 7:08 PM, Gabriel Ricci <gabrielriccigmail.com>wrote:

> pear isntall php-dev
>
>
> Att.
>
> Gabriel Ricci
> ____________________
>
> Website <http://gabrielricci.github.com>
> Follow gabrielricci <http://www.twitter.com/gabrielricci>
> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub profile<http://www.github.com/gabrielricci/>
> <http://code.google.com/p/syslibjs/>
>
>
> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:
>
>> **
>> So thanx again, closing in. It turned out that I had tried; yum install
>> php_pear // i.e. with an underscore, should be with hyphen !
>> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
>> this case the undrscore is ok (!)
>> which fails as
>>
>> "Cant find php headers in /usr/include/php" followed by "Error phpize
>> failed"
>>
>> /georg
>>
>> ----- Original Message -----
>> *From:* Serge Fonville <serge.fonvillegmail.com>
>> *To:* georg <georg.chamberttelia.com>
>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel Brown<danbrownphp.net>; tamouse
>> mailing lists <tamouse.listsgmail.com> ; PHP General<php-generallists.php.net>
>> *Sent:* Friday, May 10, 2013 11:41 PM
>> *Subject:* Re: [PHP] undef func
>>
>> Assuming OP is using a distro that uses yum for package management;
>> A "yum whatprovides pecl" should provide the package name that needs to
>> be installed, in case of an apt based distro, this could be done through
>> aptitude. Either way, it seems what might provide more information is
>> details like the commands executed, the distro used and the errors received
>>
>> HTH
>>
>> Kind regards/met vriendelijke groet,
>>
>> Serge Fonville
>>
>> http://www.sergefonville.nl
>>
>> Convince Microsoft!
>> They need to add TRUNCATE PARTITION in SQL Server
>>
>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>
>>
>> 2013/5/10 georg <georg.chamberttelia.com>
>>
>>> noop, didnt take, no such package, was my reward
>>>
>>> /georg
>>> ----- Original Message -----
>>> From: Gabriel Ricci
>>> To: georg
>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>> Sent: Friday, May 10, 2013 11:06 PM
>>> Subject: Re: [PHP] undef func
>>>
>>>
>>> To have pecl, you need to install PEAR first, "yum install php-pear"
>>> (or "yum install php5-pear") should work.
>>>
>>>
>>> Then you can try "pecl install pdo_odbc."
>>>
>>>
>>>
>>> Att.
>>>
>>> Gabriel Ricci
>>> ____________________
>>>
>>> Website
>>> Follow gabrielricci
>>> Facebook profile, GitHub profile
>>>
>>>
>>>
>>>
>>>
>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>>> wrote:
>>>
>>> unfortunately that didnt take, pecl is undefined command (my linux
>>> is not so strong)
>>> trying yum renders no such package
>>>
>>>
>>>
>>> ----- Original Message ----- From: "Daniel Brown" <danbrownphp.net>
>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>>> php-generallists.php.net>
>>> Sent: Friday, May 10, 2013 9:21 PM
>>> Subject: Re: [PHP] undef func
>>>
>>>
>>>
>>>
>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>> <tamouse.listsgmail.com> wrote:
>>>
>>>
>>> Aren't DLLs a Windows thing?
>>>
>>>
>>> Yeah, I misread the bit about "MS XP" and thought he was using
>>> XP
>>> for this install. I just realized the remainder of the discussion
>>> between us was off-list, so - for posterity - my response, when
>>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
>>>
>>> --
>>> </Daniel P. Brown>
>>> Network Infrastructure Manager
>>> http://www.php.net/
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>
>

attached mail follows:


On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
> pear isntall php-dev
>
>
> Att.
>
> Gabriel Ricci
> ____________________
>
> Website <http://gabrielricci.github.com>
> Follow gabrielricci <http://www.twitter.com/gabrielricci>
> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
> profile<http://www.github.com/gabrielricci/>
> <http://code.google.com/p/syslibjs/>
>
>
> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:
>
>> **
>> So thanx again, closing in. It turned out that I had tried; yum install
>> php_pear // i.e. with an underscore, should be with hyphen !
>> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
>> this case the undrscore is ok (!)
>> which fails as
>>
>> "Cant find php headers in /usr/include/php" followed by "Error phpize
>> failed"
>>
>> /georg
>>
>> ----- Original Message -----
>> *From:* Serge Fonville <serge.fonvillegmail.com>
>> *To:* georg <georg.chamberttelia.com>
>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel Brown<danbrownphp.net>; tamouse
>> mailing lists <tamouse.listsgmail.com> ; PHP General<php-generallists.php.net>
>> *Sent:* Friday, May 10, 2013 11:41 PM
>> *Subject:* Re: [PHP] undef func
>>
>> Assuming OP is using a distro that uses yum for package management;
>> A "yum whatprovides pecl" should provide the package name that needs to be
>> installed, in case of an apt based distro, this could be done through
>> aptitude. Either way, it seems what might provide more information is
>> details like the commands executed, the distro used and the errors received
>>
>> HTH
>>
>> Kind regards/met vriendelijke groet,
>>
>> Serge Fonville
>>
>> http://www.sergefonville.nl
>>
>> Convince Microsoft!
>> They need to add TRUNCATE PARTITION in SQL Server
>>
>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>
>>
>> 2013/5/10 georg <georg.chamberttelia.com>
>>
>>> noop, didnt take, no such package, was my reward
>>>
>>> /georg
>>> ----- Original Message -----
>>> From: Gabriel Ricci
>>> To: georg
>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>> Sent: Friday, May 10, 2013 11:06 PM
>>> Subject: Re: [PHP] undef func
>>>
>>>
>>> To have pecl, you need to install PEAR first, "yum install php-pear"
>>> (or "yum install php5-pear") should work.
>>>
>>>
>>> Then you can try "pecl install pdo_odbc."
>>>
>>>
>>>
>>> Att.
>>>
>>> Gabriel Ricci
>>> ____________________
>>>
>>> Website
>>> Follow gabrielricci
>>> Facebook profile, GitHub profile
>>>
>>>
>>>
>>>
>>>
>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>>> wrote:
>>>
>>> unfortunately that didnt take, pecl is undefined command (my linux is
>>> not so strong)
>>> trying yum renders no such package
>>>
>>>
>>>
>>> ----- Original Message ----- From: "Daniel Brown" <danbrownphp.net>
>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>>> php-generallists.php.net>
>>> Sent: Friday, May 10, 2013 9:21 PM
>>> Subject: Re: [PHP] undef func
>>>
>>>
>>>
>>>
>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>> <tamouse.listsgmail.com> wrote:
>>>
>>>
>>> Aren't DLLs a Windows thing?
>>>
>>>
>>> Yeah, I misread the bit about "MS XP" and thought he was using XP
>>> for this install. I just realized the remainder of the discussion
>>> between us was off-list, so - for posterity - my response, when
>>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
>>>
>>> --
>>> </Daniel P. Brown>
>>> Network Infrastructure Manager
>>> http://www.php.net/
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>

Should be yum install php-devel

attached mail follows:


James Yerge <jamesnixsecurity.org> wrote:

>On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
>> pear isntall php-dev
>>
>>
>> Att.
>>
>> Gabriel Ricci
>> ____________________
>>
>> Website <http://gabrielricci.github.com>
>> Follow gabrielricci <http://www.twitter.com/gabrielricci>
>> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
>> profile<http://www.github.com/gabrielricci/>
>> <http://code.google.com/p/syslibjs/>
>>
>>
>> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com>
>wrote:
>>
>>> **
>>> So thanx again, closing in. It turned out that I had tried; yum
>install
>>> php_pear // i.e. with an underscore, should be with hyphen !
>>> so crawling a mm forward; then stuck on; pecl install pdo_odbc //
>in
>>> this case the undrscore is ok (!)
>>> which fails as
>>>
>>> "Cant find php headers in /usr/include/php" followed by "Error
>phpize
>>> failed"
>>>
>>> /georg
>>>
>>> ----- Original Message -----
>>> *From:* Serge Fonville <serge.fonvillegmail.com>
>>> *To:* georg <georg.chamberttelia.com>
>>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel
>Brown<danbrownphp.net>; tamouse
>>> mailing lists <tamouse.listsgmail.com> ; PHP
>General<php-generallists.php.net>
>>> *Sent:* Friday, May 10, 2013 11:41 PM
>>> *Subject:* Re: [PHP] undef func
>>>
>>> Assuming OP is using a distro that uses yum for package management;
>>> A "yum whatprovides pecl" should provide the package name that needs
>to be
>>> installed, in case of an apt based distro, this could be done
>through
>>> aptitude. Either way, it seems what might provide more information
>is
>>> details like the commands executed, the distro used and the errors
>received
>>>
>>> HTH
>>>
>>> Kind regards/met vriendelijke groet,
>>>
>>> Serge Fonville
>>>
>>> http://www.sergefonville.nl
>>>
>>> Convince Microsoft!
>>> They need to add TRUNCATE PARTITION in SQL Server
>>>
>>>
>https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>>
>>>
>>> 2013/5/10 georg <georg.chamberttelia.com>
>>>
>>>> noop, didnt take, no such package, was my reward
>>>>
>>>> /georg
>>>> ----- Original Message -----
>>>> From: Gabriel Ricci
>>>> To: georg
>>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>>> Sent: Friday, May 10, 2013 11:06 PM
>>>> Subject: Re: [PHP] undef func
>>>>
>>>>
>>>> To have pecl, you need to install PEAR first, "yum install
>php-pear"
>>>> (or "yum install php5-pear") should work.
>>>>
>>>>
>>>> Then you can try "pecl install pdo_odbc."
>>>>
>>>>
>>>>
>>>> Att.
>>>>
>>>> Gabriel Ricci
>>>> ____________________
>>>>
>>>> Website
>>>> Follow gabrielricci
>>>> Facebook profile, GitHub profile
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>>>> wrote:
>>>>
>>>> unfortunately that didnt take, pecl is undefined command (my
>linux is
>>>> not so strong)
>>>> trying yum renders no such package
>>>>
>>>>
>>>>
>>>> ----- Original Message ----- From: "Daniel Brown"
><danbrownphp.net>
>>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>>>> php-generallists.php.net>
>>>> Sent: Friday, May 10, 2013 9:21 PM
>>>> Subject: Re: [PHP] undef func
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>>> <tamouse.listsgmail.com> wrote:
>>>>
>>>>
>>>> Aren't DLLs a Windows thing?
>>>>
>>>>
>>>> Yeah, I misread the bit about "MS XP" and thought he was
>using XP
>>>> for this install. I just realized the remainder of the
>discussion
>>>> between us was off-list, so - for posterity - my response,
>when
>>>> finding out it is indeed a Linux box, is: pecl install
>pdo_odbc.
>>>>
>>>> --
>>>> </Daniel P. Brown>
>>>> Network Infrastructure Manager
>>>> http://www.php.net/
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>>>
>
>Should be yum install php-devel

If you're looking for a specific package, try

yum list php*

The * acts as a wildcard, it makes it easier to find packages whose names change slightly. Should avoid the ambiguity of the various lines of advice

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

attached mail follows:


Ok, txn ! so
 yum install php-devel

worked, and got me a hole lot of pearl, however, still PHP has
odbc_connect() call as undefined function. as per Apache error log.

There was some mentioning of php.ini; could that be something here ?

/georg

----- Original Message -----
From: "James Yerge" <jamesnixsecurity.org>
To: "Gabriel Ricci" <gabrielriccigmail.com>
Cc: "georg" <georg.chamberttelia.com>; "Serge Fonville"
<serge.fonvillegmail.com>; "Daniel Brown" <danbrownphp.net>; "tamouse
mailing lists" <tamouse.listsgmail.com>; "PHP General"
<php-generallists.php.net>
Sent: Saturday, May 11, 2013 12:12 AM
Subject: Re: [PHP] undef func

> On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
>> pear isntall php-dev
>>
>>
>> Att.
>>
>> Gabriel Ricci
>> ____________________
>>
>> Website <http://gabrielricci.github.com>
>> Follow gabrielricci <http://www.twitter.com/gabrielricci>
>> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
>> profile<http://www.github.com/gabrielricci/>
>> <http://code.google.com/p/syslibjs/>
>>
>>
>> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:
>>
>>> **
>>> So thanx again, closing in. It turned out that I had tried; yum install
>>> php_pear // i.e. with an underscore, should be with hyphen !
>>> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
>>> this case the undrscore is ok (!)
>>> which fails as
>>>
>>> "Cant find php headers in /usr/include/php" followed by "Error phpize
>>> failed"
>>>
>>> /georg
>>>
>>> ----- Original Message -----
>>> *From:* Serge Fonville <serge.fonvillegmail.com>
>>> *To:* georg <georg.chamberttelia.com>
>>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel
>>> Brown<danbrownphp.net>; tamouse
>>> mailing lists <tamouse.listsgmail.com> ; PHP
>>> General<php-generallists.php.net>
>>> *Sent:* Friday, May 10, 2013 11:41 PM
>>> *Subject:* Re: [PHP] undef func
>>>
>>> Assuming OP is using a distro that uses yum for package management;
>>> A "yum whatprovides pecl" should provide the package name that needs to
>>> be
>>> installed, in case of an apt based distro, this could be done through
>>> aptitude. Either way, it seems what might provide more information is
>>> details like the commands executed, the distro used and the errors
>>> received
>>>
>>> HTH
>>>
>>> Kind regards/met vriendelijke groet,
>>>
>>> Serge Fonville
>>>
>>> http://www.sergefonville.nl
>>>
>>> Convince Microsoft!
>>> They need to add TRUNCATE PARTITION in SQL Server
>>>
>>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>>
>>>
>>> 2013/5/10 georg <georg.chamberttelia.com>
>>>
>>>> noop, didnt take, no such package, was my reward
>>>>
>>>> /georg
>>>> ----- Original Message -----
>>>> From: Gabriel Ricci
>>>> To: georg
>>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>>> Sent: Friday, May 10, 2013 11:06 PM
>>>> Subject: Re: [PHP] undef func
>>>>
>>>>
>>>> To have pecl, you need to install PEAR first, "yum install php-pear"
>>>> (or "yum install php5-pear") should work.
>>>>
>>>>
>>>> Then you can try "pecl install pdo_odbc."
>>>>
>>>>
>>>>
>>>> Att.
>>>>
>>>> Gabriel Ricci
>>>> ____________________
>>>>
>>>> Website
>>>> Follow gabrielricci
>>>> Facebook profile, GitHub profile
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>>>> wrote:
>>>>
>>>> unfortunately that didnt take, pecl is undefined command (my linux
>>>> is
>>>> not so strong)
>>>> trying yum renders no such package
>>>>
>>>>
>>>>
>>>> ----- Original Message ----- From: "Daniel Brown"
>>>> <danbrownphp.net>
>>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>>>> php-generallists.php.net>
>>>> Sent: Friday, May 10, 2013 9:21 PM
>>>> Subject: Re: [PHP] undef func
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>>> <tamouse.listsgmail.com> wrote:
>>>>
>>>>
>>>> Aren't DLLs a Windows thing?
>>>>
>>>>
>>>> Yeah, I misread the bit about "MS XP" and thought he was using
>>>> XP
>>>> for this install. I just realized the remainder of the
>>>> discussion
>>>> between us was off-list, so - for posterity - my response, when
>>>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
>>>>
>>>> --
>>>> </Daniel P. Brown>
>>>> Network Infrastructure Manager
>>>> http://www.php.net/
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>>>>
>
> Should be yum install php-devel
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

attached mail follows:


Hello mates,

Perhaps this seems to be a silly question, but it is not to me, here is the
scenario:

I know how to import CSV files with PHP to a MySQL database, the thing is,
that CSV file is automatically feed by a third-party application, I want to
do something to add just the new records, not all the records again.

Any idea or example, will be really appreciated.

Thanks!

--
Carlos Sura.-
www.carlossura.com
www.carlossura.com/blog

attached mail follows:


Am 10.05.13 11:35, schrieb Richard Quadling:
> Trying to clone an uncloneable object of class Smarty_Variable
Different PHP versions maybe?

Look at this thread I found:
http://wordpress.org/support/topic/fatal-error-trying-to-clone-an-uncloneable-object-of-class-reflectionclass

The last post

--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: marcobehnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

attached mail follows:


On 11 May 2013 09:52, Marco Behnke <marcobehnke.biz> wrote:

> Am 10.05.13 11:35, schrieb Richard Quadling:
> > Trying to clone an uncloneable object of class Smarty_Variable
> Different PHP versions maybe?
>
> Look at this thread I found:
>
> http://wordpress.org/support/topic/fatal-error-trying-to-clone-an-uncloneable-object-of-class-reflectionclass
>
> The last post
>

Not applicable. That option was deprecated and removed in 5.3. The issue is
in the Gender extension. Looking at the recent patch to trunk it looks
potentially OK. Not an expert there. Will be able to test this on Monday.

Thanks though.

Regards,

Richard.

--
Richard Quadling
Twitter : RQuadling

attached mail follows:


Message-ID: <E92DBE864471465583291E3C3E780899guscha>
From: "georg" <georg.chamberttelia.com>
To: "georg" <georg.chamberttelia.com>,
        "James Yerge" <jamesnixsecurity.org>
Cc: "PHP General" <php-generallists.php.net>
Date: Sat, 11 May 2013 11:36:49 +0200
MIME-Version: 1.0
Content-Type: text/plain;
        format=flowed;
        charset="iso-8859-1";
        reply-type=response
Content-Transfer-Encoding: 7bit
Subject: Re: [PHP] undef func - any more clues ?

Hi again,
is there any more clues to how Apache/PHP would get hold of ODBC libraries ?

(( summery; Im a bit new to linux (here Fedora 17) so Im not sure of how
these entities get hold of each other; are they linked into same module or
are they dynamically loaded
libraries, guess that the latter. Then Im not clear over the "path" or
"linkage" of these; that is where
are the definitions made to link them together; there is a series of conf
and ini files (and keyword) which should
link names, and point to file names in (defined ?) directories (given by
paths) ))

/ Georg

----- Original Message -----
From: "georg" <georg.chamberttelia.com>
To: "James Yerge" <jamesnixsecurity.org>
Cc: "PHP General" <php-generallists.php.net>
Sent: Saturday, May 11, 2013 12:47 AM
Subject: Re: [PHP] undef func

> Ok, txn ! so
> yum install php-devel
>
> worked, and got me a hole lot of pearl, however, still PHP has
> odbc_connect() call as undefined function. as per Apache error log.
>
> There was some mentioning of php.ini; could that be something here ?
>
> /georg
>
> ----- Original Message -----
> From: "James Yerge" <jamesnixsecurity.org>
> To: "Gabriel Ricci" <gabrielriccigmail.com>
> Cc: "georg" <georg.chamberttelia.com>; "Serge Fonville"
> <serge.fonvillegmail.com>; "Daniel Brown" <danbrownphp.net>; "tamouse
> mailing lists" <tamouse.listsgmail.com>; "PHP General"
> <php-generallists.php.net>
> Sent: Saturday, May 11, 2013 12:12 AM
> Subject: Re: [PHP] undef func
>
>
>> On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
>>> pear isntall php-dev
>>>
>>>
>>> Att.
>>>
>>> Gabriel Ricci
>>> ____________________
>>>
>>> Website <http://gabrielricci.github.com>
>>> Follow gabrielricci <http://www.twitter.com/gabrielricci>
>>> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
>>> profile<http://www.github.com/gabrielricci/>
>>> <http://code.google.com/p/syslibjs/>
>>>
>>>
>>> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:
>>>
>>>> **
>>>> So thanx again, closing in. It turned out that I had tried; yum install
>>>> php_pear // i.e. with an underscore, should be with hyphen !
>>>> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
>>>> this case the undrscore is ok (!)
>>>> which fails as
>>>>
>>>> "Cant find php headers in /usr/include/php" followed by "Error phpize
>>>> failed"
>>>>
>>>> /georg
>>>>
>>>> ----- Original Message -----
>>>> *From:* Serge Fonville <serge.fonvillegmail.com>
>>>> *To:* georg <georg.chamberttelia.com>
>>>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel
>>>> Brown<danbrownphp.net>; tamouse
>>>> mailing lists <tamouse.listsgmail.com> ; PHP
>>>> General<php-generallists.php.net>
>>>> *Sent:* Friday, May 10, 2013 11:41 PM
>>>> *Subject:* Re: [PHP] undef func
>>>>
>>>> Assuming OP is using a distro that uses yum for package management;
>>>> A "yum whatprovides pecl" should provide the package name that needs to
>>>> be
>>>> installed, in case of an apt based distro, this could be done through
>>>> aptitude. Either way, it seems what might provide more information is
>>>> details like the commands executed, the distro used and the errors
>>>> received
>>>>
>>>> HTH
>>>>
>>>> Kind regards/met vriendelijke groet,
>>>>
>>>> Serge Fonville
>>>>
>>>> http://www.sergefonville.nl
>>>>
>>>> Convince Microsoft!
>>>> They need to add TRUNCATE PARTITION in SQL Server
>>>>
>>>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>>>
>>>>
>>>> 2013/5/10 georg <georg.chamberttelia.com>
>>>>
>>>>> noop, didnt take, no such package, was my reward
>>>>>
>>>>> /georg
>>>>> ----- Original Message -----
>>>>> From: Gabriel Ricci
>>>>> To: georg
>>>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>>>> Sent: Friday, May 10, 2013 11:06 PM
>>>>> Subject: Re: [PHP] undef func
>>>>>
>>>>>
>>>>> To have pecl, you need to install PEAR first, "yum install php-pear"
>>>>> (or "yum install php5-pear") should work.
>>>>>
>>>>>
>>>>> Then you can try "pecl install pdo_odbc."
>>>>>
>>>>>
>>>>>
>>>>> Att.
>>>>>
>>>>> Gabriel Ricci
>>>>> ____________________
>>>>>
>>>>> Website
>>>>> Follow gabrielricci
>>>>> Facebook profile, GitHub profile
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
>>>>> wrote:
>>>>>
>>>>> unfortunately that didnt take, pecl is undefined command (my linux
>>>>> is
>>>>> not so strong)
>>>>> trying yum renders no such package
>>>>>
>>>>>
>>>>>
>>>>> ----- Original Message ----- From: "Daniel Brown"
>>>>> <danbrownphp.net>
>>>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
>>>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
>>>>> php-generallists.php.net>
>>>>> Sent: Friday, May 10, 2013 9:21 PM
>>>>> Subject: Re: [PHP] undef func
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>>>> <tamouse.listsgmail.com> wrote:
>>>>>
>>>>>
>>>>> Aren't DLLs a Windows thing?
>>>>>
>>>>>
>>>>> Yeah, I misread the bit about "MS XP" and thought he was
>>>>> using XP
>>>>> for this install. I just realized the remainder of the
>>>>> discussion
>>>>> between us was off-list, so - for posterity - my response, when
>>>>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
>>>>>
>>>>> --
>>>>> </Daniel P. Brown>
>>>>> Network Infrastructure Manager
>>>>> http://www.php.net/
>>>>>
>>>>> --
>>>>> PHP General Mailing List (http://www.php.net/)
>>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> PHP General Mailing List (http://www.php.net/)
>>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>>
>>>>>
>>>>>
>>>>>
>>
>> Should be yum install php-devel
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

attached mail follows:


On Sat, 2013-05-11 at 11:36 +0200, georg wrote:

> Hi again,
> is there any more clues to how Apache/PHP would get hold of ODBC libraries ?
>
>
> (( summery; Im a bit new to linux (here Fedora 17) so Im not sure of how
> these entities get hold of each other; are they linked into same module or
> are they dynamically loaded
> libraries, guess that the latter. Then Im not clear over the "path" or
> "linkage" of these; that is where
> are the definitions made to link them together; there is a series of conf
> and ini files (and keyword) which should
> link names, and point to file names in (defined ?) directories (given by
> paths) ))
>
> / Georg
>
>
>
>
>
>
> ----- Original Message -----
> From: "georg" <georg.chamberttelia.com>
> To: "James Yerge" <jamesnixsecurity.org>
> Cc: "PHP General" <php-generallists.php.net>
> Sent: Saturday, May 11, 2013 12:47 AM
> Subject: Re: [PHP] undef func
>
>
> > Ok, txn ! so
> > yum install php-devel
> >
> > worked, and got me a hole lot of pearl, however, still PHP has
> > odbc_connect() call as undefined function. as per Apache error log.
> >
> > There was some mentioning of php.ini; could that be something here ?
> >
> > /georg
> >
> > ----- Original Message -----
> > From: "James Yerge" <jamesnixsecurity.org>
> > To: "Gabriel Ricci" <gabrielriccigmail.com>
> > Cc: "georg" <georg.chamberttelia.com>; "Serge Fonville"
> > <serge.fonvillegmail.com>; "Daniel Brown" <danbrownphp.net>; "tamouse
> > mailing lists" <tamouse.listsgmail.com>; "PHP General"
> > <php-generallists.php.net>
> > Sent: Saturday, May 11, 2013 12:12 AM
> > Subject: Re: [PHP] undef func
> >
> >
> >> On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
> >>> pear isntall php-dev
> >>>
> >>>
> >>> Att.
> >>>
> >>> Gabriel Ricci
> >>> ____________________
> >>>
> >>> Website <http://gabrielricci.github.com>
> >>> Follow gabrielricci <http://www.twitter.com/gabrielricci>
> >>> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
> >>> profile<http://www.github.com/gabrielricci/>
> >>> <http://code.google.com/p/syslibjs/>
> >>>
> >>>
> >>> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chamberttelia.com> wrote:
> >>>
> >>>> **
> >>>> So thanx again, closing in. It turned out that I had tried; yum install
> >>>> php_pear // i.e. with an underscore, should be with hyphen !
> >>>> so crawling a mm forward; then stuck on; pecl install pdo_odbc // in
> >>>> this case the undrscore is ok (!)
> >>>> which fails as
> >>>>
> >>>> "Cant find php headers in /usr/include/php" followed by "Error phpize
> >>>> failed"
> >>>>
> >>>> /georg
> >>>>
> >>>> ----- Original Message -----
> >>>> *From:* Serge Fonville <serge.fonvillegmail.com>
> >>>> *To:* georg <georg.chamberttelia.com>
> >>>> *Cc:* Gabriel Ricci <gabrielriccigmail.com> ; Daniel
> >>>> Brown<danbrownphp.net>; tamouse
> >>>> mailing lists <tamouse.listsgmail.com> ; PHP
> >>>> General<php-generallists.php.net>
> >>>> *Sent:* Friday, May 10, 2013 11:41 PM
> >>>> *Subject:* Re: [PHP] undef func
> >>>>
> >>>> Assuming OP is using a distro that uses yum for package management;
> >>>> A "yum whatprovides pecl" should provide the package name that needs to
> >>>> be
> >>>> installed, in case of an apt based distro, this could be done through
> >>>> aptitude. Either way, it seems what might provide more information is
> >>>> details like the commands executed, the distro used and the errors
> >>>> received
> >>>>
> >>>> HTH
> >>>>
> >>>> Kind regards/met vriendelijke groet,
> >>>>
> >>>> Serge Fonville
> >>>>
> >>>> http://www.sergefonville.nl
> >>>>
> >>>> Convince Microsoft!
> >>>> They need to add TRUNCATE PARTITION in SQL Server
> >>>>
> >>>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
> >>>>
> >>>>
> >>>> 2013/5/10 georg <georg.chamberttelia.com>
> >>>>
> >>>>> noop, didnt take, no such package, was my reward
> >>>>>
> >>>>> /georg
> >>>>> ----- Original Message -----
> >>>>> From: Gabriel Ricci
> >>>>> To: georg
> >>>>> Cc: Daniel Brown ; tamouse mailing lists ; PHP General
> >>>>> Sent: Friday, May 10, 2013 11:06 PM
> >>>>> Subject: Re: [PHP] undef func
> >>>>>
> >>>>>
> >>>>> To have pecl, you need to install PEAR first, "yum install php-pear"
> >>>>> (or "yum install php5-pear") should work.
> >>>>>
> >>>>>
> >>>>> Then you can try "pecl install pdo_odbc."
> >>>>>
> >>>>>
> >>>>>
> >>>>> Att.
> >>>>>
> >>>>> Gabriel Ricci
> >>>>> ____________________
> >>>>>
> >>>>> Website
> >>>>> Follow gabrielricci
> >>>>> Facebook profile, GitHub profile
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Fri, May 10, 2013 at 6:03 PM, georg <georg.chamberttelia.com>
> >>>>> wrote:
> >>>>>
> >>>>> unfortunately that didnt take, pecl is undefined command (my linux
> >>>>> is
> >>>>> not so strong)
> >>>>> trying yum renders no such package
> >>>>>
> >>>>>
> >>>>>
> >>>>> ----- Original Message ----- From: "Daniel Brown"
> >>>>> <danbrownphp.net>
> >>>>> To: "tamouse mailing lists" <tamouse.listsgmail.com>
> >>>>> Cc: "georg" <georg.chamberttelia.com>; "PHP General" <
> >>>>> php-generallists.php.net>
> >>>>> Sent: Friday, May 10, 2013 9:21 PM
> >>>>> Subject: Re: [PHP] undef func
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
> >>>>> <tamouse.listsgmail.com> wrote:
> >>>>>
> >>>>>
> >>>>> Aren't DLLs a Windows thing?
> >>>>>
> >>>>>
> >>>>> Yeah, I misread the bit about "MS XP" and thought he was
> >>>>> using XP
> >>>>> for this install. I just realized the remainder of the
> >>>>> discussion
> >>>>> between us was off-list, so - for posterity - my response, when
> >>>>> finding out it is indeed a Linux box, is: pecl install pdo_odbc.
> >>>>>
> >>>>> --
> >>>>> </Daniel P. Brown>
> >>>>> Network Infrastructure Manager
> >>>>> http://www.php.net/
> >>>>>
> >>>>> --
> >>>>> PHP General Mailing List (http://www.php.net/)
> >>>>> To unsubscribe, visit: http://www.php.net/unsub.php
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> PHP General Mailing List (http://www.php.net/)
> >>>>> To unsubscribe, visit: http://www.php.net/unsub.php
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>
> >> Should be yum install php-devel
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>

So far it seems like you've only installed the Pear stuff (that was done
with the yum line) but not the PECL stuff. Try installing the PECL stuff
again now that you have Pear installed.

Thanks,
Ash
http://www.ashleysheridan.co.uk