php-windows Digest 8 Nov 2003 01:02:30 -0000 Issue 1989

Topics (messages 22033 through 22041):

Re: Why is phpinfo giving me these version numbers?
        22033 by: Eric COLINET

Re: include() problem
        22034 by: Eric COLINET
        22035 by: Eric COLINET

popen behaviour 4.3.2 & 4.3.3 bug ? (cli/php-gtk)
        22036 by: Simon Wheeler
        22037 by: Ignatius Reilly
        22038 by: Eric COLINET
        22039 by: Simon Wheeler
        22040 by: Eric COLINET

gallery
        22041 by: Paul Fritzsche

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 --- Hi !

"The one that shows you the problem..." :p

I don't know very well MySQL 4 sorry !!

Maybe a MySQL 4 forum can help you...

Eric

At 22:07 06/11/2003, Roderick Martin wrote:
Which log should I be looking at? MySQL appears to maintain several logs.


On Nov 5, 2003, at 11:59 AM, Eric COLINET wrote:


Hi !

I'm not familiar with the services of windows but for:

- The first question: The version number shown is the version number of the client API ie the part of the code that was compiled with PHP (ext/mysql).
under windows the mysql librairy that is bundled with the PHP distribution is always compiled in.
I don't now if it's an issue with MySQL 4 but i don't think so and PHP itself can't stop your MySQL4 service


- The second question: The directives are set in your php.ini file that is somewhere on your system, check the PHP documentation but it's safe to let the default values (ie: no value).

For the problem that MySQL won't run as a service you should check the log of your MySQL server, the reason could be trivial.

Good luck ;)

Eric


At 16:40 05/11/2003, Roderick Martin wrote:
I had PHP 4 and MySQL 3 installed on a Windows NT4 server running Netscape Enterprise. Two weeks ago, I went in, wiped out all traces I could find of MySQL and installed MySQL 4. Everything went okay except it refuses to run as a service.

Today I ran phpinfo and under mysql, I have these values...

MySQL Support: enabled
Active Persistent Links: 0
Active Links: 0
Client API version: 3.23.32

Directive                               Local Value
  Master Value

mysql.allow_persistent          On
  On
mysql.default_host                      no value
          no value
mysql.default_password          no value
  no value
mysql.default_port                      no value
          no value
mysql.default_socket                    no value
          no value
mysql.default_user                      no value
          no value
mysql.max_links                         Unlimited      Unlimited
mysql.max_persistent                    Unlimited      Unlimited

My first question is; shouldn't the Client API version show me the 4.x.x of MySQL that I installed?

My second question is why are almost all the other directives have no value?

And might this indicate why it won't run as a service?


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

--- End Message ---
--- Begin Message --- Hi !

A very simple reason:

D:\LOCAL\src\php-4.3.2\main\config.w32.h(16):
        #define PHP_INCLUDE_PATH        ".;c:\\php4\\pear"

Eric

At 02:07 07/11/2003, you wrote:
Hi all,

I'm having a problem with my scripts in that I'm having the follwoing error
message when I try to include a file into a script...

Warning: Failed opening 'C:\Program Files\Apache Group\Apache\htdocs\mymarket
emplates\header.php' for inclusion (include_path='.;c:\php4\pear') in
C:\Program Files\Apache Group\Apache\htdocs\mymarket\index.php on line 22

why is this showing up within my error message,
(include_path='.;c:\php4\pear')?

Within the php.ini file the inlcude_path directive is commented out, so I
doubt thats the cause.

Cheers guys

Trystan Hughes
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message --- Sorry !

It is part of the PHP sources in fact !

".;c:\\php4\\pear" Is the default include path when none is specified in the php.ini file

I've mentionned the header file of the PHP sources where it is defined in fact ;)

Eric


At 11:57 07/11/2003, [EMAIL PROTECTED] wrote: Sorry, I don't understand what you mean? :-s

At 11:57 07/11/2003, [EMAIL PROTECTED] wrote:
In a message dated 11/7/2003 10:29:29 GMT Standard Time, [EMAIL PROTECTED] writes:


A very simple reason:

D:\LOCAL\src\php-4.3.2\main\config.w32.h(16):
         #define PHP_INCLUDE_PATH        ".;c:\\php4\\pear"


Sorry, I don't understand what you mean? :-s

Tryst

--- End Message ---
--- Begin Message ---
Hi ... this line (used in a php-gtk app via the CLI )

$pp = popen( 'c:\phpdev\php\php-4.3.3\php.exe -q -f '.$app . $str ,'r' ) ;

dies 'orribly with no errors reported

but with 4.3.2 ..

$pp = popen( 'c:\phpdev\php\php-4.3.2\php.exe -q -f '.$app . $str ,'r' ) ;

its just dandy and does exactly what is expected eg start an instance of the
script is a new (gtk) window
there is a lot more code but for sure it dies just there.
I would have posted this on the gtk lists but I think its php itself at
issue ? any ideas anyone ??

Regards,
Simon.

--- End Message ---
--- Begin Message ---
Wild guess:

 'c:\phpdev\php\php-4.3.2\php.exe -q -f ' looks risky

better
 'c:\\phpdev\\php\\...
or  'c:/phpdev/php/...

_________________________
----- Original Message -----
From: "Simon Wheeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 12:59 PM
Subject: [PHP-WIN] popen behaviour 4.3.2 & 4.3.3 bug ? (cli/php-gtk)


> Hi ... this line (used in a php-gtk app via the CLI )
>
> $pp = popen( 'c:\phpdev\php\php-4.3.3\php.exe -q -f '.$app . $str ,'r' ) ;
>
> dies 'orribly with no errors reported
>
> but with 4.3.2 ..
>
> $pp = popen( 'c:\phpdev\php\php-4.3.2\php.exe -q -f '.$app . $str ,'r' ) ;
>
> its just dandy and does exactly what is expected eg start an instance of
the
> script is a new (gtk) window
> there is a lot more code but for sure it dies just there.
> I would have posted this on the gtk lists but I think its php itself at
> issue ? any ideas anyone ??
>
> Regards,
> Simon.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message --- Does it freeze or it crashes ?

At 12:59 07/11/2003, Simon Wheeler wrote:
Hi ... this line (used in a php-gtk app via the CLI )

$pp = popen( 'c:\phpdev\php\php-4.3.3\php.exe -q -f '.$app . $str ,'r' ) ;

dies 'orribly with no errors reported

but with 4.3.2 ..

$pp = popen( 'c:\phpdev\php\php-4.3.2\php.exe -q -f '.$app . $str ,'r' ) ;

its just dandy and does exactly what is expected eg start an instance of the
script is a new (gtk) window
there is a lot more code but for sure it dies just there.
I would have posted this on the gtk lists but I think its php itself at
issue ? any ideas anyone ??

Regards,
Simon.

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

--- End Message ---
--- Begin Message ---
"Eric Colinet" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does it freeze or it crashes ?

Crashes , gtk::events-pending stops the freeze associated with opening a new
process , the crash is nasty as well with a Win 'do you want to send an
error report' type dialog , MSVCC gives a dump but what use that is I don't
know ?

"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Wild guess:
>
>  'c:\phpdev\php\php-4.3.2\php.exe -q -f ' looks risky
>
> better
>  'c:\\phpdev\\php\\...
> or  'c:/phpdev/php/...

fair point but the behaviour should be the same accross versions ? IME PHP
handles this internally , it also seems happy with forward or backslashes.
regardless the exact same code works with 4.3.2 but not 4.3.3 ,
trying to compile php-gtk against 4.3.4 now but having issues with that ;)
, if it works in that I will be happy , but would like to submit a bug if
thats what it is.

Regards.
Simon

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

Scuse it's an other question but, Do you use php_win.exe to launch your script ? If it's the case try with the regular php/cli to see what happend please.




At 14:15 07/11/2003, Simon Wheeler wrote:


"Eric Colinet" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does it freeze or it crashes ?

Crashes , gtk::events-pending stops the freeze associated with opening a new
process , the crash is nasty as well with a Win 'do you want to send an
error report' type dialog , MSVCC gives a dump but what use that is I don't
know ?

"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Wild guess:
>
>  'c:\phpdev\php\php-4.3.2\php.exe -q -f ' looks risky
>
> better
>  'c:\\phpdev\\php\\...
> or  'c:/phpdev/php/...

fair point but the behaviour should be the same accross versions ? IME PHP
handles this internally , it also seems happy with forward or backslashes.
regardless the exact same code works with 4.3.2 but not 4.3.3 ,
trying to compile php-gtk against 4.3.4 now but having issues with that ;)
, if it works in that I will be happy , but would like to submit a bug if
thats what it is.

Regards.
Simon

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

--- End Message ---
--- Begin Message ---
I am loking for a good and relatively easy gallery-program for php. I have
about 2500 photos I wanna publish and make subcategories and so on =)
Any suggestions? Maybe with site included?

Regards
Paul

--- End Message ---

Reply via email to