Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian squeeze #9

Closed
jcrombez opened this issue Apr 27, 2016 · 3 comments
Closed

Debian squeeze #9

jcrombez opened this issue Apr 27, 2016 · 3 comments

Comments

@jcrombez
Copy link
Contributor

In order to get PHP 5.3 i tried using debian/squeeze, but...

Starting to clone
Cloning into '.'...
Cloning done
Starting Build
KernelVersion: 3.13.0-40-generic
Os: linux
BuildTime: 2016-02-22T21:37:01.910365059+00:00
ApiVersion: 1.22
Version: 1.10.2
GitCommit: c3959b1
Arch: amd64
GoVersion: go1.5.3
Starting build of index.docker.io/kitpages/symfony:5.3...
Step 1 : FROM debian:squeeze
 ---> a873733ef581
Step 2 : MAINTAINER Elie Charra <elie.charra [at] kitpages.fr>
 ---> Running in e44799cbfcb6
 ---> ea1389d1ea32
Removing intermediate container e44799cbfcb6
Step 3 : RUN apt-get -qq update && apt-get -qq -y --no-install-recommends install     supervisor     ca-certificates     nginx     php5     php5-cli     php5-intl     php5-fpm &&    apt-get clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&    php -r "readfile('https://getcomposer.org/installer');" | php --              --install-dir=/usr/local/bin              --filename=composer &&    echo 'clear_env = no' >> /etc/php5/fpm/pool.d/www.conf &&    sed -i -e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/fpm/php.ini &&    echo "daemon off;" >> /etc/nginx/nginx.conf
 ---> Running in 0fd96677a8af
�[91mW: Failed to fetch http://httpredir.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found [IP: 128.31.0.66 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.gz  404  Not Found [IP: 5.153.231.35 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/squeeze-lts/main/binary-amd64/Packages.gz  404  Not Found [IP: 5.153.231.35 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
�[0mRemoving intermediate container 0fd96677a8af
The command '/bin/sh -c apt-get -qq update && apt-get -qq -y --no-install-recommends install     supervisor     ca-certificates     nginx  

Looks like it's not really supported... it would be nice to find an other way to get php 5.3.

@jcrombez
Copy link
Contributor Author

jcrombez commented Apr 29, 2016

I tried with ubuntu:12.10, the build didn't failed but php-fpm socket is not running.

2016/04/29 08:47:29 [crit] 10#0: *75 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 172.17.0.2, server: localhost, request: "GET /app_dev.php/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "domain.dev"

@eliecharra
Copy link
Member

@jcrombez Try to check the unix socket path, find listen = line in fpm pool config.

Maybe nginx vhost gci config try to link a socket which does not exist.

@eliecharra
Copy link
Member

Since PHP5.3 is no longer active, I close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants