Re: nginx or apache for php?

2024-08-18 Thread Jonathan Dowland
On Thu Aug 1, 2024 at 4:26 PM BST, Jeffrey Walton wrote: > Related, Nginx is generally considered more secure than Apache. Nginx > has approximately 220 CVEs, while Apache and friends has roughly 2700 > CVEs. Confer, > and

Re: php packages for debian 10 and debian 11

2024-08-08 Thread Andrew M.A. Cater
On Wed, Aug 07, 2024 at 01:28:45PM +, Naik, Anil Natha wrote: > > Hi Team, > Hi Anik, > As per the Debian repository I could see below php versions > > Debian 10 > php<https://packages.debian.org/buster/php/php> (2:7.3+69) > > Debian 11 > php (2

Re: php packages for debian 10 and debian 11

2024-08-07 Thread Eduardo M KALINOWSKI
On 07/08/2024 10:28, Naik, Anil Natha wrote: Hi Team, As per the Debian repository I could see below php versions Debian 10 /*php* <https://packages.debian.org/buster/php/php>* (2:7.3+69)*/ Debian 11 */php (2:7.4+76)/* // We have installed php 8.1.1 version for Debian 11. *We wan

Re: php packages for debian 10 and debian 11

2024-08-07 Thread Wesley
i always run php8 on debian 11. There is no problem for me. Thanks > > Hi Team, > > As per the Debian repository I could see below php versions > > Debian 10 > > *php https://packages.debian.org/buster/php/php ** (2:7.3+69)*** > > Debian 11 >

php packages for debian 10 and debian 11

2024-08-07 Thread Naik, Anil Natha
Hi Team, As per the Debian repository I could see below php versions Debian 10 php<https://packages.debian.org/buster/php/php> (2:7.3+69) Debian 11 php (2:7.4+76) We have installed php 8.1.1 version for Debian 11. We wanted to know, what is the stable version of php available for Deb

Re: nginx or apache for php?

2024-08-01 Thread Nicholas Geovanis
On Thu, Aug 1, 2024, 10:25 AM Dan Ritter wrote: > Walt E wrote: > > I have been using apache2 + php for years under debian. > > But I heard people says nginx + php has better performance. > > Do you have experience on both of setup and share a bit with me? > > > I h

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 15:01, Andrew M.A. Cater wrote: On Thu, Aug 01, 2024 at 01:10:37PM -0400, gene heskett wrote: On 8/1/24 09:34, Andy Smith wrote: Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: Au contraire Andy. What a surprise. Here we go again. The best, most expandable 3

Re: nginx or apache for php?

2024-08-01 Thread Walt E
Hello I am currently running a simple Wordpress service with low traffic, so I have not encountered any performance issues. Apache performs well. But I will still try nginx+php fpm as a substitute when I have time. As for reverse proxy, because I used CloudFlare, I think CloudFlare'

Re: nginx or apache for php?

2024-08-01 Thread Andrew M.A. Cater
On Thu, Aug 01, 2024 at 01:10:37PM -0400, gene heskett wrote: > On 8/1/24 09:34, Andy Smith wrote: > > Hello, > > > > On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: > > > Au contraire Andy. > > > > What a surprise. Here we go again. > > > > > The best, most expandable 3d printer d

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 10:31, Sarunas Burdulis wrote: On 8/1/24 07:35, Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. That is not true: 1. https://people.apache.org/~jim/presos/ACNA11/Apache_httpd_cloud.pdf 2

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 09:34, Andy Smith wrote: Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: Au contraire Andy. What a surprise. Here we go again. The best, most expandable 3d printer driver, klipper, uses nginx to build its control interface It doesn't matter what niche activi

Re: nginx or apache for php?

2024-08-01 Thread Jeffrey Walton
On Thu, Aug 1, 2024 at 10:40 AM Walt E wrote: > > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? Related, Nginx is generally considered more

Re: nginx or apache for php?

2024-08-01 Thread Sarunas Burdulis
On 8/1/24 07:35, Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. That is not true: 1. https://people.apache.org/~jim/presos/ACNA11/Apache_httpd_cloud.pdf 2. https://www.slideshare.net/slideshow/choosing

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hello, On Thu, Aug 01, 2024 at 02:57:51PM +0100, Alain D D Williams wrote: > You need to profile & understand first. It really seems more like a case of Fear Of Missing Out - "some people said nginx is faster". 😀 I'm all for a fun learning experience, but I don't think OP is particularly missing

Re: nginx or apache for php?

2024-08-01 Thread Alain D D Williams
On Thu, Aug 01, 2024 at 08:39:11AM -0400, Dan Ritter wrote: > Do you have a performance problem? If not, don't change. More to the point - what does the application do, where does its time go ? Eg if you have complex database selects then the web server overhead prolly only takes a small part of

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: > Au contraire Andy. What a surprise. Here we go again. > The best, most expandable 3d printer driver, klipper, > uses nginx to build its control interface It doesn't matter what niche activities you (or I) engage in on niche

Re: nginx or apache for php?

2024-08-01 Thread José Ángel Pastrana
On Thu 2024/08/01 13:40:01+0200 (CEST), Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? Thank you. Walt Evans Hello, **by default

Re: nginx or apache for php?

2024-08-01 Thread José Ángel Pastrana
On Thu 2024/08/01 13:40:01+0200 (CEST), Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? Thank you. Walt Evans Hello, by default, Apache

Re: nginx or apache for php?

2024-08-01 Thread Dan Ritter
Walt E wrote: > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? I have experience on both. Do you have a performance problem? If not, don't c

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 07:50, Andy Smith wrote: Hi, On Thu, Aug 01, 2024 at 07:35:38PM +0800, Walt E wrote: I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? I do and I don&#

Re: nginx or apache for php?

2024-08-01 Thread Stanislav Vlasov
чт, 1 авг. 2024 г. в 16:46, Walt E : > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? If your setup works fine, use apache2 as php runner. Nginx nee

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hi, On Thu, Aug 01, 2024 at 07:35:38PM +0800, Walt E wrote: > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? I do and I don't think it

nginx or apache for php?

2024-08-01 Thread Walt E
Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? Thank you. Walt Evans

Re: Debian12 with nginx and php-fpm

2024-07-11 Thread Stefano Prina
Ciao Michael, simply the old-style /etc/init.d "start" that you show in your post did not suffice. I do note that you seem to have a mix of TCP ports here; both 80, 8080 (in the requested URL) and 8090 (in the podman invocation). After your email, I double checked and I reported wrongly the p

Re: Debian12 with nginx and php-fpm

2024-07-06 Thread Michael Kjörling
On 6 Jul 2024 13:58 +, from stetheww...@posteo.net (Stefano Prina): > [container]$ tail -n 2 /var/log/nginx/error.log > 2024/07/06 13:19:45 [error] 7365#7365: *1 FastCGI sent in stderr: "PHP > message: PHP Warning:  PHP Request Startup: Failed to open stream: > Permission den

Debian12 with nginx and php-fpm

2024-07-06 Thread Stefano Prina
Hello All, I am Stefano from Torino, Italy;  I am just new to this  list, nice to virtually meet all of you : ) I am writing to you because I need support for a strange issue I' am facing. I am trying to create a debian container to run some php app for a side project, the idea is t

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-29 Thread Greg Wooledge
disappeared too.) > So, I want to say again that the errors shown in the text below (S instead > of $, ` inst of ') are not errors that I made in the php script, which > scripts I write using old vi (vim). This was due to the fact that some parts > of my messages here were typed using

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-29 Thread Bernard
instead of $, ` inst of ') are not errors that I made in the php script, which scripts I write using old vi (vim). This was due to the fact that some parts of my messages here were typed using LibreOffice and parts were copy/pasted here. So, my actual concern still is that I can't

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-28 Thread Greg Wooledge
On Thu, Mar 28, 2024 at 10:36:01AM +0100, Bernard wrote: > But I've found more problems, concerning $_REQUEST, $_GET... > > The old way that I used 11 yrs ago no longer works : > > $nom = S_GET [‘nom’] ; > > no longer operates with php 7.4. This code is simply ignor

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-28 Thread Bernard
onger operates with php 7.4. This code is simply ignored. S_REQUEST, $_POST do not work either. Could someone show me how I should write these few lines dating 2010… (worked at least till 2013), which code is now ignored by php 7.4 with no explanations since I don’t have debugging function a

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Jeffrey Walton
On Tue, Mar 26, 2024 at 1:17 PM Marco Moock wrote: > > Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard: > > > I have the two // in the displayed error messages. However the file > > is where it should be, without double // > > The this seems to be a bug because if it searches for //file it will > de

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread David Wright
On Tue 26 Mar 2024 at 09:43:37 (-0400), Cindy Sue Causey wrote: > On Tue, Mar 26, 2024 at 6:04 AM Bernard wrote: [ … ] > > $ php -m | grep mysqli > > > > "If the MySQLi extension is enabled, we’ll see mysqli in the output. > > Otherwise, the output will be em

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Marco Moock
Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard: > I have the two // in the displayed error messages. However the file > is where it should be, without double // The this seems to be a bug because if it searches for //file it will definitely not find it. Can you use strace to verify that? -- Gruß

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Cindy Sue Causey
ams I wrote. > > I discovered that this was due to errors I made in the php program. The > errors in the script being corrected, mysqli_connect, mysqli_select_db, > mysqli_query... now do operate... despite the errors concerning mysqli.so > that I discovered when running the tests wh

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard
I have progressed a little in my trials. mysqli.so still shows the previously described problems, and I thought that this was responsible of the fact that mysqli functions were apparently discarded in the test programs I wrote. I discovered that this was due to errors I made in the php

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard
ls -Al /usr/lib/php/20190902 total 7732 -rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so -rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so -rw-r--r-- 1 root root   92264  9 juin   2023 exif.so -rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so -rw-r--r-- 1 root root 5744752  9

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard
On 24/03/2024 20:02, Marco Moock wrote: Am Sun, 24 Mar 2024 19:51:05 +0100 schrieb Bernard : '//usr/lib/php/20190902/mysqli.so' Is that really the path in the message? The 2 // must not be there. I have the two // in the displayed error messages. However the file is where it

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Jeffrey Walton
On Sun, Mar 24, 2024 at 5:57 PM Bernard wrote: > > Hi to Everyone ! > > PHP Warning: PHP Startup: Unable to load dynamic library > '//usr/lib/php/20190902/mysqli.so' However, the file is there... not human > readable as expected and mysqli_connect doesn't opera

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Geert Stappers
On Sun, Mar 24, 2024 at 07:51:05PM +0100, Bernard wrote: > *PHP Warning: PHP Startup: Unable to load dynamic library > '//usr/lib/php/20190902/mysqli.so' |$ apt-file search mysqli.so |php8.2-mysql: /usr/lib/php/20220829/mysqli.so |$ So on my system, trixie, I would do `sudo ap

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Marco Moock
Am Sun, 24 Mar 2024 19:51:05 +0100 schrieb Bernard : > '//usr/lib/php/20190902/mysqli.so' Is that really the path in the message? The 2 // must not be there.

Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Bernard
Hi to Everyone ! *PHP Warning: PHP Startup: Unable to load dynamic library '//usr/lib/php/20190902/mysqli.so' * *However, the file is there... not human readable as expected* *and mysqli_connect doesn't operate.* *Thanks in advance for your help* *Bernard*

Re: Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Charles Curley
> Should be removed and replaced with a link to > > php8.2.conf -> ../mods-available/php8.2.conf > php8.2.load -> ../mods-available/php8.2.load > > > Is this known about? > > Andrew > You might want to disable any php 7.4 modules and enable php8.2.conf and php8.

Re: Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Dan Ritter
Andrew Wood wrote: > This is because the php7.4 files have now been replaced with php8.2 > > Specifically sym linsk in  /etc/apache2/mods-enabled/ which link to  > /etc/apache2/mods-available/ > php7.4.conf -> ../mods-available/php7.4.conf > php7.4.load -> ../mods-available/php7.4.load > > Shoul

Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Andrew Wood
Found the following issue when running an upgrade. Apache refuses to restart with error: apache2_reload: Your configuration is broken. Not restarting Apache 2 apache2_reload: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php

Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Charles Curley
On Thu, 14 Dec 2023 23:26:47 +0200 Alexis Grigoriou wrote: > On Thu, 2023-12-14 at 12:28 -0700, Charles Curley wrote: > [...] > [...] > [...] > > [...] > > root@bfs# dpkg-query --show 'php*' > php-amqp > php-apcu … > php-

Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Alexis Grigoriou
On Thu, 2023-12-14 at 12:28 -0700, Charles Curley wrote: > On Thu, 14 Dec 2023 19:24:19 +0200 > Alexis Grigoriou wrote: > > > All > > I see is probably the php code. If I remember correctly, before the > > upgrade php 7.4 was installed in my Bulleye installation. Ther

Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Alexis Grigoriou
On Thu, 2023-12-14 at 18:07 +, Michael Kjörling wrote: > On 14 Dec 2023 19:24 +0200, from ale...@nanoid.net (Alexis > Grigoriou): > >  As the subject states pages using php won't disply in the browser. > > All > > I see is probably the php code. > > Well,

Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Charles Curley
On Thu, 14 Dec 2023 19:24:19 +0200 Alexis Grigoriou wrote: > All > I see is probably the php code. If I remember correctly, before the > upgrade php 7.4 was installed in my Bulleye installation. There is a > directory in /etc/php/7.4, although 8.2 is the default in Bookworm, >

Re: Problem with php after upgrading to Bookworm

2023-12-14 Thread Michael Kjörling
On 14 Dec 2023 19:24 +0200, from ale...@nanoid.net (Alexis Grigoriou): > As the subject states pages using php won't disply in the browser. All > I see is probably the php code. Well, first things first. What web server are you using to try to serve those pages? -- Micha

Problem with php after upgrading to Bookworm

2023-12-14 Thread Alexis Grigoriou
Greetings, As the subject states pages using php won't disply in the browser. All I see is probably the php code. If I remember correctly, before the upgrade php 7.4 was installed in my Bulleye installation. There is a directory in /etc/php/7.4, although 8.2 is the default in Bookworm, but

[SOLVED] Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Susmita/Rajib
reverse to the one I had followed while installing all those packages on the 10th Nov 2023. So what I did was that I noted down his advice on a plain text editor, then opted for "uninstall completely ..." the following packages: php-common apache2 apache2-bin apache2-data mariadb-c

Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Susmita/Rajib
2023 at 07:42, Susmita/Rajib wrote: > > On Sat, Nov 11, 2023 at 05:44:29PM +0530, Susmita/Rajib wrote: > > Apologise for the typos and incorrect sentence constructions in my [ ... ] > > Possible? > > > > I'd suggest you remove > > php-common >

Uninstalling unwanted PHP and mariadb packages [WAS Re: How could the missing MySQL extension required by WordPress be installed?]

2023-11-11 Thread Andrew M.A. Cater
ommit Log for Fri Nov 10 21:13:50 2023 > > Installed the following packages: > default-mysql-server-core (1.0.7) > > > > Commit Log for Fri Nov 10 21:25:16 2023 > > Installed the following packages: > php-common (2:76) > php-mysql (2:7.4+76) > php7.4-common

Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
Mostly its with apache and the freepbx application which uses a lot of php applications which were originally installed with php 7.4 and then Debian upgraded all of them to php 8.2. I have already changed the php.default to 7.4 and changed the mods-enabled in apache to php7.4 rather than 8.2. On

Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
to reveal how you are using PHP, and which packages are installed. Are you using apache, nginx, or some other web server? Are you using php-fpm, or some kind of "modular" PHP specific to a particular web server? Or something else?

Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
kages or you can use https://deb.sury.org/ > > On 28.06.23 10:46, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I keep that version, even if its j

Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 10:15:14PM +0200, basti wrote: > if you use mod-php in apache you can use only one php version. > if you use php-fpm you can run multiple php version at the same time. Ah, that explains our differing experiences, then.

Re: php 7.4 and bookworm

2023-06-28 Thread basti
https://packages.sury.org/php/README.txt after add the repo install your needed php7.4-* packages if you use mod-php in apache you can use only one php version. if you use php-fpm you can run multiple php version at the same time. test your app with a phpinfo side. but that was not the topic Am

Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
Hello, > > you can hold the packages or you can use https://deb.sury.org/ > > On 28.06.23 10:46, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I kee

Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
OK, so php was upgraded from 7.4 to 8.2 -- how to get 7.4 back after upgrading to bookworm? How would I use https://deb.sury.org ? Thanks. On Wed, 28 Jun 2023 04:57:42 -0400, basti wrote: > > Hello, > > you can hold the packages or you can use https://deb.sury.org/ > >

Re: php 7.4 and bookworm

2023-06-28 Thread John Covici
Thanks everyone. I will do the upgrade and see if it retains php 7.4. On Wed, 28 Jun 2023 07:01:51 -0400, Greg Wooledge wrote: > > On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which n

Re: php 7.4 and bookworm

2023-06-28 Thread Greg Wooledge
On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > Hi. So, I want to upgrade to bookworm, but I have an application > which needs php 7.4 and I guess they are not yet ready to fix. So, > how can I keep that version, even if its just for that app? In previous releases, when

Re: php 7.4 and bookworm

2023-06-28 Thread Andy Smith
Hi, On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > Hi. So, I want to upgrade to bookworm, but I have an application > which needs php 7.4 and I guess they are not yet ready to fix. So, > how can I keep that version, even if its just for that app? In <43ff5524-4d

Re: php 7.4 and bookworm

2023-06-28 Thread basti
Hello, you can hold the packages or you can use https://deb.sury.org/ On 28.06.23 10:46, John Covici wrote: Hi. So, I want to upgrade to bookworm, but I have an application which needs php 7.4 and I guess they are not yet ready to fix. So, how can I keep that version, even if its just for

php 7.4 and bookworm

2023-06-28 Thread John Covici
Hi. So, I want to upgrade to bookworm, but I have an application which needs php 7.4 and I guess they are not yet ready to fix. So, how can I keep that version, even if its just for that app? Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it.

Re: Getting PHP to work with Apache on other directories

2022-09-14 Thread paulf
On Wed, 14 Sep 2022 08:51:56 -0700 Paul Scott wrote: > On 9/14/22 06:49, pa...@quillandmouse.com wrote: > > Folks: > > > > I just installed Debian testing. I do PHP development. I host live > > websites at /var/www/html and development sites at > > /home

Re: Getting PHP to work with Apache on other directories

2022-09-14 Thread Paul Scott
On 9/14/22 06:49, pa...@quillandmouse.com wrote: Folks: I just installed Debian testing. I do PHP development. I host live websites at /var/www/html and development sites at /home/paulf/public_html. I have Apache configured so that localhost/~paulf/ gets me to the sites at /home/paulf

Getting PHP to work with Apache on other directories

2022-09-14 Thread paulf
Folks: I just installed Debian testing. I do PHP development. I host live websites at /var/www/html and development sites at /home/paulf/public_html. I have Apache configured so that localhost/~paulf/ gets me to the sites at /home/paulf/public_html. I have an index.html and a script to test PHP

Re: Buster Apache php website in other lang than os

2021-04-20 Thread john doe
On 4/20/2021 1:15 PM, IL Ka wrote: What do I need to do in Apache and in PHP for it to properly render the language the website is written in? Do I need to generate the locales for the desired languages? Do I need to also do something in Apache? Just write your document and save it in utf

Re: php -f index.php works but not when access from apache Debian Bullseye

2021-04-20 Thread john doe
On 4/20/2021 8:10 PM, john doe wrote: Debians, I'm working on a website mixing PHP and HTML, if I do the command 'php -f index.php' it works, but in Apache it is not working. I don't understand what Im doing rong, Aache'slog is not giving any clue. I'm not sure

php -f index.php works but not when access from apache Debian Bullseye

2021-04-20 Thread john doe
Debians, I'm working on a website mixing PHP and HTML, if I do the command 'php -f index.php' it works, but in Apache it is not working. I don't understand what Im doing rong, Aache'slog is not giving any clue. I'm not sure what to do to understand where thi

Re: Buster Apache php website in other lang than os

2021-04-20 Thread IL Ka
> > > What do I need to do in Apache and in PHP for it to properly render the > language the website is written in? > > Do I need to generate the locales for the desired languages? > Do I need to also do something in Apache? > Just write your document and save it in u

Buster Apache php website in other lang than os

2021-04-20 Thread john doe
Hello all, I'm playing with Apache2 and php. I'm making a website in an other language than the one Debian Buster is using. That is, Buster is in English but the website is written in Duch or any other language then English. What do I need to do in Apache and in PHP for it to prope

Re: php-pear etc. on an Apache2 server [resolved]

2021-02-19 Thread Gary Dale
o a little php coding because there seem to a lot of sample code out there for things I want to do. Usually they work right away when I try running them after having installed libapache2-mod-php. Right now I'm trying to get a script working that is actually fairly small and seems stra

Re: php-pear etc. on an Apache2 server [resolved]

2021-02-19 Thread Gary Dale
On 2021-02-18 09:06, Gary Dale wrote: On 2021-02-16 17:56, Gary Dale wrote: I'm running Buster on my local server which, among other things, I use for developing web sites before copying them onto a public host. I've recently been getting into a little php coding because there see

Re: php-pear etc. on an Apache2 server [resolved]

2021-02-18 Thread Gary Dale
On 2021-02-16 17:56, Gary Dale wrote: I'm running Buster on my local server which, among other things, I use for developing web sites before copying them onto a public host. I've recently been getting into a little php coding because there seem to a lot of sample code out there fo

php-pear etc. on an Apache2 server

2021-02-16 Thread Gary Dale
I'm running Buster on my local server which, among other things, I use for developing web sites before copying them onto a public host. I've recently been getting into a little php coding because there seem to a lot of sample code out there for things I want to do. Usually they work

Wordpress UTF-8 problem after PHP upgrade (from 5.6 to 7.3)

2020-06-23 Thread Christoph K.
Hello, I've just upgraded from PHP 5.6 to PHP 7.3 (and reverted back for now). With PHP 7.3 there is a problem in Wordpress displaying german Umlaute and other UTF-8 related characters. I guess it's just some locale-related setting somewhere, any suggestions? Thanks, Christoph

Re: PHP 7.1 for debian stretch

2019-03-28 Thread Georgi Naplatanov
On 3/28/19 7:40 AM, basti wrote: > https://deb.sury.org/ > > On 28.03.19 06:15, gro.nai...@lagelagelage.ch wrote: >> Hi all >> >> >> Does anyone know when PHP 7.1 becomes to a stable version in debian stretch? >> Is there a roadmap? >> Or you can use

Re: PHP 7.1 for debian stretch

2019-03-28 Thread Sven Hartge
gro.nai...@lagelagelage.ch wrote: > Does anyone know when PHP 7.1 becomes to a stable version in debian stretch? PHP7.1 will *never* come to Debian Stretch. You can get an up-to-date version of PHP for Debian from the external repository of Ondřej Surý at deb.sury.org. Ondřej is the

Re: PHP 7.1 for debian stretch

2019-03-27 Thread basti
https://deb.sury.org/ On 28.03.19 06:15, gro.nai...@lagelagelage.ch wrote: > Hi all > > > Does anyone know when PHP 7.1 becomes to a stable version in debian stretch? > Is there a roadmap? > > > Thx a lot > > >

PHP 7.1 for debian stretch

2019-03-27 Thread gro.naibed
Hi all Does anyone know when PHP 7.1 becomes to a stable version in debian stretch? Is there a roadmap? Thx a lot

Re: bcmath extension for php 7.1 on debian linux

2019-03-27 Thread Roberto C . Sánchez
On Wed, Mar 27, 2019 at 05:08:11PM +0500, Alexander V. Makartsev wrote: >On 27.03.2019 16:45, Roberto C. Sánchez wrote: > > That said, you may want to consider installing your PHP packages from > this source: [1]https://deb.sury.org/ > > That site is maintained by Ond

Re: bcmath extension for php 7.1 on debian linux

2019-03-27 Thread Alexander V. Makartsev
On 27.03.2019 16:45, Roberto C. Sánchez wrote: > > That said, you may want to consider installing your PHP packages from > this source: https://deb.sury.org/ > > That site is maintained by Ondřej Surý, who is a Debian Developer and > also one of the main PHP maintainers for

Re: bcmath extension for php 7.1 on debian linux

2019-03-27 Thread Roberto C . Sánchez
On Wed, Mar 27, 2019 at 06:43:59AM +0100, gro.nai...@lagelagelage.ch wrote: >Hi all > >  > >We need your help… > >  > >We need to use the bcmath extension on PHP 7.1 with a debian linux server… > >We cant found any source or an

Re: bcmath extension for php 7.1 on debian linux

2019-03-27 Thread Alexander V. Makartsev
On 27.03.2019 10:43, gro.nai...@lagelagelage.ch wrote: > > Hi all > >   > > We need your help… > >   > > We need to use the bcmath extension on PHP 7.1 with a debian linux server… > > We cant found any source or any think to install this extension. > > We

bcmath extension for php 7.1 on debian linux

2019-03-26 Thread gro.naibed
Hi all We need your help. We need to use the bcmath extension on PHP 7.1 with a debian linux server. We cant found any source or any think to install this extension. We try to intall it with apt-get and also to add other sources to sourcelist. Can you help us to install it? Thx

Status of PHP support in stretch

2019-02-06 Thread Jochen Spieker
Hi, I noticed that PHP 7.0 is unsupported by upstream since the beginning of 2019: https://secure.php.net/supported-versions.php The most recent PHP version in stretch is, as of now, 7.0.33-0+deb9u1. As far as I can tell, this is (roughly) the same as upstream 7.0.33 and not a relabeled later

Re: Apache and PHP-FPM

2018-09-24 Thread Nazar Zhuk
Hi, On Mon, Sep 24, 2018 at 05:52:28PM +0200, Martin LEUSCH wrote: > Hi, > > I have a web server with Apache 2.4 running in worker mode and multiple php > version with FPM service running in dynamic mode. > > Sometimes php-fpm stop responding and I got a 503 error on php re

Apache and PHP-FPM

2018-09-24 Thread Martin LEUSCH
Hi, I have a web server with Apache 2.4 running in worker mode and multiple php version with FPM service running in dynamic mode. Sometimes php-fpm stop responding and I got a 503 error on php request but apache still respond to http request to other files (css, js, jpeg, ...) then after a

Re: After upgrade jessie -> stretch : php problems

2018-01-04 Thread Roberto C . Sánchez
On Thu, Jan 04, 2018 at 05:29:10PM +0100, Markus Grunwald wrote: > Hello, > > after you told me that cli and http don't have to use the same php > (sigh), I have a workaround: > > 17 3 * * * www-dataphp5 -f > /srv/www/the-grue.de/owncloud/htdocs/cron.php >

Re: After upgrade jessie -> stretch : php problems

2018-01-04 Thread Markus Grunwald
Hello, after you told me that cli and http don't have to use the same php (sigh), I have a workaround: 17 3 * * * www-dataphp5 -f /srv/www/the-grue.de/owncloud/htdocs/cron.php Now I explicitly call php5 instead of php and all is fine... But this is only a workaround, I think

Re: After upgrade jessie -> stretch : php problems

2018-01-04 Thread basti
Hello, first of all check the installed / activate modules in you php environment. that means and "php -i" on cli can have other results than run phpinfo() via browser / apache2 or fastcgi if used. Are the relevant modules active ? Have you try to reload / restart your http / (fastc

Re: After upgrade jessie -> stretch : php problems

2018-01-04 Thread Roberto C . Sánchez
On Thu, Jan 04, 2018 at 04:16:25PM +0100, Markus Grunwald wrote: > > Maybe of interest: that's part of the phpinfo() output: > > PHP Version 5.6.30-0+deb8u1 > Directive Local Value Master Value > allow_url_fopen

After upgrade jessie -> stretch : php problems

2018-01-04 Thread Markus Grunwald
ports this: - No database drivers (sqlite, mysql, or postgresql) installed. PHP is configured to populate raw post data. Since PHP 5.6 this will lead to PHP throwing notices for perfectly valid code. To fix this issue set always_populate_raw_post_data to -1 in your php.ini PHP modules have been

Re: Older PHP for stretch

2017-10-06 Thread deloptes
Dave Sherohman wrote: > That's pretty much as I expected, although I had assumed anything older > than jessie was already unsupported.  wheezy might be worth a try, > although we're also looking into whether a newer version of the app > might be available which would run un

RE: Older PHP for stretch

2017-10-06 Thread Cecile, Adam
I ended up always using docker container running php-fpm in different versions exported on host with different ports. That's the only way to be able to deal with shitty PHP apps "correctly". Regards, Adam. De : Dave Sherohman Envoyé : vendredi

Re: Older PHP for stretch

2017-10-06 Thread Dave Sherohman
On Fri, Oct 06, 2017 at 09:08:55AM -0400, Roberto C. Sánchez wrote: > On Fri, Oct 06, 2017 at 07:35:28AM -0500, Dave Sherohman wrote: > > Does anyone know where I might be able to find a repo with PHP 5.3 for > > stretch? > This is highly inadvisable, unless you are deploying w

Re: Older PHP for stretch

2017-10-06 Thread Roberto C . Sánchez
On Fri, Oct 06, 2017 at 07:35:28AM -0500, Dave Sherohman wrote: > Does anyone know where I might be able to find a repo with PHP 5.3 for > stretch? It appears that one of the web apps we depend on is > incompatible with PHP 5.4 or newer and the official stretch php5 > packages are ve

Older PHP for stretch

2017-10-06 Thread Dave Sherohman
Does anyone know where I might be able to find a repo with PHP 5.3 for stretch? It appears that one of the web apps we depend on is incompatible with PHP 5.4 or newer and the official stretch php5 packages are version 5.6.30. -- Dave Sherohman

  1   2   3   4   5   6   7   8   9   10   >