This repository has been archived by the owner. It is now read-only.

PHP Support #18

Open
josegonzalez opened this Issue Oct 5, 2013 · 18 comments

Comments

Projects
None yet
4 participants
@josegonzalez

josegonzalez commented Oct 5, 2013

Not sure how to go about adding this myself, though I'd love to!

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Oct 5, 2013

Owner

It's been a while since I last used PHP so if you can point me to some bash script for setting up a "modern PHP dev environment" I might be able to add support for it :)

Owner

fgrehm commented Oct 5, 2013

It's been a while since I last used PHP so if you can point me to some bash script for setting up a "modern PHP dev environment" I might be able to add support for it :)

@fgrehm fgrehm referenced this issue Oct 5, 2013

Closed

Python support #19

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez Oct 5, 2013

How was ruby support added?

josegonzalez commented Oct 5, 2013

How was ruby support added?

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Oct 5, 2013

Owner

Platforms are made of a class and a set of Vagrant guest capabilities.Not sure how familiar you are with Ruby / Vagrant plugin architecture but that might serve as a start :)

I'm heading out now but feel free to ask more questions ;)

Owner

fgrehm commented Oct 5, 2013

Platforms are made of a class and a set of Vagrant guest capabilities.Not sure how familiar you are with Ruby / Vagrant plugin architecture but that might serve as a start :)

I'm heading out now but feel free to ask more questions ;)

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez Oct 5, 2013

PHP is weird in that - for web contexts - it mostly requires the usage of a server. There is a built-in server, but most use either apache or nginx.

Simple setup for apache: https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu

Simple setup for nginx: https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04

Note that the server requirement is necessary to make php useful in it's base setup.

josegonzalez commented Oct 5, 2013

PHP is weird in that - for web contexts - it mostly requires the usage of a server. There is a built-in server, but most use either apache or nginx.

Simple setup for apache: https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu

Simple setup for nginx: https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04

Note that the server requirement is necessary to make php useful in it's base setup.

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Oct 7, 2013

Owner

Tks for the info :) I've love if there is something similar to rvm for PHP as it might make our lives a lot easier.

Do u know if there such tool? I've actually found more than one but I'm not sure if the community is actually using them neither if the projects are being actively maintained.

Owner

fgrehm commented Oct 7, 2013

Tks for the info :) I've love if there is something similar to rvm for PHP as it might make our lives a lot easier.

Do u know if there such tool? I've actually found more than one but I'm not sure if the community is actually using them neither if the projects are being actively maintained.

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez Oct 7, 2013

https://github.com/phpenv/phpenv

For users that don't use homebrew-php to manage php, I recommend this.

On Mon, Oct 7, 2013 at 12:07 PM, Fabio Rehm notifications@github.comwrote:

Tks for the info :) I've love if there is something similar to rvmhttps://rvm.io/for PHP as it might make our lives a lot easier.

Do u know if there such tool? I've actually found more than one but I'm
not sure if the community is actually using it neither if the projects are
being actively maintained.


Reply to this email directly or view it on GitHubhttps://github.com/fgrehm/ventriloquist/issues/18#issuecomment-25821594
.

josegonzalez commented Oct 7, 2013

https://github.com/phpenv/phpenv

For users that don't use homebrew-php to manage php, I recommend this.

On Mon, Oct 7, 2013 at 12:07 PM, Fabio Rehm notifications@github.comwrote:

Tks for the info :) I've love if there is something similar to rvmhttps://rvm.io/for PHP as it might make our lives a lot easier.

Do u know if there such tool? I've actually found more than one but I'm
not sure if the community is actually using it neither if the projects are
being actively maintained.


Reply to this email directly or view it on GitHubhttps://github.com/fgrehm/ventriloquist/issues/18#issuecomment-25821594
.

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Oct 7, 2013

Owner

Cool, that seems to do the trick as it also supports Apache as well. I'm thinking that Apache + phpenv might serve as a nice head start for PHP support.

Although I'd love to see Apache / nginx running as a Docker service, I have no idea right now how we would go about setting things up for that so let's keep things simple for now :)

Owner

fgrehm commented Oct 7, 2013

Cool, that seems to do the trick as it also supports Apache as well. I'm thinking that Apache + phpenv might serve as a nice head start for PHP support.

Although I'd love to see Apache / nginx running as a Docker service, I have no idea right now how we would go about setting things up for that so let's keep things simple for now :)

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez commented Nov 30, 2013

ping

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Nov 30, 2013

Owner

Something else showed up and I'm not sure I'll be able to handle this over the weekend. But I promise you I'll try to get this into the upcoming version available on the next branch.
I'll ping u once there's something for u to test :D

Owner

fgrehm commented Nov 30, 2013

Something else showed up and I'm not sure I'll be able to handle this over the weekend. But I promise you I'll try to get this into the upcoming version available on the next branch.
I'll ping u once there's something for u to test :D

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Dec 3, 2013

Owner

@josegonzalez For the record, I tried installing php 5.3 with phpenv and it didn't work =/ I'll post my findings tomorrow to see if you can help me out

Owner

fgrehm commented Dec 3, 2013

@josegonzalez For the record, I tried installing php 5.3 with phpenv and it didn't work =/ I'll post my findings tomorrow to see if you can help me out

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez Dec 3, 2013

hmm oks. 5.3 isn't really supported, so I'd recommend 5.4 as a base if that solves anything.

josegonzalez commented Dec 3, 2013

hmm oks. 5.3 isn't really supported, so I'd recommend 5.4 as a base if that solves anything.

@rogeriopradoj

This comment has been minimized.

Show comment
Hide comment
@rogeriopradoj

rogeriopradoj Dec 4, 2013

Hope see this integrated ASAP :-)))))

rogeriopradoj commented Dec 4, 2013

Hope see this integrated ASAP :-)))))

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Dec 4, 2013

Owner

Just so you guys know, I'm planning to cut 0.4.0 tonight as it is a really big release already and PHP support will land as soon as I'm able to figure out how to get phpenv to work ;)

Owner

fgrehm commented Dec 4, 2013

Just so you guys know, I'm planning to cut 0.4.0 tonight as it is a really big release already and PHP support will land as soon as I'm able to figure out how to get phpenv to work ;)

@rogeriopradoj

This comment has been minimized.

Show comment
Hide comment
@rogeriopradoj

rogeriopradoj Dec 4, 2013

@fgrehm just a suggestion (that maybe might go against the option @josegonzalez gave), maybe try https://github.com/CHH/phpenv instead of https://github.com/phpenv/phpenv.

Some issues in Travis CI about the theme: travis-ci/travis-ci#1626 and https://github.com/travis-ci/travis-ci.github.com/pull/409/files.

CHH/phpenv is the one used by Travis CI (that makes it get some additional points for me, more it the one I'm using in my Mac ;-) Unfortunately I'm not using Apache + PHP in my host, yet, (every time I need to use a PHP webserver in a project with this machine I go to Vagrant or use the built-in PHP web server (PHP 5.4+)).

Also, that's the reason I'm calling @CHH to the discussion, maybe he could help us with that.

As long as I'm calling the core committer of one, let's call the core committers of the other, phpenv/phpenv, @nickl- and @humanshell.

rogeriopradoj commented Dec 4, 2013

@fgrehm just a suggestion (that maybe might go against the option @josegonzalez gave), maybe try https://github.com/CHH/phpenv instead of https://github.com/phpenv/phpenv.

Some issues in Travis CI about the theme: travis-ci/travis-ci#1626 and https://github.com/travis-ci/travis-ci.github.com/pull/409/files.

CHH/phpenv is the one used by Travis CI (that makes it get some additional points for me, more it the one I'm using in my Mac ;-) Unfortunately I'm not using Apache + PHP in my host, yet, (every time I need to use a PHP webserver in a project with this machine I go to Vagrant or use the built-in PHP web server (PHP 5.4+)).

Also, that's the reason I'm calling @CHH to the discussion, maybe he could help us with that.

As long as I'm calling the core committer of one, let's call the core committers of the other, phpenv/phpenv, @nickl- and @humanshell.

@josegonzalez

This comment has been minimized.

Show comment
Hide comment
@josegonzalez

josegonzalez Dec 4, 2013

Seems legit. I like the @CHH guy. Howverm I would have assumed that the @phpenv bros would be on top of it, given that they have the organization and all. Maybe they can join forces?

If it makes it easy, then I'd use what travis-ci uses. The @phpenv project seems to be more active than @CHH's, which gives me pause, but given that it doesn't work - and that we can switch later - I am for whatever gives ventriloquist php support soonest.

@CHH Hai!

josegonzalez commented Dec 4, 2013

Seems legit. I like the @CHH guy. Howverm I would have assumed that the @phpenv bros would be on top of it, given that they have the organization and all. Maybe they can join forces?

If it makes it easy, then I'd use what travis-ci uses. The @phpenv project seems to be more active than @CHH's, which gives me pause, but given that it doesn't work - and that we can switch later - I am for whatever gives ventriloquist php support soonest.

@CHH Hai!

@nickl-

This comment has been minimized.

Show comment
Hide comment
@nickl-

nickl- Dec 4, 2013

I got pinged by @phpenv,,,,

the phpenv organisation is the evolution from humanshell/phpenv and is not only the complete rbenv but includes the php installation facilities as well.

CHH is actually maintaining CHH/php-build which travis uses and the phpenv wrapper is merely syntax sugar.

The major differences are phpenv builds from the repository sources while php-build focuses on release builds. We also try and simplify the patching/configuration with a focus on humans using the software.

I am busy finalising a next release which will also mark the first full or master release since the organisation.

We can successfully build 4.4, 5.2, 5.3, 5.4 and 5.5. and include the most common pecl extensions built as shared or dynamic libraries.

If I can understand what you guys actually want to accomplish perhaps I can lend a hand. What are the requirements?

nickl- commented Dec 4, 2013

I got pinged by @phpenv,,,,

the phpenv organisation is the evolution from humanshell/phpenv and is not only the complete rbenv but includes the php installation facilities as well.

CHH is actually maintaining CHH/php-build which travis uses and the phpenv wrapper is merely syntax sugar.

The major differences are phpenv builds from the repository sources while php-build focuses on release builds. We also try and simplify the patching/configuration with a focus on humans using the software.

I am busy finalising a next release which will also mark the first full or master release since the organisation.

We can successfully build 4.4, 5.2, 5.3, 5.4 and 5.5. and include the most common pecl extensions built as shared or dynamic libraries.

If I can understand what you guys actually want to accomplish perhaps I can lend a hand. What are the requirements?

@rogeriopradoj

This comment has been minimized.

Show comment
Hide comment
@rogeriopradoj

rogeriopradoj Dec 4, 2013

@fgrehm, now it's up to you!

Rogerio
rogeriopradoj@gmail.com
On Dec 4, 2013 11:22 AM, "Nick Lombard" notifications@github.com wrote:

I got pinged by @phpenv https://github.com/phpenv,,,,

the phpenv organisation is the evolution from humanshell/phpenv and is not
only the complete rbenv but includes the php installation facilities as
well.

CHH is actual https://github.com/CHH/php-build which travis uses and the
phpenv wrapper is merely syntax sugar.

I am busy finalising a next release which will also mark the first full or
master release since the organisation.

If I can understand what you guys actually want to accomplish perhaps I
can lend a hand. What are the requirements?


Reply to this email directly or view it on GitHubhttps://github.com/fgrehm/ventriloquist/issues/18#issuecomment-29803779
.

rogeriopradoj commented Dec 4, 2013

@fgrehm, now it's up to you!

Rogerio
rogeriopradoj@gmail.com
On Dec 4, 2013 11:22 AM, "Nick Lombard" notifications@github.com wrote:

I got pinged by @phpenv https://github.com/phpenv,,,,

the phpenv organisation is the evolution from humanshell/phpenv and is not
only the complete rbenv but includes the php installation facilities as
well.

CHH is actual https://github.com/CHH/php-build which travis uses and the
phpenv wrapper is merely syntax sugar.

I am busy finalising a next release which will also mark the first full or
master release since the organisation.

If I can understand what you guys actually want to accomplish perhaps I
can lend a hand. What are the requirements?


Reply to this email directly or view it on GitHubhttps://github.com/fgrehm/ventriloquist/issues/18#issuecomment-29803779
.

@fgrehm

This comment has been minimized.

Show comment
Hide comment
@fgrehm

fgrehm Dec 4, 2013

Owner

Thanks guys for helping out guys! :)

The only thing preventing me from having this in place is actually being able to successfully install PHP with phpenv. I created an upstream issue with the problem I hit phpenv/phpenv#38. Once I can get past that I hope things should work just fine :D

Owner

fgrehm commented Dec 4, 2013

Thanks guys for helping out guys! :)

The only thing preventing me from having this in place is actually being able to successfully install PHP with phpenv. I created an upstream issue with the problem I hit phpenv/phpenv#38. Once I can get past that I hope things should work just fine :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.