[PHP-DOC] #35535 [NEW]: PDO PHP 5.0.x install instructions need updating

2005-12-03 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: N/A
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  PDO PHP 5.0.x install instructions need updating

Description:

The installation instructions for "PHP 5.0 and up on Unix systems" need
updating because PDO is no longer available to be installed under the pear
install PDO command.


Actual result:
--
[EMAIL PROTECTED] [/usr/lib/php/extensions]# pear install pdo
No releases available for package "pear.php.net/pdo" - package pecl/pdo
can be installed with "pecl install pdo"
Cannot initialize 'pdo', invalid or missing package file
Package "pdo" is not valid
install failed

-- 
Edit bug report at http://bugs.php.net/?id=35535&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35535&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35535&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35535&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35535&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=35535&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=35535&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=35535&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=35535&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=35535&r=support
Expected behavior:http://bugs.php.net/fix.php?id=35535&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=35535&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=35535&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35535&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35535&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35535&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=35535&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=35535&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35535&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=35535&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=35535&r=mysqlcfg


[PHP-DOC] #35532 [Opn->Csd]: stream_filter_append documentation page fopen error

2005-12-03 Thread nlopess
 ID:   35532
 Updated by:   [EMAIL PROTECTED]
 Reported By:  switch at andrewwade dot co dot uk
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2005-12-03 18:40:33] switch at andrewwade dot co dot uk

or w+.



[2005-12-03 18:39:22] switch at andrewwade dot co dot uk

Description:

The stream_filter_append() documentation page, in the example fopen
uses "rw" for the mode. I believe it should be "x" instead.






-- 
Edit this bug report at http://bugs.php.net/?id=35532&edit=1


[PHP-DOC] cvs: phpdoc /en/reference/stream/functions stream-filter-append.xml

2005-12-03 Thread Nuno Lopes
nlopess Sat Dec  3 15:00:57 2005 EDT

  Modified files:  
/phpdoc/en/reference/stream/functions   stream-filter-append.xml 
  Log:
  fix #35532: fix example
  
http://cvs.php.net/diff.php/phpdoc/en/reference/stream/functions/stream-filter-append.xml?r1=1.15&r2=1.16&ty=u
Index: phpdoc/en/reference/stream/functions/stream-filter-append.xml
diff -u phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.15 
phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.16
--- phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.15  Tue Feb 
22 02:59:33 2005
+++ phpdoc/en/reference/stream/functions/stream-filter-append.xml   Sat Dec 
 3 15:00:56 2005
@@ -1,5 +1,5 @@
 
-
+
   

 stream_filter_append
@@ -50,7 +50,7 @@
 

[PHP-DOC] #35532 [Opn]: stream_filter_append documentation page fopen error

2005-12-03 Thread switch at andrewwade dot co dot uk
 ID:   35532
 User updated by:  switch at andrewwade dot co dot uk
 Reported By:  switch at andrewwade dot co dot uk
 Status:   Open
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  Irrelevant
 New Comment:

or w+.


Previous Comments:


[2005-12-03 18:39:22] switch at andrewwade dot co dot uk

Description:

The stream_filter_append() documentation page, in the example fopen
uses "rw" for the mode. I believe it should be "x" instead.






-- 
Edit this bug report at http://bugs.php.net/?id=35532&edit=1


[PHP-DOC] #35532 [NEW]: stream_filter_append documentation page fopen error

2005-12-03 Thread switch at andrewwade dot co dot uk
From: switch at andrewwade dot co dot uk
Operating system: n/a
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  stream_filter_append documentation page fopen error

Description:

The stream_filter_append() documentation page, in the example fopen uses
"rw" for the mode. I believe it should be "x" instead.


-- 
Edit bug report at http://bugs.php.net/?id=35532&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35532&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35532&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35532&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35532&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=35532&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=35532&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=35532&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=35532&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=35532&r=support
Expected behavior:http://bugs.php.net/fix.php?id=35532&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=35532&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=35532&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35532&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35532&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35532&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=35532&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=35532&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35532&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=35532&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=35532&r=mysqlcfg


[PHP-DOC] #35449 [Fbk->Opn]: stream_socket_recvfrom() docs don't mention about it's buffer bypassing

2005-12-03 Thread profic at kursknet dot ru
 ID:  35449
 User updated by: profic at kursknet dot ru
 Reported By: profic at kursknet dot ru
-Status:  Feedback
+Status:  Open
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 New Comment:

Hm. I didn't suppose, that documentashion problem needs test case. Here
is one:
http://localhost/ HTTP/1.0\r\n");
stream_socket_sendto($s, "Host: localhost\r\n");
stream_socket_sendto($s, "\r\n");

echo "stream_get_line():\n";
var_dump(stream_get_line($s, 1500, "\r\n"));
echo "stream_socket_recvfrom():\n";
var_dump(stream_socket_recvfrom($s, 100));
echo "stream_get_contents():\n";
var_dump(stream_get_contents($s, 100));
?>

Output of it for my system is:
stream_get_line():
string(15) "HTTP/1.1 200 OK"
stream_socket_recvfrom():
bool(false)
stream_get_contents():
string(100) "Date: Sat, 03 Dec 2005 14:32:05 GMT
Server: Apache/2.0.54 (Win32) PHP/5.1.0RC5-dev
Content-Length:"

As you can see stream_socket_recvfrom() returns false the same as when
"end of socket" is reached. And it is reached. All incoming data from
socket is stored in stream buffer, call to stream_get_contents() proves
that.


Previous Comments:


[2005-11-29 14:26:30] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.





[2005-11-28 15:30:49] profic at kursknet dot ru

Description:

Calls to stream_socket_recvfrom() on socket-based streams, after calls
to buffer-based stream funcions (like fread(), steam_get_line()) may
lead to unexpected (to user) results as it is bypass stream buffer.
Thus is seems to be a good idea to have warning/note in documentation
of stream_socket_recvfrom() about this. Elsewise it can be runtime
notice in case of use stream_socket_recvfrom() on stream with non-empty
buffer.







-- 
Edit this bug report at http://bugs.php.net/?id=35449&edit=1


Re: [PHP-DOC] #35432 [Asn]: make fails with PDO and MySQL5

2005-12-03 Thread Gabor Hojtsy
>>> I was considering making a driver-install.xml page inside pdo that
>>> would explain how to install the drivers.  Like ordering of the
>>> extensions in php.ini, shared vs static installation and also cross
>>> reference the pecl.install page.  So instead of having a
>>> &reftitle.install; in all the driver pages, since most of them will
>>> be the same except sqlite, just cover all the procedures in that
>>> page.
>>>
>>> Now that I typed that, a install section per driver sounds like the
>>> best solution. 
>>
>> Well, otherwise readers would not find it... Unless this driver-install
>> page is linked from all the install pages.
> 
> I prefer a install section per driver. I myelf installed pdo and some
> drivers yesterday (the first time) with php 5.1.1. for an ISP and I
> expected the install instructions for the drivers in their corresponding
>  driver-specific page.
> IMHO, this seems to be the most user friendly solution.
> 
> Friedhelm

OK then keep going on this route.

Goba


Re: [PHP-DOC] #35432 [Asn]: make fails with PDO and MySQL5

2005-12-03 Thread Friedhelm Betz

Hi Goba,


Curt Zirzow wrote:


On Thu, Dec 01, 2005 at 08:45:34PM +0100, Gabor Hojtsy wrote:



I almost went as far as creating a whole document dedicated to the
installation of PDO, but wasn't sure where it would go.

[1] http://livedocs.zirzow.dyndns.org/index.php?l=en&q=ref.pdo
[2] http://livedocs.zirzow.dyndns.org/index.php?l=en&q=ref.pdo-sqlite

Curt.


Curt, this looks nice. What is the thing you are not sure about?



I was considering making a driver-install.xml page inside pdo that
would explain how to install the drivers.  Like ordering of the
extensions in php.ini, shared vs static installation and also cross
reference the pecl.install page.  So instead of having a
&reftitle.install; in all the driver pages, since most of them will
be the same except sqlite, just cover all the procedures in that
page.

Now that I typed that, a install section per driver sounds like the
best solution. 



Well, otherwise readers would not find it... Unless this driver-install
page is linked from all the install pages.



I prefer a install section per driver. I myelf installed pdo and some 
drivers yesterday (the first time) with php 5.1.1. for an ISP and I 
expected the install instructions for the drivers in their corresponding 
 driver-specific page.

IMHO, this seems to be the most user friendly solution.

Friedhelm


Re: [PHP-DOC] #35432 [Asn]: make fails with PDO and MySQL5

2005-12-03 Thread Gabor Hojtsy
Curt Zirzow wrote:
> On Thu, Dec 01, 2005 at 08:45:34PM +0100, Gabor Hojtsy wrote:
> 
>>>I almost went as far as creating a whole document dedicated to the
>>>installation of PDO, but wasn't sure where it would go.
>>>
>>>[1] http://livedocs.zirzow.dyndns.org/index.php?l=en&q=ref.pdo
>>>[2] http://livedocs.zirzow.dyndns.org/index.php?l=en&q=ref.pdo-sqlite
>>>
>>>Curt.
>>
>>Curt, this looks nice. What is the thing you are not sure about?
>  
> I was considering making a driver-install.xml page inside pdo that
> would explain how to install the drivers.  Like ordering of the
> extensions in php.ini, shared vs static installation and also cross
> reference the pecl.install page.  So instead of having a
> &reftitle.install; in all the driver pages, since most of them will
> be the same except sqlite, just cover all the procedures in that
> page.
> 
> Now that I typed that, a install section per driver sounds like the
> best solution. 

Well, otherwise readers would not find it... Unless this driver-install
page is linked from all the install pages.

Goba