RE: Apache + PHP4

2003-08-15 Thread Thomas Lamy
Depends on which php version and php4 modules you have installed. There was an upload of a more recent php version + modules on wednesday or thursday, so it's not made it's way into testing... The php4-imap module (4:4.1.2) is known to cause such problems; remove it if u don't need it. --

Re: Apache + PHP4

2003-08-15 Thread Alejandro Vartabedian
yes, efectively the imap.so have problems. i have php4-imap 4.2.3-14 on woody and the problem is here. its not the correct way, but i fixed it replacing the extension with an rpm extracted one. if you think it is of utility here is de link to the original package:

Re: Apache + PHP4

2003-08-15 Thread Alex Borges
El vie, 15-08-2003 a las 07:51, [EMAIL PROTECTED] escribió: Dear, I have a problem. I have instaled apache and php4 with apt-get, but when i don't comment the line: LoadModule php4_module /usr/lib/apache/1.3/mod_php4.so apache don't start. Help-me Help me help you. Whats the error log

Re: Apache + PHP4

2003-08-15 Thread dentinho
Dear Thomas and Alejandro, I don't have the php4-imap instaled in my debian. More one information for all: I use debian 3.0 on a SPARC Station (SUN Netra I). No more, Thanks, Rafael Domingues Pires. Ourinhos - Brasil Citando Alejandro Vartabedian [EMAIL PROTECTED]: yes, efectively the

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Emile van Bergen
Hi, On Wed, Jan 15, 2003 at 01:50:24PM +0100, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Bart-Jan Vrielink
On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log,

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Gregoire Hostettler
Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Chris Hilts
It seems to me that the php4 engine never starts to generate pages... Make sure the LoadModule line for php in apache's config file is uncommented. Then make sure you have MIME types set up for PHP files. AddType application/x-httpd-php .php AddType application/x-httpd-php-source

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread brian moore
On Wed, Jan 15, 2003 at 05:32:45PM +0100, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: not strange at all. - Using IE6, the browser asks me if I want to download the test.php script (???)

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Michael Streb
On Wednesday 15 January 2003 17:32, Gregoire Hostettler wrote: Hi There, you`ve an error in your srm.conf you have to replace AddType application/x-httpd-php4 .php with AddType application/x-httpd-php .php So i think it should work now ! :) The file location should be the

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Tomasz Papszun
On Wed, 15 Jan 2003 at 17:32:45 +0100, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Todd Charron
You'll have to look at your httpd.conf (in /etc/apache/ ) You'll have to uncomment several sections for php to start working. The LoadModule section php4 The two file type lines for php4 and you might want to add index.php to the list of allowed index files After that, restart apache and you

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Bart-Jan Vrielink
On wo, 2003-01-15 at 17:32, Gregoire Hostettler wrote: I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) bartjan@trillian:~$ grep php4 /etc/apache/mime.types

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Eric Jennings
Be sure to add these lines to your httpd.conf: AddType application/x-httpd-php .php .php3 .phtml AddType application/x-httpd-php-source .phps (you technically only need the .php suffix, but I put all of them in there for backwards compatibility... you also don't really need the .phps one if

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread charlie derr
Try adding this line to your httpd.conf (and restarting apache) AddType application/x-httpd-php .php .php3 .html .htm good luck, ~c Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: -

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Caracal - G. Hostettler
Thanks a lot to everybody. Everything works fine now. The reason was: Replaced AddType application/x-httpd-php4 .php with AddType application/x-httpd-php .php as Michael Streb among aothers pointed out ! /gh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe.

Re: Apache / PHP4 config problem (newbee on PHP)

2003-01-15 Thread Fred Clausen
Hi, Glad you got it working. As an aside, I would recommend you upgrade your Apache and php because various vulnerabilities have come out. For example: http://www.debian.org/security/2002/dsa-168 http://www.debian.org/security/2002/dsa-187 Among others. You can also easily upgrade from Potato