Forums / General / eztc via admin interface?

eztc via admin interface?

Author Message

Geraint Edwards

Tuesday 10 May 2005 2:30:51 pm

My hosting company doesn't make the cli version of php available in the ssh shell. I need to use eztc to override the index-file in order to eliminate the ? from http://<i>sitename</i>/index.php?/mysiteaccess

Is there a way to run eztc using the cgi version of php from a shell or via the admin interface of my site.

Alternatively is there an ini setting I can use to override the index-file in the online version of compilation?

I hope that makes some sense.

Bruce Morrison

Tuesday 10 May 2005 4:31:12 pm

Hi Geraint

This thread may give you some ideas
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

kracker (the)

Tuesday 10 May 2005 5:37:39 pm

I'm not certain if you really are driven to create a way to use eztc via the admin or If you are just looking to find a quick way to run eztc and move on...

I just finished writing another master thread on the subject of php (cli).

Basically it boils down to this, if your trying to use php (cli) on an (average) linux server you can just download the apropriate version (for your server).

<i>http://download.ezpublishhosting.com/php-cli/linux/
http://download.ezpublishhosting.com/php-cli/windows/</i>

To install, you only need to unpack the file into your eZ publish directory (ie: <i>bin/linux/php-cli</i> ) and read these instructions on how to use it and you can run eztc on your hosting provider that does not provide php (cli), <b>you don't need root privileges to do this, any user can do this</b>.

<i>http://ez.no/community/forum/general/running_ez_publish_scripts_via_the_command_line</i>

The above link cross links to most related forum threads & documentation, save the one that Bruce pointed out.

cheers,
//kracker

Aqua Teen Hunger Force : Robositter

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Geraint Edwards

Wednesday 11 May 2005 3:34:22 am

Thanks for the suggestions.

Downloading the binaries didn't work since they're linked to glibc 2.3 whereas my host is still using 2.9.5. I tried building a static version on my machine but failed - I followed the instructions but the output always ended up using shared libraries :(.

Bruce's suggestion seems more involved - I'll look into it.