PDO Driver on OSX 10.6

286 views
Skip to first unread message

Rolf Bachmann

unread,
Mar 10, 2011, 5:10:27 PM3/10/11
to PDO_4D
Hi
I gave an other try to run the pdo_driver on my local OSX Machine.

1. With MAMP and PHP 5.2.x everything works fine. With MAMP and PHP
5.3.x the PDO won't be loaded. The same behaving is also on the native
Apache/PHP installation on 10.6.6.

Has anyone the same exeriences?

2. With MAMP / PHP 5.2.x I can connect to a 4D SQL Server 12.1 HF3.
When the SQL Servers has SSL activated I cant' connect.
How can I make a connection with pdo_4d and the SSL option on?

Kind regards Rolf

marco

unread,
Mar 11, 2011, 12:27:58 AM3/11/11
to PDO_4D
Hi Ralf

On 10 Mrz., 23:10, Rolf Bachmann <bachmann.r...@gmail.com> wrote:
> Hi
> I gave an other try to run the pdo_driver on my local OSX Machine.
>
> 1. With MAMP and PHP 5.2.x everything works fine. With MAMP and PHP
> 5.3.x the PDO won't be loaded. The same behaving is also on the native
> Apache/PHP installation on 10.6.6.
>
> Has anyone the same exeriences?

I have the same problem with PHP 5.3.x and the PDO extension for 4d.

> 2. With MAMP / PHP 5.2.x I can connect to a 4D SQL Server 12.1 HF3.
> When the SQL Servers has SSL activated I cant' connect.
> How can I make a connection with pdo_4d and the SSL option on?

OT:
Can you use joins with more then 100 results?

SELECT * FROM table1, table2 WHERE table1.field1 = table2.field2 LIMIT
100

works fine but not with the query

SELECT * FROM table1, table2 WHERE table1.field1 = table2.field2 LIMIT
101

Have you the same experiences with joins?


Kind regards
Marco

Alexandre Morgaut

unread,
Mar 17, 2011, 12:42:26 PM3/17/11
to PDO_4D

> 2. With MAMP / PHP 5.2.x I can connect to a 4D SQL Server 12.1 HF3.
> When the SQL Servers has SSL activated I cant' connect.
> How can I make a connection with pdo_4d and the SSL option on?

Here an answer about SSL:
http://groups.google.com/group/pdo_4d/browse_thread/thread/e7db773b81750886?hl=fr

Alexandre Morgaut

unread,
Mar 17, 2011, 12:45:20 PM3/17/11
to PDO_4D


On 11 mar, 06:27, marco <mher...@gmail.com> wrote:
> Hi Ralf
>
> On 10 Mrz., 23:10, Rolf Bachmann <bachmann.r...@gmail.com> wrote:
>
> > Hi
> > I gave an other try to run the pdo_driver on my local OSX Machine.
>
> > 1. With MAMP and PHP 5.2.x everything works fine. With MAMP and PHP
> > 5.3.x the PDO won't be loaded. The same behaving is also on the native
> > Apache/PHP installation on 10.6.6.
>
> > Has anyone the same exeriences?
>
> I have the same problem with PHP 5.3.x and the PDO extension for 4d.
>

I will have to test it again and check the build process used to
create these versions
It should be compatible but it looks like phpize and the PRECL API has
been modified in more recent versions of PHP 5.3
It may require updates

Arne

unread,
Apr 13, 2011, 6:50:13 AM4/13/11
to PDO_4D
On 17 Mar, 18:45, Alexandre Morgaut <alexandre.morg...@4d.com> wrote:
> I will have to test it again and check the build process used to
> create these versions
> It should be compatible but it looks like phpize and the PRECL API has
> been modified in more recent versions of PHP 5.3
> It may require updates

Error messages in error-log when I try to load the module:

PHP Warning: PHP Startup:pdo_4d:Unable to initilize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
This options need to match
in Unknown on line 0
Apache/2.2.15 (Unix) PHP/5.3.3 configured -- resuming normal
operations


$ uname -rv
10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010;
root:xnu-1504.9.26~3/RELEASE_X86_64

Default installed Apache server with php. Binary driver downloaded
from http://sources.4d.com/trac/4d_pdo4d/wiki/PDOBuilds
PDO_4D version 0.3 for native Mac OS X PHP & Enthropy

Alexandre Morgaut

unread,
Apr 13, 2011, 7:50:23 AM4/13/11
to pdo...@googlegroups.com

On 13 avr. 2011, at 12:50, Arne wrote:

> On 17 Mar, 18:45, Alexandre Morgaut <alexandre.morg...@4d.com> wrote:
>> I will have to test it again and check the build process used to
>> create these versions
>> It should be compatible but it looks like phpize and the PRECL API has
>> been modified in more recent versions of PHP 5.3
>> It may require updates
>
> Error messages in error-log when I try to load the module:
>
> PHP Warning: PHP Startup:pdo_4d:Unable to initilize module
> Module compiled with module API=20060613
> PHP compiled with module API=20090626

that's what I was talking about when I said that the PECL API (and not PRECL) has been modified
Some updates has been done on the PDO_4D on the PHP SVN.
It should solve this problem so we will have to make and test new builds with these modifications

I can't do it right now because of other priorities, but I'll try ASAP for Mac OS builds


Alexandre Morgaut
Product Manager

4D SAS
60, rue d'Alsace
92110 Clichy
France

Standard : +33 1 40 87 92 00
Email : Alexandr...@4d.com
Web : www.4D.com


Arne

unread,
Apr 13, 2011, 7:54:33 AM4/13/11
to PDO_4D
On 13 apr, 13:50, Alexandre Morgaut <Alexandre.Morg...@4d.com> wrote:
> that's what I was talking about when I said that the PECL API (and not PRECL) has been modified
> Some updates has been done on the PDO_4D on the PHP SVN.
> It should solve this problem so we will have to make and test new builds with these modifications

Thank you, I'm looking forward to it :)
Reply all
Reply to author
Forward
0 new messages