php-windows Digest 27 Dec 2009 15:15:25 -0000 Issue 3740
Topics (messages 29765 through 29770):
Re: cgi
29765 by: Sascha Meyer
29766 by: Ferenc Kovacs
29767 by: Earl
29768 by: Sascha Meyer
29769 by: Ferenc Kovacs
PHP console (php.exe -a)
29770 by: Libor
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 Tyrael,
Hi Earl,
Tyrael wrote:
> 5.3 brings a lot of improvements and a couple of new features, but it
> can be some incompatibility issues with the pre 5.3 applications. ...
most applications should work both with the PHP 5.2 and 5.3 branch, i.e.
phpmyadmin is available for PHP 5 and there is a separate version available for
PHP 3+4.
Earl wrote:
> I use several programs which use PHP (phpMyEdit,
> phpMyAdmin, and NucleusCMS for BLOG's) after installing PHP 5.3 these
> interfaces would not work.
Could you clarify "would not work" a bit? Which error is posted when one of the
applications is called? Do you get a PHP error or one directly from your
webserver? php.ini is searched for in the following order:
* SAPI-specific location (don't know about Xitami's setting here)
* PHPRC env variable (if set)
* [HKEY_LOCAL_MACHINE\SOFTWARE\PHP] registry setting
* the webserver's bin directory
* C:\Windows
The currently loaded php.ini can be retrieved through "php_ini_loaded_file()".
Regards, Sascha
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
--- End Message ---
--- Begin Message ---
On Sat, Dec 26, 2009 at 1:23 PM, Sascha Meyer <harlequ...@gmx.de> wrote:
> Hi Tyrael,
> Hi Earl,
>
> Tyrael wrote:
>> 5.3 brings a lot of improvements and a couple of new features, but it
>> can be some incompatibility issues with the pre 5.3 applications. ...
>
> most applications should work both with the PHP 5.2 and 5.3 branch, i.e.
> phpmyadmin is available for PHP 5 and there is a separate version available
> for PHP 3+4.
>
I know, but for example mediawiki is know to be incompatible with 5.3
at this time, so this kind of problems exists.
> Earl wrote:
>> I use several programs which use PHP (phpMyEdit,
>> phpMyAdmin, and NucleusCMS for BLOG's) after installing PHP 5.3 these
>> interfaces would not work.
>
> Could you clarify "would not work" a bit? Which error is posted when one of
> the applications is called? Do you get a PHP error or one directly from your
> webserver? php.ini is searched for in the following order:
> * SAPI-specific location (don't know about Xitami's setting here)
> * PHPRC env variable (if set)
> * [HKEY_LOCAL_MACHINE\SOFTWARE\PHP] registry setting
> * the webserver's bin directory
> * C:\Windows
> The currently loaded php.ini can be retrieved through "php_ini_loaded_file()".
>
> Regards, Sascha
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
--- End Message ---
--- Begin Message ---
I have downloaded and installed PHP versions: 5.2.9-2, 5.2.10, 5.2.12,
5.3.0, and lastly 5.3.1. Originally when installed each version gave a CGI
error and nothing associated with PHP would work. I did get 5.3.1 to
install and operate without the CGI error. I was able to access phpinfo and
some PHP web pages.
In each case after long hours of frustration I have gone back to PHP 5.2.9,
and it just works! ! !
I have in fact downloaded the latest versions of the tools previously
mentioned, all the tools work with 5.2.9, anything beyond that and the
pages/interfaces do not open. I find no PHP specific errors in the event
viewer. The only error I find in the server log relates to use of local
time versus a time zone, and only deals with Nucleus.
""Earl"" <tne...@sw.rr.com> wrote in message
news:b1.69.26502.9e9e4...@pb1.pair.com...
> running windows XP, Xitami 2.5c2, and php 5.2.9
> everything works well
>
> tried installing many versions of PHP after v5.2.9 and always get a CGI
> error, none of the php pages load.
>
--- End Message ---
--- Begin Message ---
Hi Earl,
Earl wrote:
> I have downloaded and installed PHP versions: 5.2.9-2, 5.2.10, 5.2.12,
> 5.3.0, and lastly 5.3.1. Originally when installed each version gave a
> CGI
> error and nothing associated with PHP would work. I did get 5.3.1 to
> install and operate without the CGI error. I was able to access phpinfo
> and
> some PHP web pages.
>
> In each case after long hours of frustration I have gone back to PHP
> 5.2.9,
> and it just works! ! !
>
> I have in fact downloaded the latest versions of the tools previously
> mentioned, all the tools work with 5.2.9, anything beyond that and the
> pages/interfaces do not open. I find no PHP specific errors in the event
> viewer. The only error I find in the server log relates to use of local
> time versus a time zone, and only deals with Nucleus.
do you have to use Xitami as webserver? I would advice to use Apache2 to test
if the problems persist with the various PHP branches and steppings.
PHP will not automatically log errors, you first have to enable it through the
"error_reporting", "log_errors" and "error_log" directives directives in
php.ini. Restart your webserver and check again if errors are logged now.
--
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
--- End Message ---
--- Begin Message ---
On Sat, Dec 26, 2009 at 3:25 PM, Earl <tne...@sw.rr.com> wrote:
> I have downloaded and installed PHP versions: 5.2.9-2, 5.2.10, 5.2.12,
> 5.3.0, and lastly 5.3.1. Originally when installed each version gave a CGI
> error and nothing associated with PHP would work. I did get 5.3.1 to
> install and operate without the CGI error. I was able to access phpinfo and
> some PHP web pages.
>
> In each case after long hours of frustration I have gone back to PHP 5.2.9,
> and it just works! ! !
>
> I have in fact downloaded the latest versions of the tools previously
> mentioned, all the tools work with 5.2.9, anything beyond that and the
> pages/interfaces do not open. I find no PHP specific errors in the event
> viewer. The only error I find in the server log relates to use of local
> time versus a time zone, and only deals with Nucleus.
In php 5.3 you have to set your timezone in your php.ini.
for example:
date.timezone = "Europe/Budapest"
for me.
> ""Earl"" <tne...@sw.rr.com> wrote in message
> news:b1.69.26502.9e9e4...@pb1.pair.com...
>> running windows XP, Xitami 2.5c2, and php 5.2.9
>> everything works well
>>
>> tried installing many versions of PHP after v5.2.9 and always get a CGI
>> error, none of the php pages load.
>>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi all,
I don't know if I am stupid or what but I can't find out how to send
typed code to execute.
> php.exe -a
Interactive mode enabled
Pressing <Enter> or <Ctrl-D> didn't execute code. Please, help me!
(I am running PHP 5.3.0 on Win XP.)
Thanks
Libor
--- End Message ---