PHP CLI: How to prevent a module from loading

From: Date: Thu, 31 Jul 2003 04:57:49 +0000
Subject: PHP CLI: How to prevent a module from loading
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157664@lists.php.net to get a copy of this message
Hey ppl! I'm writing a shell script with php, but am having trouble with the Zend Optimizer module. Please advise. I get the following error when I run the script from the command line, but not from the browser: Failed loading /usr/local/lib/Zend/ZendOptimizer.so: /usr/local/lib/Zend/ZendOptimizer.so: undefined symbol: zend_get_configuration_directive ==The script === #!/usr/local/bin/php -q <?php echo 'hello world \n'; ?> again, this error only shows up in CLI mode, not from the browser. Any idea what is causing that? Is there a way to disable the module from loading, without removing the php.ini zend optimzer entries? Please advise. -john

« previous php.general (#157664) next »