cgi
am 25.12.2009 17:35:50 von Earl
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
Re: cgi
am 25.12.2009 22:05:50 von harlequin2
Hi Earl,
Earl wrote:
> tried installing many versions of PHP after v5.2.9 and always get a CGI
> error, none of the php pages load.
I never worked with Xitami as web server but this could get you started:
- check your webserver's log files, this could be your windows eventlog or some logging file from your webserver; see if there are any errors after you have called your php script
- rename php.ini to something different and restart your webserver service; if the error disappears, the error could be related to an extension directive in your existing php.ini file
- does a simple phpinfo() also results in a CGI error?
Keep me updated if you tried the above.
Regards & merry Christmas from Germany,
Sascha
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cgi
am 26.12.2009 04:21:49 von Earl
First let me say thanks for your reponse.
Installed PHP 5.3 and did get the CGI to work.
Now a separate issue: I use several programs which use PHP (php MyEdit,
phpMyAdmin, and NucleusCMS for BLOG's) after installing PHP 5.3 these
interfaces would not work. I tried reboot, checking the ini file, tried
installing the ini in windows, then windows/system32. No matter what I
tried I couldn't get the programs to work.
reverted to 5.2.9 and everything is back to normal.
I've been trying to get the new versions of PHP to work for some time, think
I'll just stick with 5.2.9 and forget about it.
""Sascha Meyer"" wrote in message
news:20091225210550.24610@gmx.net...
> Hi Earl,
>
> Earl wrote:
>> tried installing many versions of PHP after v5.2.9 and always get a CGI
>> error, none of the php pages load.
>
> I never worked with Xitami as web server but this could get you started:
> - check your webserver's log files, this could be your windows eventlog or
> some logging file from your webserver; see if there are any errors after
> you have called your php script
>
> - rename php.ini to something different and restart your webserver
> service; if the error disappears, the error could be related to an
> extension directive in your existing php.ini file
>
> - does a simple phpinfo() also results in a CGI error?
>
> Keep me updated if you tried the above.
>
> Regards & merry Christmas from Germany,
>
> Sascha
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cgi
am 26.12.2009 12:53:37 von Ferenc Kovacs
5.2.12 is the latest version in the 5.2 branch.
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.
I think phpmyadmin does have a version which is compatible with php
5.3 out-of-the-box.
I don't know the other two tools you are using, but you should try to
download the latest version of them from their official site.
Tyrael
On Sat, Dec 26, 2009 at 4:21 AM, Earl wrote:
> First let me say thanks for your reponse.
>
> Installed PHP 5.3 and did get the CGI to work.
>
> Now a separate issue: Â I use several programs which use PHP (php MyE=
dit,
> phpMyAdmin, and NucleusCMS for BLOG's) after installing PHP 5.3 these
> interfaces would not work. Â I tried reboot, checking the ini file, t=
ried
> installing the ini in windows, then windows/system32. Â No matter wha=
t I
> tried I couldn't get the programs to work.
>
> reverted to 5.2.9 and everything is back to normal.
>
> I've been trying to get the new versions of PHP to work for some time, th=
ink
> I'll just stick with 5.2.9 and forget about it.
>
> ""Sascha Meyer"" wrote in message
> news:20091225210550.24610@gmx.net...
>> Hi Earl,
>>
>> Earl wrote:
>>> tried installing many versions of PHP after v5.2.9 and always get a CGI
>>> error, none of the php pages load.
>>
>> I never worked with Xitami as web server but this could get you started:
>> - check your webserver's log files, this could be your windows eventlog =
or
>> some logging file from your webserver; see if there are any errors after
>> you have called your php script
>>
>> - rename php.ini to something different and restart your webserver
>> service; if the error disappears, the error could be related to an
>> extension directive in your existing php.ini file
>>
>> - does a simple phpinfo() also results in a CGI error?
>>
>> Keep me updated if you tried the above.
>>
>> Regards & merry Christmas from Germany,
>>
>> Sascha
>> --
>> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
>> 3.5 -
>> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cgi
am 26.12.2009 13:23:17 von harlequin2
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cgi
am 26.12.2009 14:51:06 von Ferenc Kovacs
On Sat, Dec 26, 2009 at 1:23 PM, Sascha Meyer 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_fil=
e()".
>
> Regards, Sascha
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cgi
am 26.12.2009 15:25:15 von Earl
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"" wrote in message
news:B1.69.26502.9E9E43B4@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
Re: Re: cgi
am 26.12.2009 15:47:34 von harlequin2
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: cgi
am 26.12.2009 17:05:04 von Ferenc Kovacs
On Sat, Dec 26, 2009 at 3:25 PM, 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 gav=
e a CGI
> error and nothing associated with PHP would work. Â I did get 5.3.1 t=
o
> install and operate without the CGI error. Â I was able to access php=
info 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 l=
ocal
> 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 =3D "Europe/Budapest"
for me.
> ""Earl"" wrote in message
> news:B1.69.26502.9E9E43B4@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
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php