News for hackers. Stuff that matters.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by aioprisan on Thursday December 10, 2015 @08:29AM (#10710483)
Sorry, but most hosts have composer installed, it's the preferred way to install PHP packages.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by blueflow on Thursday December 10, 2015 @08:43AM (#10710530)
I'm working with a customer right know that doesn't even have shell access on their hosted environment. composer and git are barely usable under those circumstances.

I don't have reliable information about the market situation, but i assume that this is pretty much standard with shared hosting.

Re:Show HN: Lescript – Simple PHP client library for Let's e... by mschuster91 on Thursday December 10, 2015 @08:47AM (#10710546)
I am working with hosters still running PHP5.2 in production... FTP only.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by ceejayoz on Thursday December 10, 2015 @08:50AM (#10710555)
Someone on ServerFault was posting about their PHP CLI on their shared host being PHP 4.x this week. Yowch.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by mschuster91 on Thursday December 10, 2015 @08:54AM (#10710576)
Hoooooly shit, I'd change the hoster for fear of being hacked lol
Re:Show HN: Lescript – Simple PHP client library for Let's e... by debaserab2 on Thursday December 10, 2015 @09:47AM (#10710805)
No reason why composer would be unusable - just composer install locally and upload the results to your host. This isn't an uncommon deploy practice even if you have shell access.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by mschuster91 on Thursday December 10, 2015 @10:30AM (#10711066)
It's a PITA if you're developing on Windows. The less you have to do other than FTP upload, the better because SOME incompatibility WILL fuck you up. Wrong CRT version, weird path issues, package installers assuming Unix... dependencies on stuff that doesn't work on Winblows, requires PECL extensions (which are regularly unmaintained on win32),...
Re:Show HN: Lescript – Simple PHP client library for Let's e... by krapp on Thursday December 10, 2015 @10:54AM (#10711220)
Not in my experience - I develop PHP on Windows and have never had an issue using Composer. I can't imagine what sort of PHP dependencies "don't work on Winblows (cute)" or which even care about your CRT, or how that would even be a Composer issue as opposed to an issue with the libraries themselves or your PHP install. It's just PHP scripts running from an archive - if PHP works, and isn't too out of date, Composer works.
Re:Show HN: Lescript – Simple PHP client library for Let's e... by debaserab2 on Thursday December 10, 2015 @12:46PM (#10712014)
Developing on a VM solves all of these problems. Your dev environment should match your prod environment as much as possible, anyways.

If your target host is *nix, develop on something unix-like.

Re:Show HN: Lescript – Simple PHP client library for Let's e... by aioprisan on Friday December 11, 2015 @07:24AM (#10716665)
What I meant was develop locally, use composer locally, then deploy the end product over, which sounds like all environments would allow you to do.