php-windows Digest 17 Nov 2006 16:19:06 -0000 Issue 3073

Topics (messages 27278 through 27284):

Re: PHP DLL's
        27278 by: Frank M. Kromann
        27279 by: Vincent DUPONT
        27280 by: Niel Archer
        27281 by: Dale Attree

Problem getting PEAR going
        27282 by: Niel Archer
        27283 by: Elizabeth Smith

Re: Automatically detecting Internet Speed
        27284 by: Daniel Anderson

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Sounds like a version problem. PHP's dll's can not be shared between 5.0.x
and 5.2.x

Make sure you delete all copies of dll's from version 5.0. This includes
copies in \windows\system32 or other directories included in your path or
bin directory for apache.

- Frank

> Hi all,
> 
>  
> 
> I was running PHP 5.0.3RC with mysql. Then I upgraded to PHP 5.2.0 and
> include PDO.
> 
>  
> 
> On 5.0.3, mysql works fine, but PDO doesn't.
> 
>  
> 
> On 5.2.0, mysql doesn't work and PDO does.
> 
>  
> 
> Apache keeps throwing out cannot find the specified module errors.
> 
>  
> 
> Any ideas?
> 
>  
> 
> Thanks,
> 
> Dale
> 
>  
> 
> /* Config */
> 
> $OS = 'Win XP';
> 
> $Webserver = 'Apache 1.3.27';
> 
> 

--- End Message ---
--- Begin Message ---
if you need Dlls for PHP modules or dependency, go to 
http://pecl4win.php.net/

vincent


-----Original Message-----
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: Thu 16/11/2006 13:04
To: Dale Attree
Cc: [email protected]
Subject: Re: [PHP-WIN] PHP DLL's
 
Sounds like a version problem. PHP's dll's can not be shared between 5.0.x
and 5.2.x

Make sure you delete all copies of dll's from version 5.0. This includes
copies in \windows\system32 or other directories included in your path or
bin directory for apache.

- Frank

> Hi all,
> 
>  
> 
> I was running PHP 5.0.3RC with mysql. Then I upgraded to PHP 5.2.0 and
> include PDO.
> 
>  
> 
> On 5.0.3, mysql works fine, but PDO doesn't.
> 
>  
> 
> On 5.2.0, mysql doesn't work and PDO does.
> 
>  
> 
> Apache keeps throwing out cannot find the specified module errors.
> 
>  
> 
> Any ideas?
> 
>  
> 
> Thanks,
> 
> Dale
> 
>  
> 
> /* Config */
> 
> $OS = 'Win XP';
> 
> $Webserver = 'Apache 1.3.27';
> 
> 

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

--- End Message ---
--- Begin Message ---
HI

Have you read the upgrading guide?  Which covers upgrading from 5.x to
5.2.0 specifically.
http://www.php.net/UPDATE_5_2.txt

Niel

--- End Message ---
--- Begin Message ---
Thanks guys.

I downloaded PHP 5.2.0 and removed the previous versions. Got all extensions
working.

-----Original Message-----
From: Niel Archer [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2006 03:26 PM
To: [email protected]
Subject: Re: [PHP-WIN] PHP DLL's

HI

Have you read the upgrading guide?  Which covers upgrading from 5.x to 5.2.0
specifically.
http://www.php.net/UPDATE_5_2.txt

Niel

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





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date: 2006/11/13

--- End Message ---
--- Begin Message ---
Hi all

Just spent a chunk of the afternoon setting up Apache 2.2 with PHP 5.2.0.
The basic configuration works just fine, but I cannot get PEAR to
install.  All I get is a series of:

Warning: Cannot use a scalar value as an array in
phar://go-pear.phar/Archive/Tar.php on line X

The line number varies (268, 427, 429, 2334, 2338).
That is usually followed by:
'Could not get contents of package "". Invalid tgz file.'

It looks to me, as if the configuration file  has filenames missing, but
this is out of the 'box'.  Anyone have any ideas?

Niel

--- End Message ---
--- Begin Message ---
Niel Archer wrote:
Hi all

Just spent a chunk of the afternoon setting up Apache 2.2 with PHP 5.2.0.
The basic configuration works just fine, but I cannot get PEAR to
install.  All I get is a series of:

Warning: Cannot use a scalar value as an array in
phar://go-pear.phar/Archive/Tar.php on line X

The line number varies (268, 427, 429, 2334, 2338).
That is usually followed by:
'Could not get contents of package "". Invalid tgz file.'

It looks to me, as if the configuration file  has filenames missing, but
this is out of the 'box'.  Anyone have any ideas?

Niel

This is a known problem - the 5.2 windows zip official release does NOT contain the proper go-pear.phar file (the installer and source releases, however, do) - a quick google search would have given you the answer

http://cvs.php.net/viewvc.cgi/pearweb/public_html/go-pear.phar?view=co

Is the version you need - overwrite your current go-pear.phar and it should work fine - they really should rerelease it with the proper file or at least do an announcement on php.net
--- End Message ---
--- Begin Message ---
Hey, is there a particular algorithm that will enable the PHP script to detect 
the user's internet connection?

Cheers,
    Dan

--- End Message ---

Reply via email to