Package Details: php56-composer 1:1.9.0-1

Git Clone URL: https://aur.archlinux.org/php56-composer.git (read-only)
Package Base: php56-composer
Description: Dependency Manager for PHP 5.6
Upstream URL: https://getcomposer.org/
Licenses: MIT
Submitter: tjbp
Maintainer: tjbp
Last Packager: tjbp
Votes: 2
Popularity: 0.000000
First Submitted: 2016-04-12 01:38
Last Updated: 2019-10-03 09:57

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

graphicmist commented on 2017-05-24 09:26

There was 1 error:

1) Composer\Test\Autoload\AutoloadGeneratorTest::testMainPackageAutoloadingWithTargetDir
is_readable(): open_basedir restriction in effect. File(/lib) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/php56/pear/:/usr/share/webapps/)

I commented the open_basedir in php.ini & it worked.

graphicmist commented on 2017-05-24 09:06

I enabled php extensions phar & openssl in php.ini
Apologies

graphicmist commented on 2017-05-24 08:58

I am getting this error?

==> Starting prepare()...
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

The phar extension is missing.
Install it or recompile php without --disable-phar

The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl

==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build php56-composer.

krunsh commented on 2017-01-26 20:49

Workaround steps :
1. Open /etc/php56/php.ini
2. Find 'date.timezone' and set it to UTC this way:
date.timezone = UTC

scottpidzarko commented on 2017-01-06 07:20

Hey I'm getting this error when I try to build the package (with pacaur) ...

==> Starting build()...
patching file src/Composer/Compiler.php
Hunk #1 succeeded at 187 (offset 4 lines).
Hunk #2 succeeded at 228 (offset 4 lines).
patching file bin/composer
patching file bin/compile
Failed to compile phar: [Exception] DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. at /home/scott/.cache/pacaur/php56-composer/src/php56-composer/src/Composer/Compiler.php:57
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build php56-composer package(s)

Is there a simple workaround for now?

tjbp commented on 2016-08-24 09:12

@pohl7589 Thanks, package updated.

pohl7589 commented on 2016-08-24 08:21

here is the correct link: http://pastebin.com/raw/NzZP8b8C

pohl7589 commented on 2016-08-24 08:19

The package fails to compile if php7 is not installed. Here is the patch to use php56: http://pastebin.com/download/NzZP8b8C

tjbp commented on 2016-08-23 08:38

@pohl7589 Which command are you running that uses the wrong PHP binary? You can upload your patch to a pastebin somewhere and post a link here if you like.

pohl7589 commented on 2016-08-20 21:07

Changes need to be made to bin/compile, i.e. rename all "php" calls to "php56". In the PKGBUILD, the patches are not found. They need to be in applied in "../php56.patch" and "../phpunit56.patch".

How can I submit a patch?