You are not logged in.

#1 2016-08-29 02:03:49

juliendz
Member
Registered: 2013-05-13
Posts: 12

[SOVLED] PHP-Cli

Hi,

While installing the main php 7 package, pacman pulls dependecies like apache which I dont need. I just need php-cli for the php-linter and php-autocomplete packages for Atom.
Is there no php-cli package for Archlinux as Debian/Ubuntu has for it ?

Last edited by juliendz (2016-08-29 04:28:58)

Offline

#2 2016-08-29 04:04:28

mpan
Member
Registered: 2012-08-01
Posts: 1,207
Website

Re: [SOVLED] PHP-Cli

No, there is no such dependencies.

$ expac '%v: %E' php
7.0.10-1: libxml2  curl  libzip

$ pactree -u php | grep -F apache || echo 'No apache in deps'
No apache in deps

Last edited by mpan (2016-08-29 04:05:53)


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2016-08-29 04:27:40

juliendz
Member
Registered: 2013-05-13
Posts: 12

Re: [SOVLED] PHP-Cli

Hi,

I was referring to this package page : https://www.archlinux.org/packages/extra/x86_64/php/ and its listed in the dependencies as Apache (make).
So I understood it as a dependency that actually installs apache.

I should have just ran 'pacman -S php' just to check what it actually pulls.

Thank you.

Last edited by juliendz (2016-08-29 04:28:15)

Offline

#4 2016-08-30 03:29:02

mpan
Member
Registered: 2012-08-01
Posts: 1,207
Website

Re: [SOVLED] PHP-Cli

For future reference: “make” dependencies are required only when building the package from sources. More at the Wiki: PKGBUILD: makedepends. Unless one wants to build a package from sources instead of only installing binaries from the repos, this has no significance.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2016-08-31 02:30:44

juliendz
Member
Registered: 2013-05-13
Posts: 12

Re: [SOVLED] PHP-Cli

Noted. Thank you for the clarafication.

Offline

Board footer

Powered by FluxBB