You are not logged in.

#1 2016-01-06 00:09:16

probil
Member
From: Ukraine
Registered: 2015-02-05
Posts: 14
Website

Issues with php dev servers (docker & xampp)

I have a serious issue with my nginx+php server in docker.
It work around 5 months without any issue but around a month ago server start return error "502 Bad Gateway" for complex sites like wordpress based. But still working for one page sites. It's strange because sites were not changed over time.

1) Firstly I try to reinstall docker (with `rm /var/lib/docker/`) - nothing changes.
2) I have tried to downgrade docker - nothing changes
3) Try to use another docker image (without dnsmasq) - the same issue
4) Try to use docker-git - the same issue
5) I also tried to install system from the scratch - and got the same issue

Something similar with xampp with php 5.6 from the official site (without docker). It also works more than 10 months without issues. But in that case, server returns ERROR_EMPTY_RESPONSE for now and I got "segmentation fault" in the xampp apache logs.

Maybe some system lib was recently updated? (Around one month ago?)

Could you help me? I don't want to leave Archlinux-world just because of web server.

=========

Docker image (main): https://github.com/MetalGuardian/docker-webserver
Docker image (tested also): https://hub.docker.com/r/eriksencosta/php-dev/
Kernel: 4.3.3-2-ARCH x86_64
DE: Cinnamon

Offline

#2 2016-01-06 01:58:48

marcelo.origoni
Member
Registered: 2013-12-06
Posts: 11

Re: Issues with php dev servers (docker & xampp)

Did you try running

php -v

in the console?

Last edited by marcelo.origoni (2016-01-06 01:59:41)

Offline

#3 2016-01-06 08:56:16

probil
Member
From: Ukraine
Registered: 2015-02-05
Posts: 14
Website

Re: Issues with php dev servers (docker & xampp)

In host machine:

$ php -v
PHP 7.0.1 (cli) (built: Jan  3 2016 09:05:41) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies

Inside docker image:

$ php -v
PHP 5.6.10-1+deb.sury.org~trusty+1 (cli) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with Xdebug v2.3.2, Copyright (c) 2002-2015, by Derick Rethans

Offline

#4 2016-01-16 09:39:20

probil
Member
From: Ukraine
Registered: 2015-02-05
Posts: 14
Website

Re: Issues with php dev servers (docker & xampp)

There is no such issue on latest LinuxMint!!
I have setup LinuxMint on the other partition with the save docker version and docker image and it WORKS. So, this is Arch-specific issue. sad

Last edited by probil (2016-01-16 09:40:33)

Offline

#5 2016-01-16 09:41:34

probil
Member
From: Ukraine
Registered: 2015-02-05
Posts: 14
Website

Re: Issues with php dev servers (docker & xampp)

I have also tried LTS-kernel. With no luck sad

Offline

#6 2016-01-16 17:31:08

probil
Member
From: Ukraine
Registered: 2015-02-05
Posts: 14
Website

Re: Issues with php dev servers (docker & xampp)

I will try to restore packages as described here:
https://wiki.archlinux.org/index.php/Ar … cific_date
to 1 Dec 2015

Offline

Board footer

Powered by FluxBB