[phpa] Problem with $_PHPA
- From: Mark Kronsbein <mk@xxxxxxxxxxxxxxx>
- To: phpa@xxxxxxxxxxxxx
- Date: Wed, 19 Jun 2002 00:41:20 +0200
Hi,
I installed PHP Accelerator v1.3.1pre3 two days ago
on Apache 1.3.23 with PHP 4.2.1 and mod_gzip.
Now 2 problems occured:
1. There are no entries for the $_PHPA array in phpinfo()
2. The array sometimes is accessable, sometimes it is not.
I.e., when I use
if ($_PHPA["ENABLED"] == 1){
print "PHP Accelerator ";
print $_PHPA["VERSION"];
}
$_PHPA["VERSION"] does not print out anything.
Using
var_dump($GLOBALS['_PHPA']);
prints
array(3) {
["ENABLED"]=>
bool(true)
["iVERSION"]=>
int(10301)
["VERSION"]=>
string(9) "1.3.1pre3"
}
What I can not understand:
Printing $_PHPA["VERSION"] before or after a phpinfo()
does show output, while printing it on a "normal" PHP
page does not. And even on that phpinfo() page, the
$_PHPA array does not show up in phpinfo()!
A "normal" pages is this:
It includes a file, gets functions from it and does something
(normally printing HTML) with the functions. The whole stuff
is running through output buffering without compression (since
this does mod_gzip).
Any ideas?
Mark
--
German Gabber Network @ http://www.gabber.de
Infos und Tips zu PHP http://www.php-homepage.de
Konnte ich helfen? http://www.php-homepage.de/danke.php
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
- Follow-Ups:
- [phpa] Re: Problem with $_PHPA
- From: Nick Lindridge
Other related posts:
- » [phpa] Problem with $_PHPA
- » [phpa] Re: Problem with $_PHPA
- » [phpa] Re: Problem with $_PHPA
- [phpa] Re: Problem with $_PHPA
- From: Nick Lindridge