php-windows Digest 12 May 2010 07:22:25 -0000 Issue 3808

Topics (messages 30090 through 30097):

Re: older windows binaries
        30090 by: Pierre Joye

2 questions on mssql and ldap
        30091 by: Bruno CHALOPIN
        30092 by: Sascha Meyer
        30093 by: Bruno CHALOPIN
        30094 by: Sascha Meyer
        30095 by: Bruno CHALOPIN
        30096 by: Venkat Raman Don
        30097 by: Sascha Meyer

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On Tue, May 11, 2010 at 11:08 AM, Richard Quadling
<rquadl...@googlemail.com> wrote:

> Is there any code that moves a live version to the archives?
> Generating/preserving the sha1 hashes would be nice.
>
> I know there was a RM tool. Is this anywhere near production yet?
>

It is in production. But that has nothing to do with what we are
talking about here.

-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--- End Message ---
--- Begin Message ---
Hello everyone

Does anyone know how to use SASL within LDAP on php 5.2.13 or 5.3.2 (copying libsasl.dll in the PATH doesn't work) ? Do I mandatory compile PHP ?

Why php_mssql.dll and php_pdo_mssql.dll have disappeared from the lasts windows packages of php 5.3.2 on windows.php.net ?

regards,

Bruno CHALOPIN

--- End Message ---
--- Begin Message ---
Hi Bruno,

Bruno wrote:
> Does anyone know how to use SASL within LDAP on php 5.2.13 or 5.3.2 
> (copying libsasl.dll in the PATH doesn't work) ? Do I mandatory compile 
> PHP ?

You need to add your PHP directory to the path or copy libeay32.dll and 
ssleay32.dll into a folder contained in your PATH. libsasl.dll has only been 
necessary for PHP versions < 4.3.0 [3].
 
> Why php_mssql.dll and php_pdo_mssql.dll have disappeared from the lasts 
> windows packages of php 5.3.2 on windows.php.net ?

The MSSQL extension has been removed in PHP version 5.3 [1] because there is a 
new extension available from Microsoft called "SQL Server Driver for PHP" [2] 
and the support for the old extension has been dropped, same applies for the 
PDO MSSQL extension. The new extension is compatible to older and newer 
versions of SQL Server but requires a rewrite of your code to use the new 
extension.

[1] http://de2.php.net/manual/en/migration53.removed-extensions.php
[2] http://www.microsoft.com/sqlserver/2005/en/us/php-driver.aspx
[3] http://www.php.net/manual/en/ldap.installation.php

Regards, Sascha
-- 
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE:  http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--- End Message ---
--- Begin Message ---
Hi Sascha,

Thanks for your answer

Le 11/05/2010 15:46, Sascha Meyer a écrit :
Hi Bruno,

Bruno wrote:
Does anyone know how to use SASL within LDAP on php 5.2.13 or 5.3.2
(copying libsasl.dll in the PATH doesn't work) ? Do I mandatory compile
PHP ?

You need to add your PHP directory to the path or copy libeay32.dll and 
ssleay32.dll into a folder contained in your PATH. libsasl.dll has only been 
necessary for PHP versions<  4.3.0 [3].

These Dlls are une the php folder, which is contained in my PATH, but "<?php echo (function_exists('ldap_sasl_bind')) ? 'true' : 'false'; ?>" always write false.


Why php_mssql.dll and php_pdo_mssql.dll have disappeared from the lasts
windows packages of php 5.3.2 on windows.php.net ?

The MSSQL extension has been removed in PHP version 5.3 [1] because there is a new 
extension available from Microsoft called "SQL Server Driver for PHP" [2] and 
the support for the old extension has been dropped, same applies for the PDO MSSQL 
extension. The new extension is compatible to older and newer versions of SQL Server but 
requires a rewrite of your code to use the new extension.


Didn't remember that, thanks.

Regards,

Bruno

--- End Message ---
--- Begin Message ---
Hi Bruno,

Bruno wrote:
> These Dlls are une the php folder, which is contained in my PATH, but 
> "<?php echo (function_exists('ldap_sasl_bind')) ? 'true' : 'false'; ?>" 
> always write false.

What does your phpinfo() say about LDAP support? Are the rest of the LDAP 
functions (ldap_connect(),ldap_bind()) available?

Regards,

Sascha
-- 
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE:  http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--- End Message ---
--- Begin Message ---
Hi Sascha,

Le 11/05/2010 17:22, Sascha Meyer a écrit :

What does your phpinfo() say about LDAP support? Are the rest of the LDAP 
functions (ldap_connect(),ldap_bind()) available?


My phpinfo() file says that the ldap extension is loaded and the rest of the LDAP functions are working properly. It's only ldap_sasl_bind which give me some problems.

Regards,

Bruno

--- End Message ---
--- Begin Message ---
Hi,

While configuring PHP (configure command) one has to use the switch 
--with-ldap-sasl, otherwise this function is undefined. Probably the LDAP 
library you are using is not configured with this switch. Try compiling with 
this switch yourself.

Thanks,
Don.

-----Original Message-----
From: Bruno CHALOPIN [mailto:bruno.chalo...@laposte.net] 
Sent: Tuesday, May 11, 2010 12:17 PM
To: php-wind...@lists.php.net
Subject: Re: [PHP-WIN] 2 questions on mssql and ldap

Hi Sascha,

Le 11/05/2010 17:22, Sascha Meyer a écrit :
>
> What does your phpinfo() say about LDAP support? Are the rest of the LDAP 
> functions (ldap_connect(),ldap_bind()) available?
>

My phpinfo() file says that the ldap extension is loaded and the rest of 
the LDAP functions are working properly. It's only ldap_sasl_bind which 
give me some problems.

Regards,

Bruno

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



--- End Message ---
--- Begin Message ---
Hi Don,

Don wrote:
> While configuring PHP (configure command) one has to use the switch
> --with-ldap-sasl, otherwise this function is undefined. Probably the LDAP 
> library
> you are using is not configured with this switch. Try compiling with this
> switch yourself.

could you give us some more info on this topic? I didn't knew that you have to 
compile PHP on windows for extensions to work and thought compiling was just a 
requirement on most *nix systems.

Which files are necessary to compile SASL support into PHP and which steps have 
to be taken?

Thanks and regards, 

Sascha
-- 
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE:  http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--- End Message ---

Reply via email to