[Cartoweb-users] troubles with translating

Yves Jacolin yjacolin at free.fr
Mon Mar 5 07:02:13 EST 2007


Can you test if you can use something like:

 cd <cartoweb_home>/scripts
 php-cgi server2pot.php

Can you check that your php-cgi command is in the the cgi-bin/ directory ?

Y.

Le Lundi 5 Mars 2007 12:58, vous avez écrit :
> I don't know how to set apache to use php5-cgi not cli.
> I use this script from console, because in documentation is:
>
> generate project and mapfile templates on server:
>
> cd <cartoweb_home>/scripts
> php server2pot.php
>
> cartoweb works fine, but only switch of languages doesn't work.
>
> w
>
> Yves Jacolin  wrote / napísal(a):
> > Did you check that your apache config use php-cgi, not php-cli ? php-cli
> > is only for php in comand-line. And you get this error because apache
> > used php-cli. Check you links and config files.
> >
> > Y.
> >
> > Le Lundi 5 Mars 2007 11:45, wochter a écrit :
> >> Yes, I installed all from packages.
> >> I have ubuntu edgy.
> >> I have installed php5-cgi and php5-cli too.
> >>
> >> wochter
> >>
> >> Yves Jacolin  wrote / napísal(a):
> >>> Hi,
> >>>
> >>> I think you need to use php-cgi not php-cli, did you install it from
> >>> binary? Try to install php-cgi.
> >>>
> >>> Y.
> >>>
> >>> Le Lundi 5 Mars 2007 11:14, wochter a écrit :
> >>>> Hi,
> >>>> I try to use scripts server2pot.php and client2pot.php.
> >>>> But  server2pot.php writes:
> >>>>
> >>>> Fatal error: This build of mapscript can't be load as a 'cli' module
> >>>> for stability reason, but only with php as an apache DSO.
> >>>>
> >>>> Can you help me please?
> >>>>
> >>>> Have I to recompile mapscript?
> >>>>
> >>>> Thanx.
> >>>>
> >>>>
> >>>> WochteR
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Cartoweb-users mailing list
> >>>> Cartoweb-users at lists.maptools.org
> >>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >>
> >> _______________________________________________
> >> Cartoweb-users mailing list
> >> Cartoweb-users at lists.maptools.org
> >> http://lists.maptools.org/mailman/listinfo/cartoweb-users

-- 
Yves Jacolin
---
http://yjacolin.gloobe.org



More information about the Cartoweb-users mailing list