php-windows Digest 15 Sep 2010 13:55:36 -0000 Issue 3862
Topics (messages 30328 through 30333):
Debugging & Profiling PHP on Windows
30328 by: Tommy Pham
30332 by: Pierre Joye
30333 by: Tommy Pham
php conditionals?
30329 by: stao
30330 by: Tommy Pham
30331 by: Jacob Kruger
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 ---
Hi,
I'm trying to debug and profile a PHP app on Windows but I can't seem to get
xdebug's Profiler to enable. Has anyone encounter this problem before?
phpinfo() always shows the below regardless of what settings I have in
php.ini:
xdebug.profiler_aggregate Off
xdebug.profiler_append Off
xdebug.profiler_enable Off
xdebug.profiler_enable_trigger Off
xdebug.profiler_output_dir \
xdebug.profiler_output_name cachegrind.out.%p
The other xdebug's settings change when I make the corresponding changes in
php.ini. The environment is IIS7.5 with PHP 5.3.2-NTS-vc9 as FastCGI.
Xdebug is 2.10-5.3-vc9-nts
Thanks for your help,
Tommy
--- End Message ---
--- Begin Message ---
hi,
you may want to ask on the xdebug support channels:
http://xdebug.org/support.php
On Wed, Sep 15, 2010 at 1:52 AM, Tommy Pham <tommy...@gmail.com> wrote:
> Hi,
>
> I'm trying to debug and profile a PHP app on Windows but I can't seem to get
> xdebug's Profiler to enable. Has anyone encounter this problem before?
>
> phpinfo() always shows the below regardless of what settings I have in
> php.ini:
>
> xdebug.profiler_aggregate Off
> xdebug.profiler_append Off
> xdebug.profiler_enable Off
> xdebug.profiler_enable_trigger Off
> xdebug.profiler_output_dir \
> xdebug.profiler_output_name cachegrind.out.%p
>
> The other xdebug's settings change when I make the corresponding changes in
> php.ini. The environment is IIS7.5 with PHP 5.3.2-NTS-vc9 as FastCGI.
> Xdebug is 2.10-5.3-vc9-nts
>
> Thanks for your help,
> Tommy
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Hi Pierre,
I've tried several times to subscribe to the mailing list and kept on
getting this:
> -----Original Message-----
> From: Ecartis [mailto:ecar...@lists.xdebug.org]
> Sent: Tuesday, September 14, 2010 7:33 PM
> To: tommy...@gmail.com
> Subject: Ecartis command results: appsub xdebug-general
> tommy...@gmail.com 4C901D90:209D.1:kqrohttrareny //
>
>
> >> appsub xdebug-general tommy...@gmail.com
> 4C901D90:209D.1:kqrohttrareny
> >> //
> Invalid number of parameters.
>
> >> eoj
> Unknown command.
>
> ---
> Ecartis v1.0.0 - job execution complete.
As per it's instruction, I was to send this:
// job
appsub xdebug-general tommy...@gmail.com \ 4C901D90:209D.1:kqrohttrareny //
eoj
Thanks,
Tommy
> -----Original Message-----
> From: Pierre Joye [mailto:pierre....@gmail.com]
> Sent: Wednesday, September 15, 2010 12:10 AM
> To: Tommy Pham
> Cc: php-wind...@lists.php.net
> Subject: Re: [PHP-WIN] Debugging & Profiling PHP on Windows
>
> hi,
>
> you may want to ask on the xdebug support channels:
> http://xdebug.org/support.php
>
> On Wed, Sep 15, 2010 at 1:52 AM, Tommy Pham <tommy...@gmail.com>
> wrote:
> > Hi,
> >
> > I'm trying to debug and profile a PHP app on Windows but I can't seem
> > to get xdebug's Profiler to enable. Has anyone encounter this problem
> before?
> >
> > phpinfo() always shows the below regardless of what settings I have in
> > php.ini:
> >
> > xdebug.profiler_aggregate Off
> > xdebug.profiler_append Off
> > xdebug.profiler_enable Off
> > xdebug.profiler_enable_trigger Off
> > xdebug.profiler_output_dir \
> > xdebug.profiler_output_name cachegrind.out.%p
> >
> > The other xdebug's settings change when I make the corresponding
> > changes in php.ini. The environment is IIS7.5 with PHP 5.3.2-NTS-vc9 as
> FastCGI.
> > Xdebug is 2.10-5.3-vc9-nts
> >
> > Thanks for your help,
> > Tommy
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> > http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Hi,
I saw php usage like below somewhere. I kind of wonder why the page does
not display anything. in my understanding, php only interprets what is
inside <?php> <?>. Since the form is outside of any php tags, the form
should be displayed?
Thank you for any helps.
<html>
<body>
<?php
if (0)
{
?>
<form action="test.php" method="post">
<input type="text" name="name">
<input type="submit" name="submit" value="EnterYourName">
</form>
<?php
}
?>
</body>
</html>
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: stao [mailto:s...@china4d.com]
> Sent: Tuesday, September 14, 2010 8:49 PM
> To: php-wind...@lists.php.net
> Subject: [PHP-WIN] php conditionals?
>
> Hi,
>
> I saw php usage like below somewhere. I kind of wonder why the page
> does not display anything. in my understanding, php only interprets what
is
> inside <?php> <?>. Since the form is outside of any php tags, the form
> should be displayed?
>
> Thank you for any helps.
> <html>
>
> <body>
>
> <?php
>
> if (0)
>
http://www.php.net/manual/en/language.types.boolean.php#language.types.boole
an.casting
0 is interpreted as false. Thus the condition is not satisfied. The form
will never be shown.
Regards,
Tommy
> {
>
> ?>
>
> <form action="test.php" method="post">
>
> <input type="text" name="name">
>
> <input type="submit" name="submit" value="EnterYourName">
>
>
> </form>
>
>
> <?php
>
> }
>
> ?>
>
> </body>
>
> </html>
>
--- End Message ---
--- Begin Message ---
The <form /> tag is being rendered between the { and } tags inside PHP tags
related to the conditional statement, so if the conditional statement isn't
true, even static HTML inbetween them won't show up.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: "stao" <s...@china4d.com>
To: <php-wind...@lists.php.net>
Sent: Wednesday, September 15, 2010 5:48 AM
Subject: [PHP-WIN] php conditionals?
Hi,
I saw php usage like below somewhere. I kind of wonder why the page does
not display anything. in my understanding, php only interprets what is
inside <?php> <?>. Since the form is outside of any php tags, the form
should be displayed?
Thank you for any helps.
<html>
<body>
<?php
if (0)
{
?>
<form action="test.php" method="post">
<input type="text" name="name">
<input type="submit" name="submit" value="EnterYourName">
</form>
<?php
}
?>
</body>
</html>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 5451 (20100914) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5451 (20100914) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--- End Message ---