Forums / Install & configuration / CLI interface

CLI interface

Author Message

Bjarte Lunde

Tuesday 20 July 2004 6:32:42 am

When i try to run the runcronjobs.php from command line i get "PHP is currently using the 'cgi' interface. Make sure it is using the 'cli' interface."

I have installed eZ using the RedHat9 installer.

Can anyone help me solving this problem?

Mahesh Arvind

Tuesday 20 July 2004 6:40:40 am

Hi,

You have to configure PHP with CLI option on your server. Ez will not configure PHP when you install using installers. You could contact your system administrator regarding this.

Thanks
Mahesh

Thanks & Regards
Mahesh

Bjarte Lunde

Tuesday 20 July 2004 6:54:48 am

i am my own system admin...
how do i configure php?

Mahesh Arvind

Tuesday 20 July 2004 7:25:30 am

I am not a system admin. So, I do not have further details on this.
http://php3.de/manual/en/features.commandline.php
This was the link I gave to my sys admin when he had asked details regarding CLI.
Hope you find this userful.

Mahesh

Thanks & Regards
Mahesh

Björn [email protected]

Tuesday 20 July 2004 2:46:58 pm

if the redhat installer is not able to setup php as cli you might wanna file a bug report

http://ez.no/community/bug_reports

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Tuesday 20 July 2004 4:09:42 pm

There is a work around
http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Björn [email protected]

Tuesday 20 July 2004 5:07:42 pm

If you use this workaround some parts of eZ will simply not work!

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Wednesday 21 July 2004 1:02:15 am

Hi Björn

Which ones? I've been using it for a number of sites for a couple of weeks now. It only effects the update & cron scripts not the day to day running of the ez Publish application (admin and user sites).

Lets continue this here http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish