DB_DataObject and Zend Optimizer 2.1.0b-Linux_glibc21-i386
| From: | Mikhail Lukyanchenko | Date: | Fri, 01 Aug 2003 16:34:34 +0000 |
| Subject: | DB_DataObject and Zend Optimizer 2.1.0b-Linux_glibc21-i386 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6945@lists.php.net to get a copy of this message | ||
Hi, list!
-cut-
<?
$config = parse_ini_file('config.ini',TRUE);
require_once( 'PEAR.php' );
$options = &PEAR::getStaticProperty('DB_DataObject','options');
$options = $config['DB_DataObject'];
require_once( 'dbo/Node.php' );
DB_DataObject::debugLevel( 5 );
$test = new dboNode;
$test->get( 1 );
print_r( $test );
?>
-cut-
this code works fine while I have no Zend Optimizer activated in php.ini. When
Zend IS activated it produces (in Opera 7.11 browser):
-cut-
CONNECT NEW CONNECTION
CONNECT mysql://xxx:xxx@xxx/xxx fa9b05a5266cd16e2637d496ce4f21e2
CONNECT
a:1:{s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx";O:8:"db_mysql":26:{s:10:"connection
GET node_id 1 a:1:{i:0;s:7:"node_id";}
__find 1
-cut-
In Konquerror browser it just says: "connection to server xxx lost."
Tested on Apche HTTPD 2.0.46 and 1.39, mysql 4.0.13, php 4.3.2
I start feeling sort of sorrow when I'm thinking about my scripts runing
without Zend... Any clues?
Regards,
Mikhail