On Friday, 11 July 2008 8:36 AM, Craig Small wrote: >> Is JFFNMS still requiring php 4, or will it work on PHP 5? >Works fine on 5. >[EMAIL PROTECTED]:/usr/share/jffnms/engine$ php -v PHP 5.2.6-2 >with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 3 2008 07:52:34) >Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, >Copyright (c) 1998-2008 Zend Technologies
Hmmm, OK, same version as I have. >> running, and when I try to run it manually (with /usr/bin/php -q >> poller.php) all I get is effectively a cat of the poller.php file. >A cat of the file sounds like there is something seriously broken >with your setup. Could it be something wrong with the configuration > of your new PHP? > >poller.php uses the short tags "<?" and not "<?php", perhaps that >is the problem? >http://au.php.net/manual/en/ini.core.php#ini.short-open-tag Ahhh, trap for new players! I've just discovered that, either in php5 or in the specifica installation made on SuSE 11, there are different php.ini files used for Apache and the CLI. Php --info gave me a php.ini file which was different to the one Apache was using - and, you guessed it, short tages is set to OFF by default on the cli version - along with register globals. Change those two, and bobs your uncle! Poller works! Thanks Craig - you shoved me in the right direction! DaZZa *********************************************************************************** The information in this e-mail message and any files transmitted with it are intended to be confidential and for the use of only the individual or entity to whom they are addressed. The message and files may be protected by legal professional privilege, or other legal rules. The confidentiality of and privilege applying to this message and files is not waived if this message or files has been sent to you by mistake. If the reader of this message or files is not the intended recipient, you are notified that retention, distribution or copying of this message and files are strictly prohibited. If you receive this message or files in error, please notify us immediately by telephone or return e-mail and delete all copies from your computer system. It is the recipient's responsibility to check this message and files for viruses. Thank you. *********************************************************************************** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users