[Zope] PHP Object

Norman Khine khine@btinternet.com
Sun, 8 Apr 2001 12:06:36 +0100


Dear Ioan,
Could you help me to implement PHP Object. I have installed it on FreeBSD
which is running Zope 2.3.1b1 with python 2.0, I installed the PHP Object
Product which is NOT broken and can add PHP objects within the Zope tree.

To test this I created a new DTML Method, called test with the following
script within it.

<? phpinfo(); ?>

I was hoping this to bring up ALL the details for PHP, but I get the
following Error:

Error Type: IOError
Error Value: [Errno 2] No such file or directory: '986726657_427.out'


Traceback (innermost last):
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: <string>)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: <string>)
  File /usr/home/khine/usr/local/Zope/lib/python/Products/PHP/PHPProduct.py,
line 107, in __call__
    (Object: <string>)
IOError: (see above)

My setup presently is that I have a PHP project which I would like to manage
from within Zope which sits behind Apache.

Regards

Norman