I think I may have to compile PHP with the 'cgi-recirect' option enabled. I created a PHParser object, placed a 'Hello World' PHP script in it, and then tried to view it. I got the same error as before:

'/usr/bin/php' may not be a PHP-CGI program. The result from the program is empty(0 byte).

Do you know if this will interfere with the Apache PHP module in any way? Also, it is okay to have two PHP's installed on a single machine? And what are the security implications of running PHP this way? Thanks.

On Thu, 1 Dec 2005, Wei He wrote:

Hi,

'[EMAIL PROTECTED]' is a mailing list of some PHParser/PHPGateway users.

Does anyone on the list have some experiences on running PHParser on Mac OS X?


Quoting Asad Habib <[EMAIL PROTECTED]>:

Hello Wei. Okay, please keep me posted when you determine what the problem
is. If anyone else on the Zope group has experienced a similar
problem, please let me know. Thanks.

On Thu, 1 Dec 2005, Wei He wrote:

Quoting Asad Habib <[EMAIL PROTECTED]>:

Hello. The message came from Mac OS X. Also, how do I resolve this issue?
I am currently also running phpMyAdmin so I know for a fact the PHP-CGI
is
present. Also, PHP is currently running on its own (i.e. not behind
Apache).

It looks like I'll have to get a Mac OS X box to find out how PHP is
running on
it.
Will take some time.

Best,

--
Wei He
IT Manager
IED (Institute for Environment & Development)
Tel: +86-10-51319216
Web: http://www.ied.org.cn






--
Wei He
IT Manager
IED (Institute for Environment & Development)
Tel: +86-10-51319216
Web: http://www.ied.org.cn



_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to