ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] ltib - php with pdo extension


From: Stuart Hughes
Subject: Re: [Ltib] ltib - php with pdo extension
Date: Wed, 24 Mar 2010 08:47:49 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Leon,

If I were doing it, I would first try and add the PDO package as an
add-on to the current version in LTIB.  The reason is that the later
package may have dependencies on other packages that will also need to
be changed.

If you do have to move to 5.2, I would initially do this as a new spec
file.  The steps would be:

$ cp dist/lfs-5.1/php/php.spec dist/lfs-5.1/php/php-5.2.spec

edit the new spec file and change the sources reference to the new version.

Download the php tarball and put it in /opt/ltib/pkgs (or
/opt/freescale/pkg if you're using an ISO).

Add/edit your platform's config/platform/_your_platform_/pkg_map
 file and set:

PKG_PHP = php-5.2

You can then try to build as normal.

If you do get this working, please let me know and then maybe the
default package can be moved to 5.2.

Regards, Stuart


Leon Moran wrote:
> Hi All,
>  
> I need a PHP package which supports the PHP data objects (PDO) and
> unfortunately it seems the default php 5.0.4 does not support this.
>   
> I believe my options are to update to the PHP 5.2.x package in which PDO
> is included by default OR compile and include the PDO extension
> libraries for the default ltib PHP version.  
> Does anyone know if this is a correct assumption? and if I can compile
> the source for 5.2.x should I update the existing php package or add it
> as a new php5.2 package to the config system?
> 
> Cheers,
> Leon.
> 
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]