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

2005-12-01 Thread Gabor Hojtsy
> Just a side note:
> 
> I have done a little work on re-wording the install section on PDO
> addressing #1 and #2 [1], my intent was to keep the install section
> on the PDO page as small as possible and have additional
> installation docs inside each DB driver page [2].
> 
> 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?

Goba


[PHP-DOC] #35503 [Bgs]: Doc request

2005-12-01 Thread nlopess
 ID:   35503
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jumpintodeath at hotmail dot com
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

b) yes, dsssl sheets produce a lot of line breaks. as they don't hurt
we don't care about them :)

c) the on-line version has, but I think the local version doesn't. A
little regex does the trick.


Previous Comments:


[2005-12-01 18:06:27] [EMAIL PROTECTED]

You should really submit each of these at separate reports if you are
suggesting changes/bugs. But a and c are more suited to the doc mailing
list. See http://www.php.net/mailing-lists.php

a) You'll find the sources at http://cvs.php.net/phpdoc/ but also see
http://www.php.net/anoncvs.php
b) I can't see this. Please submit a separate report explaining how we
replicate this and on which platform (source shows fine for me in
Firefox/Windows)
c) This is already there. View source, lines 5 and 6



[2005-12-01 16:51:51] jumpintodeath at hotmail dot com

Description:

Three things to the documentation

a. It's mentioned the doc was written in xml and converted - would you
provide the xml as well? would be great!

b. anyway, the html-code is full of unneccessary linebreaks. (linebreak
BEFORE every ">" and after every attribute - I was wondering what that's
for ...) hope somehow it could be more 'tidy'.

c. A tiny extra-line in every file for adding stylesheets () would do a great
job to anyone who likes reading the doc in a different style or color,
not changing browser configuration or all html-files or whatsoever.


Even if my request(s) will be ignored (i'm afraid it/they will): the
documentation is very useful. (and php is as well *g*). using it almost
every day and happy with it.

greetings,
 Jump






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


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

2005-12-01 Thread mail at philipp-wagner dot com
 ID:   35432
 User updated by:  mail at philipp-wagner dot com
 Reported By:  mail at philipp-wagner dot com
 Status:   Assigned
 Bug Type: Documentation problem
 Operating System: SuSE Linux 8.0
 PHP Version:  5CVS-2005-11-27 (snap)
 Assigned To:  dbs
 New Comment:

That's it.


Previous Comments:


[2005-12-01 04:59:45] [EMAIL PROTECTED]

Wow... this is a bit of a complex beast. So to summarize, the
documentation updates we're looking at:

1. If PDO is built as a shared modules, all PDO drivers must also be
built as shared modules.
2. If ext/pdo_sqlite is built as a shared module, ext/sqlite must also
be built as a shared module.
3. In the extensions entries, if ext/pdo_sqlite is built as a shared
module, php.ini must specify pdo_sqlite first, followed by sqlite.



[2005-11-30 21:47:30] [EMAIL PROTECTED]

Dan, can you take a look at this please?



[2005-11-30 21:42:01] mail at philipp-wagner dot com

I'm really sorry that I'm adding again some small thing, but I figured
out that it is also important in which order you load the modules. You
have to load the PDO modules first, before you load the sqlite module,
otherwise you get the following error:
Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20050922/sqlite.so' -
/usr/local/lib/php/extensions/no-debug-non-zts-20050922/sqlite.so:
undefined symbol: php_pdo_register_driver in Unknown on line
0

The PDO modules are loaded correctly, but the sqlite module won't until
you place the extension=sqlite.so line in the php.ini file after the pdo
extensions. 

That should be mentioned in the documentation also.



[2005-11-30 20:15:30] mail at philipp-wagner dot com

It's really a documentation problem then. It's NOT enough to just
specify (as you wrote above)
--enable-pdo=shared
--with-pdo-mysql=shared,/usr/local/mysql
--with-sqlite=shared

I had to use
--enable-pdo=shared
--with-pdo-mysql=shared,/usr/local/mysql
--with-sqlite=shared
--with-pdo-sqlite=shared

to get it to work. This really should be be mentioned in the
documentation. The documentation only suggests to compile with
--enable-pdo=shared, but that won't work, if you don't use at least the
corresponding sqlite configure options also.



[2005-11-30 18:47:41] [EMAIL PROTECTED]

You "simply" need to tell configure to build what you want it to build,
how you want it built.

--enable-pdo=shared
--with-pdo-mysql=shared,/usr/local/mysql
--with-sqlite=shared

I know it sucks that we can't automatically make it work that way you
want it; configure scripts have their limitations.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35432

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



[PHP-DOC] #35503 [Opn->Bgs]: Doc request

2005-12-01 Thread dmytton
 ID:   35503
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jumpintodeath at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

You should really submit each of these at separate reports if you are
suggesting changes/bugs. But a and c are more suited to the doc mailing
list. See http://www.php.net/mailing-lists.php

a) You'll find the sources at http://cvs.php.net/phpdoc/ but also see
http://www.php.net/anoncvs.php
b) I can't see this. Please submit a separate report explaining how we
replicate this and on which platform (source shows fine for me in
Firefox/Windows)
c) This is already there. View source, lines 5 and 6


Previous Comments:


[2005-12-01 16:51:51] jumpintodeath at hotmail dot com

Description:

Three things to the documentation

a. It's mentioned the doc was written in xml and converted - would you
provide the xml as well? would be great!

b. anyway, the html-code is full of unneccessary linebreaks. (linebreak
BEFORE every ">" and after every attribute - I was wondering what that's
for ...) hope somehow it could be more 'tidy'.

c. A tiny extra-line in every file for adding stylesheets () would do a great
job to anyone who likes reading the doc in a different style or color,
not changing browser configuration or all html-files or whatsoever.


Even if my request(s) will be ignored (i'm afraid it/they will): the
documentation is very useful. (and php is as well *g*). using it almost
every day and happy with it.

greetings,
 Jump






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


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

2005-12-01 Thread Curt Zirzow

On Thu, Dec 01, 2005 at 04:59:47AM +0100, [EMAIL PROTECTED] wrote:
> 
> Wow... this is a bit of a complex beast. So to summarize, the
> documentation updates we're looking at:
> 
> 1. If PDO is built as a shared modules, all PDO drivers must also be
> built as shared modules.
> 2. If ext/pdo_sqlite is built as a shared module, ext/sqlite must also
> be built as a shared module.
> 3. In the extensions entries, if ext/pdo_sqlite is built as a shared
> module, php.ini must specify pdo_sqlite first, followed by sqlite.
 
Just a side note:

I have done a little work on re-wording the install section on PDO
addressing #1 and #2 [1], my intent was to keep the install section
on the PDO page as small as possible and have additional
installation docs inside each DB driver page [2].

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.
-- 
cat .signature: No such file or directory


[PHP-DOC] #35503 [NEW]: Doc request

2005-12-01 Thread jumpintodeath at hotmail dot com
From: jumpintodeath at hotmail dot com
Operating system: Irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Doc request

Description:

Three things to the documentation

a. It's mentioned the doc was written in xml and converted - would you
provide the xml as well? would be great!

b. anyway, the html-code is full of unneccessary linebreaks. (linebreak
BEFORE every ">" and after every attribute - I was wondering what that's
for ...) hope somehow it could be more 'tidy'.

c. A tiny extra-line in every file for adding stylesheets () would do a great job
to anyone who likes reading the doc in a different style or color, not
changing browser configuration or all html-files or whatsoever.


Even if my request(s) will be ignored (i'm afraid it/they will): the
documentation is very useful. (and php is as well *g*). using it almost
every day and happy with it.

greetings,
 Jump


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


[PHP-DOC] cvs: phpdoc /en/reference/yaz/functions yaz-connect.xml

2005-12-01 Thread Nuno Lopes
nlopess Thu Dec  1 08:46:04 2005 EDT

  Modified files:  
/phpdoc/en/reference/yaz/functions  yaz-connect.xml 
  Log:
  WS fix, sorry. how I hate 'inteligent' editors such as kwrite..
  
http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/functions/yaz-connect.xml?r1=1.15&r2=1.16&ty=u
Index: phpdoc/en/reference/yaz/functions/yaz-connect.xml
diff -u phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.15 
phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.16
--- phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.15  Thu Dec  1 
08:42:47 2005
+++ phpdoc/en/reference/yaz/functions/yaz-connect.xml   Thu Dec  1 08:46:03 2005
@@ -1,5 +1,5 @@
 
-
+
 
  
   yaz_connect
@@ -167,7 +167,7 @@
An integer that specifies the maximum byte size of a single record
to be returned by a target during retrieval. This
entity is referred to as Exceptional-record-size in the
-  Z39.50 standard.
+  Z39.50 standard.
   
   



[PHP-DOC] cvs: phpdoc /en/reference/yaz/functions yaz-connect.xml /entities global.ent

2005-12-01 Thread Nuno Lopes
nlopess Thu Dec  1 08:42:48 2005 EDT

  Modified files:  
/phpdoc/en/reference/yaz/functions  yaz-connect.xml 
/phpdoc/entitiesglobal.ent 
  Log:
  moved yaz url to entity
  
http://cvs.php.net/diff.php/phpdoc/en/reference/yaz/functions/yaz-connect.xml?r1=1.14&r2=1.15&ty=u
Index: phpdoc/en/reference/yaz/functions/yaz-connect.xml
diff -u phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.14 
phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.15
--- phpdoc/en/reference/yaz/functions/yaz-connect.xml:1.14  Wed Nov 30 
14:52:56 2005
+++ phpdoc/en/reference/yaz/functions/yaz-connect.xml   Thu Dec  1 08:42:47 2005
@@ -1,5 +1,5 @@
 
-
+
 
  
   yaz_connect
@@ -149,11 +149,8 @@
   
An integer that specifies the maximum byte size of all records
to be returned by a target during retrieval. See the
-   http://www.loc.gov/z3950/agency/markup/04.html#3.2.1.1.4";
->
-Z39.50 standard
-for more information.
+   Z39.50 standard for more
+   information.
   
   

@@ -170,11 +167,7 @@
An integer that specifies the maximum byte size of a single record
to be returned by a target during retrieval. This
entity is referred to as Exceptional-record-size in the
-   http://www.loc.gov/z3950/agency/markup/04.html#3.2.1.1.4";
->
-Z39.50 standard
-   .
+  Z39.50 standard.
   
   

http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.251&r2=1.252&ty=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.251 phpdoc/entities/global.ent:1.252
--- phpdoc/entities/global.ent:1.251Tue Nov 15 16:11:07 2005
+++ phpdoc/entities/global.ent  Thu Dec  1 08:42:47 2005
@@ -1,6 +1,6 @@
 

[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-connect.xml mysql-pconnect.xml

2005-12-01 Thread Jakub Vrana
vrana   Thu Dec  1 05:05:55 2005 EDT

  Modified files:  
/phpdoc/en/reference/mysql/functionsmysql-connect.xml 
mysql-pconnect.xml 
  Log:
  MYSQL_CLIENT_SSL
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-connect.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.18 
phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.19
--- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.18  Mon Oct  3 
11:31:51 2005
+++ phpdoc/en/reference/mysql/functions/mysql-connect.xml   Thu Dec  1 
05:05:52 2005
@@ -1,5 +1,5 @@
 
-
+
 
  
   mysql_connect
@@ -77,6 +77,7 @@
   
The client_flags parameter can be a combination 
of the following constants:
+   MYSQL_CLIENT_SSL,
MYSQL_CLIENT_COMPRESS, 
MYSQL_CLIENT_IGNORE_SPACE or
MYSQL_CLIENT_INTERACTIVE.
http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-pconnect.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/mysql/functions/mysql-pconnect.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.10 
phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.11
--- phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.10 Wed Jun 22 
06:39:09 2005
+++ phpdoc/en/reference/mysql/functions/mysql-pconnect.xml  Thu Dec  1 
05:05:52 2005
@@ -1,5 +1,5 @@
 
-
+
 
  
   mysql_pconnect
@@ -92,6 +92,7 @@
   
The client_flags parameter can be a combination 
of the following constants:
+   MYSQL_CLIENT_SSL, 
MYSQL_CLIENT_COMPRESS, 
MYSQL_CLIENT_IGNORE_SPACE or
MYSQL_CLIENT_INTERACTIVE.


Re: [PHP-DOC] Translating PDO, Files Generated by xml_proto.php

2005-12-01 Thread Friedhelm Betz

Dan Scott wrote:

Do you want me to remove the comment from the source files?

I had just left it in because, well, that's what the xml_proto script
put in, and I thought it was meant to direct other people writing
documentation to the script. But if it's just annoying I'm happy to
delete it.


IMHO it is not annoying (at least me) and in doubt it can people direct 
to the script.


+1 for keeping the comment in the script file.

Friedhelm