[us...@httpd] php occasionally displayed instead of execution

2010-12-10 Thread Erkki . Aalto
I have a RHEL5 server with the included versions of httpd (2.2.3) and php (5.1.6). Occasionally the php code is not executed but displayed in the browser. When the page is reloaded it is again executed normally. Google finds several references to this problem, but I have found no solution. No, it

Re: [us...@httpd] PHP Issue...

2010-12-06 Thread Igor Galić
- "Marcin 'Rambo' Roguski" wrote: > > Anyway the real question is: Is there a way to have short tags > turned > > on for one web site and turned off for another? > > Yes, either by > php_admin_flag short_open_tags on in vhost. Or in a of that vhost, should it be only valid for a certai

Re: [us...@httpd] PHP Issue...

2010-12-05 Thread Marcin 'Rambo' Roguski
> Anyway the real question is: Is there a way to have short tags turned > on for one web site and turned off for another? Yes, either by php_flag short_open_tags on in .htaccess or separate php.ini for vhost. - The official Us

[us...@httpd] PHP Issue...

2010-12-05 Thread Scott Shippee
Not sure this is really the place for this question. but I am hoping that someone might have an answer nonetheless. I use php5 (Apache2, php5, Ubuntu) and a product called phpAlbum, which up until now has worked great. Recently one of my customers required that I turn off SHORT_TAGS in php, w

Re: [us...@httpd] PHP error logs to centralized syslog

2010-07-02 Thread Matus UHLAR - fantomas
On 30.06.10 11:39, James Corteciano wrote: > I know this is out of topic here in mailing list but I couldn't get into php > mailing list. good luck trying. Did you try to contact php in other ways to find out why didn't you get to their mailing list? -- Matus UHLAR - fantomas, uh...@fantomas.sk ;

[us...@httpd] PHP error logs to centralized syslog

2010-06-29 Thread James Corteciano
Hi All, I know this is out of topic here in mailing list but I couldn't get into php mailing list. Anyone have try to forward php errors logs to the centralized syslog server? I can received logs locally from /var/log/messages (specified from /etc/php.ini) but I want to forward it to centralized

Re: [us...@httpd] php in .html documents when using php as cgi

2010-06-22 Thread Nilesh Govindarajan
On 06/22/2010 12:54 AM, Matthias Leopold wrote: hi, i'm using mod_fcgid to serve .php pages in a setup similar to the one layed out on http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html (+ suexec). now i realized that i can't use php in .html documents like i could when i was using mod_php. is

[us...@httpd] php in .html documents when using php as cgi

2010-06-21 Thread Matthias Leopold
hi, i'm using mod_fcgid to serve .php pages in a setup similar to the one layed out on http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html (+ suexec). now i realized that i can't use php in .html documents like i could when i was using mod_php. is there a setup that makes it possible to have

Re: [us...@httpd] PHP 4 and 5

2010-03-18 Thread startx
On Thu, 18 Mar 2010 06:50:00 +0530 Nilesh Govindarajan wrote: > On 03/18/2010 03:24 AM, Bob Cohen wrote: > > Is is possible to run php4 and 5 on the same apache server? > > > > Bob > Use mod_fcgid or mod_fastcgi. Both will do. Lot of stuff is in > Google. Search ! > yes, or you can use one php

Re: [us...@httpd] PHP 4 and 5

2010-03-17 Thread Nilesh Govindarajan
On 03/18/2010 03:24 AM, Bob Cohen wrote: Is is possible to run php4 and 5 on the same apache server? Bob - The official User-To-User support forum of the Apache HTTP Server Project. Seehttp://httpd.apache.org/userslist.html> f

[us...@httpd] PHP 4 and 5

2010-03-17 Thread Bob Cohen
Is is possible to run php4 and 5 on the same apache server? Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users

Re: [us...@httpd] PHP problem

2009-12-27 Thread Thierry Granier
i resolved the problem in installing the package gettext Many thanks Le Mon, 28 Dec 2009 01:52:09 +0100, Thierry Granier a écrit: Hello, i have installed centreon and when i try to login, apache said the main page doesn't exist and i can see in the error log of apache : [Mon Dec 28 0

[us...@httpd] PHP problem

2009-12-27 Thread Thierry Granier
Hello, i have installed centreon and when i try to login, apache said the main page doesn't exist and i can see in the error log of apache : [Mon Dec 28 01:18:19 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function bindtextdomain() in /usr/local/centreon/www/class

Re: [us...@httpd] php downloaded instead of running

2009-06-01 Thread admin2
Frank Gingras wrote: Noah, Please read: http://wiki.apache.org/httpd/PHPDownload Frank thanks Frank - that was the answer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache

Re: [us...@httpd] php downloaded instead of running

2009-06-01 Thread Frank Gingras
Noah, Please read: http://wiki.apache.org/httpd/PHPDownload Frank admin2 wrote: Hi there, I am running apache2 on an ubuntu server and I must not have php installed. When I attempt to run a php program my browser, firefox for mac in this case, attempts to download it. I also placed the fol

[us...@httpd] php downloaded instead of running

2009-06-01 Thread admin2
Hi there, I am running apache2 on an ubuntu server and I must not have php installed. When I attempt to run a php program my browser, firefox for mac in this case, attempts to download it. I also placed the following line in my /etc/apache2/http.conf I hope that is the right place to put it. C

[us...@httpd] PHP ping and exec() hangs apache

2009-05-27 Thread Kamil Walas
Hi, I stuck with strange error. I have following code: Address doesn't exist. When execute script from command line everything works fine. But when I go to the file by Firefox it hangs out and apache need to be restart. This is a Virtual Server with PHP Version 5.2.6-pl222-gentoo. When addre

Re: [us...@httpd] php

2009-05-20 Thread Stephen Love
uot;Sheryl" To: users@httpd.apache.org Subject: Re: [us...@httpd] php Date: Wed, 20 May 2009 13:43:15 -0400 (EDT) Hi, Did you do a separate compile for each instance of apache? If so, that wasn't necessary. You can run as many sites as you want off one compiled copy and use calling pa

Re: [us...@httpd] php

2009-05-20 Thread Sheryl
Hi, Did you do a separate compile for each instance of apache? If so, that wasn't necessary. You can run as many sites as you want off one compiled copy and use calling parameters and globals to point each one to a different httpd.conf. But if they're all compiled the same way you should be abl

Re: [us...@httpd] php

2009-05-19 Thread Melanie Pfefer
e: [us...@httpd] php > To: users@httpd.apache.org > Date: Tuesday, 19 May, 2009, 11:24 AM > Melanie Pfefer wrote: > > Hi > > > > I have an apache web server and other instances > started with a different httpd.conf (where I specified > different htdocs, port number, p

Re: [us...@httpd] php

2009-05-19 Thread Lester Caine
Melanie Pfefer wrote: Hi I have an apache web server and other instances started with a different httpd.conf (where I specified different htdocs, port number, pid...) Now the instances count around 10. A sudden request came to have php integrated in all instances. Could you please share your

[us...@httpd] php

2009-05-19 Thread Melanie Pfefer
Hi I have an apache web server and other instances started with a different httpd.conf (where I specified different htdocs, port number, pid...) Now the instances count around 10. A sudden request came to have php integrated in all instances. Could you please share your expertise on the best

[us...@httpd] [PHP] Apache question

2009-03-20 Thread Ernie Kemp
Help in advance. Sometime when I run the program http://localhost/DigitalBiz4U/index.php in a browser this message come up and the page is not displayed. "Apache HTTP Server stopped working and was closed" message on screen. Apache version: Apache2.2.11 PHP version: 5.2.8 OS: Vista

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread William A. Rowe, Jr.
Eric Covener wrote: AFAICT it seems like php-as-a-filter is somewhat out of fashion, and might require a rebuild of your PHP mod (if even still supported). It was never apache2handler; it's a different sapi named apache2filter. -

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread Eric Covener
On Sat, Mar 14, 2009 at 9:53 AM, Brian Mearns wrote: > On Sat, Mar 14, 2009 at 7:59 AM, André Warnier wrote: >> Brian Mearns wrote: >>> >>> I've got a PHP script that I want to call for every request under a >>> certain location. Specifically, I want to alter/set the response >>> headers using th

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread Brian Mearns
On Sat, Mar 14, 2009 at 7:59 AM, André Warnier wrote: > Brian Mearns wrote: >> >> I've got a PHP script that I want to call for every request under a >> certain location. Specifically, I want to alter/set the response >> headers using this script. I know headers can be set in other ways, >> but in

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread André Warnier
Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I

[us...@httpd] PHP script as Apache filter or "callback"

2009-03-13 Thread Brian Mearns
I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I don't think can be do

Re: [us...@httpd] PHP files not being processed. SOLVED

2009-02-01 Thread Chris Rehm
Thank you so much. It was a typo in the addhandler statement and the referenced article got me to it in minutes. - Original Message - From: "Eric Covener" To: Sent: Sunday, February 01, 2009 9:59 AM Subject: Re: [us...@httpd] PHP files not being processed. On Sun, Feb

Re: [us...@httpd] PHP files not being processed.

2009-02-01 Thread Eric Covener
On Sun, Feb 1, 2009 at 12:49 PM, Chris Rehm wrote: > However, when I try to process a PHP file, even a simple "hello world" type > tutorial.php, the files are not processed but are treated as some other > type of object. That is, a download dialog is opened for them and I can > either "open" or "

[us...@httpd] PHP files not being processed.

2009-02-01 Thread Chris Rehm
I have recently installed Apache 2.2 on Windows Vista. I followed a video tutorial from the web, everything seemed to go fine and the server appears to be functioning fine. I can use it to serve html files using the localhost prefix and it functions as part of my web development process. Howev

[us...@httpd] PHP (under httpd) reading a file outside DocumentRoot?

2008-12-26 Thread Jeff Weinberger
I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP, but I may be doing something wrong with mod_suexec), so I hope this is the right place to ask. I certainly appreciate any help anyone can offer! I am trying to get a PHP script to read a file that's outside the Docum

Re: [us...@httpd] PHP files coming up as files to download?

2008-12-25 Thread Tony Stevenson
Frank, Take a look at this, on the HTTPD wiki pages. http://wiki.apache.org/httpd/PHPDownload Cheers, Tony On 24/12/2008 19:21, Frank DeChellis wrote: Hi there, I am new to this list. I also posted this to a PHP list. I have Apache 1.3.41, PHP 5.2.8 running on NetBSD 4.0.1. This install i

[us...@httpd] PHP files coming up as files to download?

2008-12-24 Thread Frank DeChellis
Hi there, I am new to this list. I also posted this to a PHP list. I have Apache 1.3.41, PHP 5.2.8 running on NetBSD 4.0.1. This install is new. I have Apache and PHP running on 2 other servers with no problem. My problem is simple to explain but I have been unable to make it go away. Wheneve