php-install Digest 24 Jul 2001 11:55:11 -0000 Issue 378 Topics (messages 3688 through 3691): MIME types 3688 by: Jan-Erik Bullett 3689 by: Steve Brazill Re: postgresql and debian 3690 by: Francois Thomas ldap extension 3691 by: Philippe NONN Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Help again. (Thanks Steve), I downloaded the MySQL-devel and then I had the headers in /usr the thing built ok Now I need to set up the MIME type to include the application/x-httpd-php What is the best way to do this in Mandrake 8? I've seen a graphical interface, but could I just edit a text file? Again, many thanks. Jan
Do you mean the 2 lines that should be in your "httpd.conf" file ?? AddType application/x-httpd-php .php .php3 .php4 .htm AddType application/x-httpd-php-source .phps ----- Original Message ----- From: "Jan-Erik Bullett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 11:32 PM Subject: [PHP-INST] MIME types > Help again. > > (Thanks Steve), I downloaded the MySQL-devel and then I had the headers in /usr > > the thing built ok > > Now I need to set up the MIME type to include the application/x-httpd-php > > What is the best way to do this in Mandrake 8? I've seen a graphical interface, > but could I just edit a text file? > > Again, many thanks. > > Jan > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
> -----Message d'origine----- > De : Francois Thomas [mailto:[EMAIL PROTECTED]] > Envoyé : vendredi 20 juillet 2001 17:13 > À : '[EMAIL PROTECTED]' > Objet : [PHP-INST] postgresql and debian > > > > Hello list > > After digging unsuccessfully in the archives, I ask my question here.. > I try to compile PHP 4.0.6 with PostgreSQL support. > I compiled Apache 1.3.14 without problem. > PostgreSQL (7.0.3) complained about C++ (cannot make > executables), but it > was fixed with a ./configure --without-CXX > For PHP, the ./configure looks like being successful. > But when I make, I have this error: [...] > In file included from php_pgsql.h:32, > from pgsql.c:33: > libpq-fe.h:349: warning: `palloc' redefined > /usr/local/pgsql/include/utils/palloc.h:29: warning: this is > the location of > > the previous definition > libpq-fe.h:350: warning: `pfree' redefined > /usr/local/pgsql/include/utils/palloc.h:30: warning: this is > the location of > the previous definition > pgsql.c: In function `php_if_pg_put_line': > pgsql.c:814: void value not ignored as it ought to be [...] Hello I was able to find a solution to this; I post it to the list as I may not be the only one to face this problem. In fact, it looks like for PHP, postgres must be compiled with c++. So, the solution on a debian 2.2_r3 is to "apt-get install g++", then compile normally postgresql (without the --without-CXX flag).. PHP will then just compile fine. Of course, users who already installed g++ should not face this issue. Hope that helps somebody ;-) Best regards François THOMAS
does some know why the php_ldpa.dll cannot be loaded under W2000 server / Php 4.0.6 ? Other dlls load fine. Philippe NONN