[imp] test.php3 on Debian

sebastian segeth sebastian.segeth@fernuni-hagen.de
Thu, 07 Mar 2002 09:37:26 +0100


---------------------- multipart/alternative attachment
Hi,

i have the same problem even tough i have installed all,
if i started my apache i to get many PHP Warnings ie.

Function registration failed - duplicate name - mysql_connect in Unknow on
line 0

mysql_close

mysql_select_db

mysql_create_db

..........

Please help my again

Thanks

James wrote:

> You can apt-get php:
>
> #apt-get install php4
>
> You also have to make sure that these two lines are in your httpd.conf:
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
> AddType application/x-httpd-php .php
>
> - James
>
> > -----Original Message-----
> > From: sebastian segeth [mailto:sebastian.segeth@fernuni-hagen.de]
> > Sent: Tuesday, March 05, 2002 6:50 AM
> > To: imp@lists.horde.org
> > Subject: Re: [imp] test.php3 on Debian
> >
> >
> >
> >
> > Jan Schneider wrote:
> >
> > > Zitat von sebastian segeth <sebastian.segeth@fernuni-hagen.de>:
> > >
> > > > Hi all,
> > > >
> > > > when i want to call the "test.php3" or any php files
> > > > then my browser would like to downlad a file
> > > > i get then a message "you have startet to download a file of type
> > > > application/x-httpd-php".
> > >
> > > You didn't configure your webserver to run PHP files.
> >
> > I have to do them.
> > How can i install the php-modules with Debian?
> >
> > >
> > >
> > > Jan.
> > >
> > > --
> > > http://www.horde.org - The Horde Project
> > > http://www.ammma.de - discover your knowledge
> http://www.tip4all.de -
> > Deine private Tippgemeinschaft
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

---------------------- multipart/alternative attachment--



>From dominique.dalponte@utbm.fr Date: Thu,  7 Mar 2002 11:00:28 +0100
Return-Path: <dominique.dalponte@utbm.fr>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 68602 invoked from network); 7 Mar 2002 10:00:37 -0000
Received: from gateway.utbm.fr (root@193.48.246.2)
  by clark.horde.org with SMTP; 7 Mar 2002 10:00:37 -0000
Received: from vers-webmail.utbm.fr (vers-webmail.utbm.fr [192.168.1.28])
          by gateway.utbm.fr (8.9.3/jtpda-5.3.2) with ESMTP id LAA19316
          for <imp@lists.horde.org>; Thu, 7 Mar 2002 11:00:29 +0100
Received: by vers-webmail.utbm.fr (Postfix, from userid 60001)
	id AA5D22CC2; Thu,  7 Mar 2002 11:00:28 +0100 (MET)
Received: from 192.168.1.23 ( [192.168.1.23])
	as user ddalpont@webmail.utbm.fr by webmail.utbm.fr with HTTP;
	Thu,  7 Mar 2002 11:00:28 +0100
Message-ID: <1015495228.3c873a3c31e15@webmail.utbm.fr>
Date: Thu,  7 Mar 2002 11:00:28 +0100
From: Dominique Dalponte <dominique.dalponte@utbm.fr>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
Subject: solaris8 + gettext

hello

my config is solaris8, cyrus-imap, postfix, imp3 and horde2 (last cvs releng_x)

When I try to install imp I have a lot of probleme with gettext 
I resolve this probleme like this

1) compile php4 whith the option --with-gettext
2) do not install gnu-gettext use solaris8 gettext  
3) the solaris gettext use by default the /usr/lib/locale directory
   so copy the .mo file in this directory
4) make the mo file with the solaris8 gettext
   for horde :
   
   msgfmt -v -o ../locale/fr_FR/LC_MESSAGES/horde.mo fr_FR.po 

   for imp : use the script Makefile

   cd imp/po 
   make

5) copy the .mo files in the /usr/lib/locale
   cd horde/po
   cp ../locale/fr_FR/LC_MESSAGES/horde.mo  \
      /usr/lib/locale/fr_FR/LC_MESSAGES/horde.mo 
         
   cd imp/po
   cp ../locale/fr_FR/LC_MESSAGES/imp.mo  \
      /usr/lib/locale/fr_FR/LC_MESSAGES/imp.mo
   
A+


-- 
Dominique Dalponte
Utbm, Centre de Ressource en informatique
90010 Belfort Cedex, France
tél : 03/84/58/31/49    http://www.utbm.fr