php-windows Digest 15 Dec 2007 03:00:47 -0000 Issue 3388
Topics (messages 28655 through 28658):
Re: <? and <?= not working after new PHP install
28655 by: Jarrett Meyer
28656 by: awkenney.gmail.com
Building PHP 5.2.5 for win32
28657 by: Michael Tyson
Remove messages
28658 by: Gabriele Ostuni
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 ---
Needs to turn on short tags in the configuration.
Robert Van Kleeck wrote:
The subject line says it all. The host of my website just migrated servers after the original one
died. After installing PHP for windows, none of my pages worked correctly. After going through the
code, it turned out to be that all PHP code was wrapped in <? ?> instead of <?php ?>
tags. It was my understanding that this is perfectly acceptable PHP. Is there something that needs
to be enabled at install that possibly was not? The host did a "minimal" install of PHP.
Thanks!
-R
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--- End Message ---
--- Begin Message ---
Php 5 by default deprecates the <? Tag. But there is an option in the php.ini
file to accept the old style tags as well as the new. Although for the future,
I recommend you do a find and replace on your entire site in order to use the
<?PHP tag instead.
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: Robert Van Kleeck <[EMAIL PROTECTED]>
Date: Fri, 14 Dec 2007 06:31:28
To:[EMAIL PROTECTED]
Subject: [PHP-WIN] <? and <?= not working after new PHP install
The subject line says it all. The host of my website just migrated servers
after the original one died. After installing PHP for windows, none of my
pages worked correctly. After going through the code, it turned out to be that
all PHP code was wrapped in <? ?> instead of <?php ?> tags. It was my
understanding that this is perfectly acceptable PHP. Is there something that
needs to be enabled at install that possibly was not? The host did a "minimal"
install of PHP.
Thanks!
-R
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--- End Message ---
--- Begin Message ---
Hiya,
We're using PHP/Java Bridge (PJB) with PHP 5.1.6 and Apache 2.0.61 on
Windows, and experiencing frequent segfaults of Apache. Inspecting
the dump reveals that PHP is crashing somewhere, something to do with
a null pointer exception when reporting an error - seemingly not in
the php/java module but elsewhere (although I'm no expert).
I've tried using the same combination but with the latest Apache
(2.2.6), but the segfault still happens.
It seems to happen most (and reproducibly) when getting requests
through a flex client, when an open connection already exists from a
flex client on the same machine (i.e. one browser window runs the flex
client, and opens a popup window also with the flex client running).
Firstly, has anyone experienced this?
So, I'm trying to update to the latest version of PHP (5.2.5), but
coming up against some problems when attempting to build PHP, which
I'm doing in order to build a PJB module to work with it. I've tried
to build PHP using Cygwin, cross-compiling against mingw32, but that
failed with a number of build errors, presumably related to
incompatible libs and includes.
Instead I tried using MS's Visual Studio C++, as in the documentation
in the PHP build directory. Firstly I couldn't get the configure
script to find the win32build folder, so I added it to PATH and tried
again. Then, the configure script ran successfully, but nmake fails
with:
"" -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command, operable
program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'
Stop.
It would appear that PHP's configure script isn't writing the make
rules properly, and is setting an empty string instead of the name of
some build tool.
Can anyone help with this? Is there a way of building the PJB module
for this version of PHP in win32 that doesn't require a build of PHP
itself?
We must have it sorted by next Wednesday (the 19th), and we're willing
to pay a reasonable rate for assistance.
Cheers,
Mike
--
Michael Tyson | Developer | smartpath.com.au
m: (+61) 0407 754 124
e: [EMAIL PROTECTED]
aim: mikerusselltyson
--- End Message ---
--- Begin Message ---
Good morning ,
I¡¦m writing to this list to have some information
about the removal of some messages from the list. Many
years ago I have sent some messages to the list but,
since I was very young and inexperienced, I posted my
name and my surname (in detail in the page I sent
there was a meta tag ¡§Autor¡¨ where I wrote my name
and surname).
Now many years have passed, actually I¡¦m in Asia and
because of personal and work-related questions I
really need those messages to be removed. The messages
where my name appears actually are only two, but the
messages I¡¦d like to be changed are more (since they
contain other information related to me). For me it¡¦s
not important the message to be deleted, I just need
the removal of some information.
I know this is very annoying but I can:
³ Send you a copy of my passport, so that yu can be
sure that I¡¦m the person who wrote it
³ Send the request by mail to your real address
³ Assume all the responsibilities
³ Pay you money for the work (I hope it will not be
too much)
Replay to this e-mail I private
Thank you in advance
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
--- End Message ---