Re: [users@httpd] PHP httpd.conf error

2021-12-29 Thread James Coyle
Thanks - that did help. Now if I can fix the other problem listed in my other email, I should be good to go. > On Dec 29, 2021, at 4:19 PM, Eric Covener wrote: > > On Wed, Dec 29, 2021 at 7:14 PM James Coyle > wrote: >> >> A short while ago, I loaded PHP to my Apache setup in Mac OS Montere

Re: [users@httpd] PHP httpd.conf error

2021-12-29 Thread Eric Covener
On Wed, Dec 29, 2021 at 7:14 PM James Coyle wrote: > > A short while ago, I loaded PHP to my Apache setup in Mac OS Monterey. > > I have since learned that I have to get a certificate to make this work > correctly. > > I have successfully configured the certificate, but I’m getting an error that

Re: [users@httpd] PHP-FPM with Reverse Proxy via cannot get to Post

2021-08-01 Thread Nick Folino
You're getting a 404 response. Are you sure you're pointing to the correct location? On Sun, Aug 1, 2021 at 7:26 PM JEA Holdings LLC wrote: > Test that method in beginning but was not working... > > Today test not working > > LOGS TODAY: > > On the MAIN root DIRECTORY > > > RewriteEngine On

Re: [users@httpd] PHP-FPM with Reverse Proxy via cannot get to Post

2021-08-01 Thread JEA Holdings LLC
Test that method in beginning but was not working... Today test not working LOGS TODAY: On the MAIN root DIRECTORY RewriteEngine On RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] After change httpd_access 192.168.22.217 - - [01/Aug/2021:18:35:56 -0400] "POST /api/v1

Re: [users@httpd] PHP-FPM with Reverse Proxy via cannot get to Post

2021-08-01 Thread Dino Ciuffetti
> After many tests, I have concluded that what is happening is that header is > not being sent to > PHP-FPM since we use authorization and access, no response payload is being > provided on POST with > PHP-FPM (my findings). > > The app does header authentication via JWT and outside of the authe

Re: [users@httpd] PHP-FPM with Reverse Proxy via cannot get to Post

2021-08-01 Thread JEA Holdings LLC
Appreciate the assistance didn't want to post too many logs on my first message... -I tested on reverse NGINX proxy = DID not work -I tested on NGINX with HTTP AND FastCGI = DID not work (same issue). I will post the Apache httpd at the end but here is a flavor of working and not working logs

Re: [users@httpd] PHP-FPM with Reverse Proxy via cannot get to Post

2021-07-31 Thread Frank Gingras
The error log entries on the httpd and php-fpm side will be helpful to continue troubleshooting. A POST request is not typically a problem for this configuration. On Thu, 29 Jul 2021 at 23:47, JEA Holdings LLC wrote: > Hello... > > Our project has moved to a new OS that needs PHP-FPM I got the

Re: [users@httpd] PHP-CGI with Apache-2.4.37

2019-03-08 Thread Hemant Chaudhary
Hi Eric, Now with script alias, I am getting error [Fri Mar 08 12:56:13.771703 2019] [cgi:error] [pid 1862271014:tid 579777016812208132] [client 15.213.82.149:52137] malformed header from script 'first.php': Bad header: Security Alert! The PHP Wherease script is working fine when running it thor

Re: [users@httpd] PHP-CGI with Apache-2.4.37

2019-03-08 Thread Eric Covener
On Fri, Mar 8, 2019 at 6:38 AM Hemant Chaudhary wrote: > > Hi All, > > I want to use my php scripts using mod-cgi. > > httpd.conf > AddHandler application/x-httpd-php7 php > AddHandler application/x-httpd-php7 .php This is mod_php configuration, you want to configure mod_cgi directly (ScriptAlia

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-29 Thread Frank Gingras
You're referring to php *extensions*, to be clear. A module with httpd would be a DSO, such as mod_php. Further, httpd modules are not unloaded as such; they remain loaded for the entire life of every child process. Anyway, if your php extension can't be loaded for whatever reason, it would be use

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-28 Thread Hemant Chaudhary
Hi Frank, When we start server which has mod_php then during it first dry run, it loads the module and deload the module. After successful completion of first dry run, it reads the configuration file second time and starts the apache server. During first dry run, dlopen() function loads the php mo

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-28 Thread Frank Gingras
What does "mod_php is not able to unload properly" mean in this case? Secondly, any reason why you're not using php-fpm with a threaded httpd mpm instead? On Wed, Jun 27, 2018 at 10:21 AM David Copeland wrote: > Okay, sorry, probably can't help then. I'm running Opensuse 42.3, Apache > 2.4.33 (

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread David Copeland
Okay, sorry, probably can't help then. I'm running Opensuse 42.3, Apache 2.4.33 (prefork) and mod_php 7.2.7. The one thing I forgot about when I originally switched from php 5 to 7 was the APACHE_MODULES variable in the file /etc/sysconfig/apache2, changing php5 to php7. But each os/distro likes t

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread Hemant Chaudhary
Its NonStop (tandem) On Jun 27, 2018 7:35 PM, "David Copeland" wrote: > What platform/distribution are you running? > > On 27/06/18 06:09 AM, Hemant Chaudhary wrote: > > Hi, > > > > I was using mod_php of php-5.5.37 with apache-2.4.25 and it was > > working fine. I upgraded the php to php-7.2.5.

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread David Copeland
What platform/distribution are you running? On 27/06/18 06:09 AM, Hemant Chaudhary wrote: > Hi, > > I was using mod_php of php-5.5.37 with apache-2.4.25 and it was > working fine. I upgraded the php to php-7.2.5. But after upgrade, > mod_php is not able to unload properly.  > > Does anybody also f

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread Motty Cruz
have you install mod_php72? pkg info | grep "mod_php" mod_php72-7.2.6 if not you need to install it pkg install mod_php72 in httpd.conf LoadModule php7_module    libexec/apache24/libphp7.so I hope this help! Thanks, Mot On 06/27/2018 03:09 AM, Hemant Chaudhary wrote: > Hi, > > I was using

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
This is fixed. I had to disable selinux on the web server. On Fri, Feb 24, 2017 at 8:38 AM Roman Gelfand wrote: > correction... I am getting Curl error: Failed to connect to : Permission > denied > > > On Fri, Feb 24, 2017 at 5:30 AM Roman Gelfand wrote: > > How do you configure Apache to exec

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
correction... I am getting Curl error: Failed to connect to : Permission denied On Fri, Feb 24, 2017 at 5:30 AM Roman Gelfand wrote: > How do you configure Apache to execute scripts? > > In the least, it looks like curl get request doesn't get executed. > > On Fri, Feb 24, 2017, 3:11 AM Marat K

Re: [users@httpd] php curl

2017-02-24 Thread Roman Gelfand
How do you configure Apache to execute scripts? In the least, it looks like curl get request doesn't get executed. On Fri, Feb 24, 2017, 3:11 AM Marat Khalili wrote: > it appears that get request never gets executed You didn't write what happens. Does your PHP code gets executed at all? One co

Re: [users@httpd] php curl

2017-02-24 Thread Marat Khalili
it appears that get request never gets executed You didn't write what happens. Does your PHP code gets executed at all? One common error is not configuring Apache to recognize scripts in the first place. -- With Best Regards, Marat Khalili -

Re: [users@httpd] php-fpm user other than webserver user?

2016-12-29 Thread Jason Brooks
Of course, if you are using tcp sockets, you will need to bind to a different port for each socket, and unix-domain sockets will need a different path/filename. —jason Jason BrooksSystems Administrator eROIPerformance is Art. m: 505 nw couch #300 w: eroi.com

Re: [users@httpd] php-fpm user other than webserver user?

2016-12-29 Thread Jason Brooks
Hello Mattias, I just dealt with this question moments ago. I am running ubuntu 16.04 lts. I had to modify the pool file: /etc/php/7.0/fpm/pool.d/www.conf The lines in question are: user = group = listen.owner = listen.group = The last two lines are for unix do

Re: [users@httpd] PHP and mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

2015-12-10 Thread Luca Toscano
I would set it to a value that is the upper bound of your responses' size (it might already be the case, please check /proc/sys/net/ipv4/tcp_wmem). This should avoid blocking fcgid's while flushing data due to slow external clients, avoiding also weird timeouts set in the response processing chain.

Re: [users@httpd] PHP and mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

2015-12-10 Thread Steven Barre
I haven't yet been able to determine a pattern of when it happens. It seems to be all kinds of requests (for PHP pages) that is causing it. We even have a few different CMSs and they are all doing it, so I don't think its a PHP code issue. What would you recommend I set SendBufferSize to? Its

Re: [users@httpd] PHP and mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

2015-12-10 Thread Luca Toscano
Hi Steven, from [1] it appears that something goes wrong when flushing data to the output filters chain. Does it happen with a specific set of requests or randomly? Shot in the dark: have you also tried to increase the Apache SendBufferSize (https://httpd.apache.org/docs/2.4/mod/mpm_common.html#s

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-23 Thread Yehuda Katz
On Thu, Jul 23, 2015 at 3:15 PM, MM wrote: > You need to choose mod_php or fpm. Don't load both. I personally usually >> use mod_php. >> > Is it that with mod_php, httpd runs php in process while fpm delegates to > separate processes? > Correct. - Y

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-23 Thread MM
On 22 July 2015 at 20:49, Yehuda Katz wrote: > Do you need this configuration to be portable to different systems with > different modules available? > No > If not, remove all the configuration that you really want to use. > All right... > This will make sure that you understand what your ser

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-22 Thread Yehuda Katz
Do you need this configuration to be portable to different systems with different modules available? If not, remove all the wrote: > Apologies for the missing info. It is https by the way. Please see below: > > On 21 July 2015 at 00:48, Yehuda Katz wrote: > >> You haven't shown a need for any pr

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-21 Thread MM
Apologies for the missing info. It is https by the way. Please see below: On 21 July 2015 at 00:48, Yehuda Katz wrote: > You haven't shown a need for any proxy configuration at all > Yes. If I have a single box with low traffic, I don't need a proxy config at all, right? Is this related to 1. pr

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-20 Thread Yehuda Katz
You haven't shown a need for any proxy configuration at all and you did not include nearly enough configuration, plus you didn't say what wiki package you are running. How about posting more of your config, including the vhost and actual fpm or mod_php config? Sent from a gizmo with a very small

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Thanks for that update. On Sun, May 4, 2014 at 9:36 PM, Eric Covener wrote: > On Sun, May 4, 2014 at 9:03 PM, Otis Dewitt - NOAA Affiliate > wrote: > > Something you should know about mod_proxy_fcgi is that currently it > doesn’t > > support UNIX sockets, > > Supported since 2.4.7 > > ---

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Eric Covener
On Sun, May 4, 2014 at 9:03 PM, Otis Dewitt - NOAA Affiliate wrote: > Something you should know about mod_proxy_fcgi is that currently it doesn’t > support UNIX sockets, Supported since 2.4.7 - To unsubscribe, e-mail: users-unsu

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Greetings Lennsen, Something you should know about mod_proxy_fcgi is that currently it doesn’t support UNIX sockets, so you must start your PHP-FPM process using a TCP port, which is default when you install it. Daniel Garajau wrote a interesting document on this subject: http://garajau.com.br/bl

Re: [users@httpd] PHP works but not PHP pages.

2014-03-17 Thread Lester Caine
Michael Peters wrote: I had come from a fully functional Apache 2.2 environment to the 2.4 and everything seemed to go to pot. I appreciate you guys working on a solution a lot! Thank you very much. Michael Personally I'm running SUSE Linux in various versions. I've Apache 2.2 and 2.4 runnin

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
eciate you guys working on a solution a lot! Thank you very much. -Original Message- From: Lester Caine [mailto:les...@lsces.co.uk] Sent: Sunday, March 16, 2014 12:22 PM To: users@httpd.apache.org Subject: Re: [users@httpd] PHP works but not PHP pages. Michael Peters wrote: > Now a ne

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Lester Caine
Michael Peters wrote: Now a new error comes up on the other: “Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /www/html/auditprotocol/includes/db-core.php on line 13” Which looks like a PDO problem and so far rebuilding PHP with PDO support has not worked. You need PDO_

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
not worked. *From:* Steven Siebert [mailto:smsi...@gmail.com] *Sent:* Sunday, March 16, 2014 10:43 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. And, of course, the second error is complaining that your directory permissions are incorrect. Accordi

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
iled to > write session data (files). Please verify that the current setting of > session.save_path is correct (/var/lib/php/session) in Unknown on line 0 > > > > *From:* Steven Siebert [mailto:smsi...@gmail.com] > *Sent:* Sunday, March 16, 2014 9:59 AM > > *To:* users@httpd.ap

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
typo: mbstring extension. On Sun, Mar 16, 2014 at 1:37 PM, Steven Siebert wrote: > Looks like that pointed you to the answeryou need to install the > non-default mstring extension. > > http://www.php.net/manual/en/mbstring.installation.php > > > > On Sun, Mar 16, 2014 at 1:16 PM, Michael P

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
Looks like that pointed you to the answeryou need to install the non-default mstring extension. http://www.php.net/manual/en/mbstring.installation.php On Sun, Mar 16, 2014 at 1:16 PM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: > Call to undefined function mb_detect_encodin

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Lester Caine
Michael Peters wrote: I tried this: Try error_reporting(0); to disable errors ... What version of PHP was the code originally written for? It may be something like e_strict which is crashing the other pages. Trick is to add code to a working page until things crash. I normally end up adding

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
on line 0 *From:* Steven Siebert [mailto:smsi...@gmail.com] *Sent:* Sunday, March 16, 2014 9:59 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote:

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
, March 16, 2014 9:58 AM To: users@httpd.apache.org Subject: Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 12:44 PM, Michael Peters wrote: > LoadModule php5_module modules/libphp5.so Sorry, the AddHandlers/AddTypes seem to be trying to do it. Must have typoed my sea

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
...@gmail.com] *Sent:* Sunday, March 16, 2014 9:59 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: y all PHP pages except for my test.php will not display? My

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: > y all PHP pages except for my test.php will not display? > > > > My fresh install from source of Apache 2.4.7 and PHP 5.5.10 > So you can display your test.php in the browser and not any other page?

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Eric Covener
On Sun, Mar 16, 2014 at 12:44 PM, Michael Peters wrote: > LoadModule php5_module modules/libphp5.so Sorry, the AddHandlers/AddTypes seem to be trying to do it. Must have typoed my search. What happens when you access a php file locally? -- Eric Covener cove...@gmail.com -

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
Isn't this doing it? LoadModule php5_module modules/libphp5.so -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Sunday, March 16, 2014 9:12 AM To: users@httpd.apache.org Subject: Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Eric Covener
On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters wrote: > What I cannot figure out is why all PHP pages except for my test.php will > not display? I didn't see anywhere in your config where you configured Apache to do anything special for PHP. Normally this would be configuring fastcgi or mod_ph

Re: [users@httpd] PHP variables for mod_proxy_ajp

2013-10-23 Thread Jan Vávra
Hello, if there is defined a context for reverse proxy (eg. /tomcat_part), no php is executed on /tomcat_part. This thing you can do via redirect and pass the variable as url parameter, e.g. add param 'key' /tomcat_part/page.jsp?key=something The client calls /php_part/page.php and page.php t

Re: [users@httpd] PHP Warning

2013-06-21 Thread motty cruz
Thanks for your prompt reply David; This is the first time i see this error, I'm a bit unclear on how to clean up inputs, I will look that up. Thanks for the hint, On Fri, Jun 21, 2013 at 7:29 AM, David Guerra wrote: > Do you clean your inputs? > If so, then it doesn't matter unless you get a

Re: [users@httpd] PHP Warning

2013-06-21 Thread David Guerra
Do you clean your inputs? If so, then it doesn't matter unless you get a ton of these. On Fri, Jun 21, 2013 at 10:19 AM, motty cruz wrote: > Hello, I noticed the following error in my error logs: > [error] [client 50.17.211.201] PHP Warning: Unknown: Input variables > exceeded 1000. To increas

Re: [users@httpd] PHP dynamic library install in apache on Linux ?

2013-04-30 Thread georg
Tnx ! will do, there is a lot of glue magic out there :) br Georg - Original Message - From: "Ben Johnson" To: Sent: Tuesday, April 30, 2013 6:37 PM Subject: Re: [users@httpd] PHP dynamic library install in apache on Linux ? On 4/30/2013 12:06 PM, georg wrote

Re: [users@httpd] PHP dynamic library install in apache on Linux ?

2013-04-30 Thread Ben Johnson
On 4/30/2013 12:06 PM, georg wrote: > Hi, > > Im switching base from XP to feodora Linux, have installed the Apache > packaage that goes with it > however, I havent found out how to install PHP through (dynamic linked) > library, as I did with XP. > I dont want to have it as CGI since Ive under

RE: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-26 Thread Ashly Pridmore
r the virtualhost options. Hopefully that helps someone else out there! -Original Message- From: Ashly Pridmore [mailto:ashly.pridm...@juniperbridge.com] Sent: 04 March 2013 13:20 To: users@httpd.apache.org Subject: RE: [users@httpd] PHP script not executing with empty POST when using chunked enc

Re: [users@httpd] PHP list issues

2013-03-07 Thread Hendrik Schmieder
georg schrieb: Hi, have a problem getting a picture stored and retreived by ODBC in PHP to get rendered, it comes as a golliable flush of nonsens characters anyone has a clue, or a deferral to a good PHP forum tnx http://www.php.net/mailing-lists.php ---

Re: [users@httpd] PHP list issues

2013-03-07 Thread Ben Johnson
On 3/6/2013 4:46 PM, georg wrote: > Hi, > > have a problem getting a picture stored and retreived by ODBC in PHP to > get rendered, > it comes as a golliable flush of nonsens characters > > anyone has a clue, or a deferral to a good PHP forum > > tnx > > Georg > You've acknowledged already

RE: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-04 Thread Ashly Pridmore
otherwise). Is there a better way to find out? -Original Message- From: Nick Kew [mailto:n...@webthing.com] Sent: 04 March 2013 13:19 To: users@httpd.apache.org Subject: Re: [users@httpd] PHP script not executing with empty POST when using chunked encoding On Mon, 4 Mar 2013 07:49:30

Re: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-04 Thread Nick Kew
On Mon, 4 Mar 2013 07:49:30 -0500 Eric Covener wrote: > On Mon, Mar 4, 2013 at 7:42 AM, Ashly Pridmore > wrote: > > Hmm, so the problem is sending "content-length: 0" with "transfer-encoding" > > set to chunked? > > The spec says T-E is ignored in this case. The spec actually says the reverse

Re: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-04 Thread Eric Covener
On Mon, Mar 4, 2013 at 7:42 AM, Ashly Pridmore wrote: > Hmm, so the problem is sending "content-length: 0" with "transfer-encoding" > set to chunked? The spec says T-E is ignored in this case. - To unsubscribe, e-mail: users-un

RE: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-04 Thread Ashly Pridmore
ilto:jmozd...@nde.ag] Sent: 04 March 2013 12:27 To: users@httpd.apache.org Subject: Re: [users@httpd] PHP script not executing with empty POST when using chunked encoding Hi Ashley, Zitat von Ashly Pridmore : > [...] > The NBG on the other hand, sends the following: > > POST /{URL} HTTP

Re: [users@httpd] PHP script not executing with empty POST when using chunked encoding

2013-03-04 Thread Jens-U. Mozdzen
Hi Ashley, Zitat von Ashly Pridmore : [...] The NBG on the other hand, sends the following: POST /{URL} HTTP/1.1 HOST: {Host} User-Agent: workssys.com Transfer-Encoding: chunked Content-Length: 0 Cookie2: $Version="1" Cookie: PHPSESSID=l47r1bf2erk870i8n3m9sm4v65\r\n \r\n 0\r\n \r\n What might

Re: [users@httpd] PHP wont dance with Apache

2012-12-10 Thread georg
this in .conf, so by following instructions I didnt get it right. Again Thanx BR Georg - Original Message - From: "Hendrik Schmieder" To: Sent: Monday, December 10, 2012 9:16 AM Subject: Re: [users@httpd] PHP wont dance with Apache georg schrieb: - Origin

Re: [users@httpd] PHP wont dance with Apache

2012-12-10 Thread Hendrik Schmieder
georg schrieb: - Original Message - *From:* Darryle Steplight <mailto:dstepli...@gmail.com> *To:* users@httpd.apache.org <mailto:users@httpd.apache.org> *Sent:* Sunday, December 09, 2012 9:10 PM *Subject:* Re: [users@httpd] PHP wont dance with Apache

Re: [users@httpd] PHP wont dance with Apache

2012-12-09 Thread georg
@httpd.apache.org Sent: Sunday, December 09, 2012 9:10 PM Subject: Re: [users@httpd] PHP wont dance with Apache Hi Georg, Why not install PHP 5? PHP 4 is old news. Also, it sounds like you need to include a AddHandler in your apache config file so your pages know how to parse PHP

Re: [users@httpd] PHP wont dance with Apache

2012-12-09 Thread georg
THNX ! Addhandler I have missed out. Probably do the trick. Be back. (what would it read for php4 ?, well will check) BR Georg - Original Message - From: Darryle Steplight To: users@httpd.apache.org Sent: Sunday, December 09, 2012 9:10 PM Subject: Re: [users@httpd] PHP

Re: [users@httpd] PHP wont dance with Apache

2012-12-09 Thread georg
al Message - From: Yehuda Katz To: users@httpd.apache.org Sent: Sunday, December 09, 2012 9:11 PM Subject: Re: [users@httpd] PHP wont dance with Apache On Sun, Dec 9, 2012 at 2:59 PM, georg wrote: I have installed, at least to my own understanding, PHP 4.4.3 as module to Ap

Re: [users@httpd] PHP wont dance with Apache

2012-12-09 Thread Yehuda Katz
On Sun, Dec 9, 2012 at 2:59 PM, georg wrote: > I have installed, at least to my own understanding, PHP 4.4.3 as module to > Apache 2.0.5. > I can not find any indication that a version 2.0.5 was released, but it would have been before 2002. Support for PHP 4 has been discontinued since 2007-12-3

Re: [users@httpd] PHP wont dance with Apache

2012-12-09 Thread Darryle Steplight
Hi Georg, Why not install PHP 5? PHP 4 is old news. Also, it sounds like you need to include a AddHandler in your apache config file so your pages know how to parse PHP code. On Sun, Dec 9, 2012 at 2:59 PM, georg wrote: > I have installed, at least to my own understanding, PHP 4.4.3 as mo

Re: [users@httpd] php libraries

2012-11-07 Thread Hendrik Schmieder
Norman Fournier schrieb: Hello, I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed me to the Apache UNIX install guide. I uncommented the appropriate sections of httpd.conf but php 4x is returned with phpinfo.php. My question is where do I put the php 5 files in the OSX h

Re: [users@httpd] php libraries

2012-11-06 Thread Jeff Dyke
On Tue, Nov 6, 2012 at 6:54 PM, Norman Fournier wrote: > On 2012-11-06, at 2:47 PM, Jeff Dyke wrote: > > On Tue, Nov 6, 2012 at 5:10 PM, Ben Johnson wrote: > >> >> >> On 11/6/2012 3:56 PM, Norman Fournier wrote: >> > Hello, >> > >> > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs

Re: [users@httpd] php libraries

2012-11-06 Thread Norman Fournier
On 2012-11-06, at 2:47 PM, Jeff Dyke wrote: > On Tue, Nov 6, 2012 at 5:10 PM, Ben Johnson wrote: > > > On 11/6/2012 3:56 PM, Norman Fournier wrote: > > Hello, > > > > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed me > > to the Apache UNIX install guide. I uncommented

Re: [users@httpd] php libraries

2012-11-06 Thread Jeff Dyke
On Tue, Nov 6, 2012 at 5:10 PM, Ben Johnson wrote: > > > On 11/6/2012 3:56 PM, Norman Fournier wrote: > > Hello, > > > > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed > me to the Apache UNIX install guide. I uncommented the appropriate sections > of httpd.conf but php 4x

Re: [users@httpd] php libraries

2012-11-06 Thread Igor Cicimov
On 07/11/2012 7:57 AM, "Norman Fournier" wrote: > > Hello, > > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed me to the Apache UNIX install guide. I uncommented the appropriate sections of httpd.conf but php 4x is returned with phpinfo.php. > > My question is where do I pu

Re: [users@httpd] php libraries

2012-11-06 Thread Ben Johnson
On 11/6/2012 3:56 PM, Norman Fournier wrote: > Hello, > > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed me to > the Apache UNIX install guide. I uncommented the appropriate sections of > httpd.conf but php 4x is returned with phpinfo.php. > > My question is where do

Re: [users@httpd] php admin value ignored

2012-05-16 Thread Nick Edwards
OMFG! thank you! the vhost log value was owne rwx--, after setting 1770, the scripts works happily. Thanks Nik On 5/16/12, Noel Butler wrote: > If you have it defined to use /srv/foo.net/tmp/ and it wants to > use /tmp it's probably because httpd/php can't write to that directory, > check

Re: [users@httpd] php admin value ignored

2012-05-15 Thread Noel Butler
If you have it defined to use /srv/foo.net/tmp/ and it wants to use /tmp it's probably because httpd/php can't write to that directory, check your permissions, set 1770 on /srv/foo.net/tmp/ On Tue, 2012-05-15 at 17:26 +1000, Nick Edwards wrote: > Hi, > > Although I did not include it in my s

Re: [users@httpd] php admin value ignored

2012-05-15 Thread Nick Edwards
Hi, Although I did not include it in my snippage, I already have php_admin_value session.save_path /srv/foo.net/sess/ Should it make a difference if thats not the same as tmp ? Thanks. On 5/15/12, Alex Domoradov wrote: > Try to something like this > > php_admin_value open_basedir /usr/local/

Re: [users@httpd] php admin value ignored

2012-05-15 Thread Alex Domoradov
Try to something like this php_admin_value open_basedir /usr/local/lib/php/:/srv/foo.net/ php_admin_value upload_tmp_dir /srv/foo.net/tmp/ php_admin_value session.save_path /srv/foo.net/tmp/ On Tue, May 15, 2012 at 9:46 AM, Nick Edwards wrote: > Hi, > > in httpd.conf each virtual host has > ...

Re: [users@httpd] PHP doesn't process pages

2012-04-24 Thread Noel Butler
On Sun, 2012-04-22 at 21:00 -0400, John Iliffe wrote: > O > - the bit came from the PHP installation on the default Apache > config file. I don't think I coded it, but at this point I can't be sure. > That's strange, I only ever do source builds, because no package maintainer can build pack

Re: [users@httpd] PHP doesn't process pages

2012-04-24 Thread Noel Butler
On Sun, 2012-04-22 at 20:42 -0400, John Iliffe wrote: > Hi Noel: > > At the risk of becoming a real pest, can you tell me what version of PCRE > you used? I installed PCRE-8.30 and PHP 5.3.10 will not compile with it. > PHP-5.4.0 was OK but with PHP-5.3.10 I get > It does seem horribly b

Re: [users@httpd] PHP doesn't process pages

2012-04-23 Thread John Iliffe
On Sunday 22 April 2012 20:42:26 John Iliffe wrote: > On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > > AddType application/x-httpd-php .php > > > > > > I did this and get the same result as before. > > > > > > The complete PHP c

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread John Iliffe
On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > AddType application/x-httpd-php .php > > > > I did this and get the same result as before. > > > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libph

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread John Iliffe
On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > AddType application/x-httpd-php .php > > > > I did this and get the same result as before. > > > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libph

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread William A. Rowe Jr.
On 4/22/2012 6:08 AM, Noel Butler wrote: > John, > > On Sun, 2012-04-22 at 17:34 +1000, Noel Butler wrote: > >> >> I note your using php 5.4.0 - all my testing has been with 5.3.10 and is >> done on >> Slackware, but I do have one RHEL 5.2 >> I'll throw 5.4 on the dev box if I get a chance later

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread Noel Butler
John, On Sun, 2012-04-22 at 17:34 +1000, Noel Butler wrote: > > I note your using php 5.4.0 - all my testing has been with 5.3.10 and > is done on Slackware, but I do have one RHEL 5.2 > I'll throw 5.4 on the dev box if I get a chance later (almost dinner > time here) and see what blows up :) >

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread Noel Butler
On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > AddType application/x-httpd-php .php > > I did this and get the same result as before. > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libphp5.so > > > SetHandler application/x-httpd-php > >

Re: [users@httpd] PHP doesn't process pages

2012-04-21 Thread John Iliffe
On Friday 20 April 2012 23:38:47 Noel Butler wrote: > On Fri, 2012-04-20 at 22:39 -0400, John Iliffe wrote: > > So, to recap the original question: > > > > - apachectl -M responds: php5_module (shared) > > > > - all PHP page requests are served as raw pages, not processed by PHP > > > > - confi

Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Sat, 2012-04-21 at 13:38 +1000, Noel Butler wrote: Replying to ones self is a bad sign, but please forgive me its Saturday, and I've just returned from a HUGE lunch and are ready to curl up and have a nap :) But also check the DirectoryIndex option to ensure it has index.php ... *BUT* tha

Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Fri, 2012-04-20 at 22:39 -0400, John Iliffe wrote: > So, to recap the original question: > > - apachectl -M responds: php5_module (shared) > > - all PHP page requests are served as raw pages, not processed by PHP > > - config file contains: > LoadModule php5_modulemodules/libph

Re: [users@httpd] php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread Igor Galić
> > > > > > The info.php reports it has php 5.2, but the strange protocol > > > issue > > > and inclusion of /php5-cgi/ > > > create problems. > > > > Maybe the application does it? > > > > No no.. with php 5.3 as module it works without this very issue Btw, you are aware that PHP 5.2 has be

Re: [users@httpd] php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread J. Bakshi
On Fri, 16 Dec 2011 10:51:15 - (UTC) Igor Galić wrote: > > > - Original Message - > > Dear list, > > > > I ma facing a strange problem in my debian squeeze box having apache > > and both php 5.3 as module > > + php 5.2 as cgi. > > > > Whenever I set any site to work with 5.2 cgi,

Re: [users@httpd] php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread Igor Galić
- Original Message - > Dear list, > > I ma facing a strange problem in my debian squeeze box having apache > and both php 5.3 as module > + php 5.2 as cgi. > > Whenever I set any site to work with 5.2 cgi, the http:// protocol > automatically changes to https:// > and the link becomes as

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-08-01 Thread Jeroen Geilman
On 2011-08-01 20:45, Rob Stone wrote: On 01/08/11 06:11, Jeroen Geilman wrote: On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? I don't know who he is, but he replied to my request for assistance with my problem and made a helpful sugg

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-08-01 Thread Rob Stone
On 01/08/11 06:11, Jeroen Geilman wrote: On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? I don't know who he is, but he replied to my request for assistance with my problem and made a helpful suggestion, which I followed up, and now I

Re: [users@httpd] PHP 5.3.6 for Apache VC 9 binaries

2011-08-01 Thread Lester Caine
DW wrote: Does anybody know whether apache 2.2.19 and (later versions) will support VC9 binaries for PHP 5.3.6 et al? I am currently using 5.3.5 (VC6) but 5.3.6 is only available in VC9 binaries windows/Apache 32 bit versions. I wonder if I'll have to compile myself for my system!. Life is rea

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-31 Thread Jeroen Geilman
On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? -- J. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-31 Thread Rob Stone
On 31/07/11 10:14, Jeroen Geilman wrote: On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word "include". In future I'll try to be semantically correct. By "include" I mean lines of code like this that are embedded into the source html. And

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word "include". In future I'll try to be semantically correct. By "include" I mean lines of code like this that are embedded into the source html. And that's exactly the point - it's not "

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Rob Stone
y 30, 2011 4:39 PM Subject: Re: [users@httpd] PHP files not being parsed in HTML pages On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread LabTech
Maybe I'm ancient... but I create ALL my HTML via ECHO in PHP... then all the includes WORK! I set the entire HTML PAGE within brackets. ECHO works! (as does INCLUDE) - Original Message - From: "Jeroen Geilman" To: Sent: Saturday, July 30, 2011 4:39 PM Subject: Re: [u

  1   2   >