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

could not run php 5.2 #2

Closed
stayliv3 opened this issue Dec 7, 2015 · 2 comments
Closed

could not run php 5.2 #2

stayliv3 opened this issue Dec 7, 2015 · 2 comments

Comments

@stayliv3
Copy link

stayliv3 commented Dec 7, 2015

➜ docker-phpapp git:(master) ✗ docker run -d --name phpappv3 -p 80:80 -e "PHP_VERSION=5.2" xd/phpapp:v2

the docker logs:

Starting php-fpm...
/root/.phpbrew/bashrc: line 216: /root/.phpbrew/php/php-5.2.17/sbin/php-fpm: No such file or directory
php-fpm start failed.
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2015-12-07 12:09:34,293 CRIT Supervisor running as root (no user in config file)
2015-12-07 12:09:34,293 WARN Included extra file "/etc/supervisor/conf.d/startup.conf" during parsing
2015-12-07 12:09:34,311 INFO RPC interface 'supervisor' initialized
2015-12-07 12:09:34,311 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-12-07 12:09:34,311 INFO supervisord started with pid 11
2015-12-07 12:09:35,314 INFO spawned: 'sshd' with pid 14
2015-12-07 12:09:35,316 INFO spawned: 'mysqld' with pid 15
2015-12-07 12:09:35,318 INFO spawned: 'apache2' with pid 16
2015-12-07 12:09:36,483 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-07 12:09:36,484 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-07 12:09:36,484 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

@GM-Alex
Copy link
Owner

GM-Alex commented Dec 7, 2015

I removed PHP 5.2 because it's really old, not secure anymore and doesn't support fpm by default. So it was really hard to maintain. I forgot to remove it from the readme. You could go back to an previous.

@GM-Alex GM-Alex closed this as completed Dec 7, 2015
@stayliv3
Copy link
Author

stayliv3 commented Dec 8, 2015

thanks.I just need php 5.2 for test some app.

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

No branches or pull requests

2 participants