Package Details: php55 5.5.38-12

Git Clone URL: https://aur.archlinux.org/php55.git (read-only, click to copy)
Package Base: php55
Description: PHP. A general-purpose scripting language that is especially suited to web development
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: rdoursenaud
Maintainer: el_aur
Last Packager: el_aur
Votes: 4
Popularity: 0.002390
First Submitted: 2016-03-10 16:18 (UTC)
Last Updated: 2022-11-05 21:53 (UTC)

Sources (21)

Pinned Comments

el_aur commented on 2022-02-04 11:30 (UTC)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php55

Install with pacman -S packages you need or all PHP 5.5 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php55')

el_aur commented on 2022-01-27 12:13 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php55 is installed with php55-cli subpackage, php55 doesn't include it anymore!!!

  2. PEAR and PECL are available as php55-pear and php755-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php55 package anymore.

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php55/conf.d

They are loaded in correct order according to priority

Latest Comments

1 2 Next › Last »

el_aur commented on 2022-02-04 11:30 (UTC)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php55

Install with pacman -S packages you need or all PHP 5.5 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php55')

el_aur commented on 2022-01-27 12:13 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php55 is installed with php55-cli subpackage, php55 doesn't include it anymore!!!

  2. PEAR and PECL are available as php55-pear and php755-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php55 package anymore.

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php55/conf.d

They are loaded in correct order according to priority

el_aur commented on 2022-01-21 12:21 (UTC)

Now should build well. Adopted this package and added my own build rules

mgsCatDev commented on 2019-02-08 15:13 (UTC) (edited on 2019-02-08 15:14 (UTC) by mgsCatDev)

Unable to build with the latest pacman:

Iniciant package_php55-pear()...
    Installing PEAR environment:      /tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/usr/share/php55/pear/
    Notice: Undefined variable: metadata_dir in phar://install-pear-nozlib.phar/index.php on line 255
    [PEAR] Archive_Tar    - installed: 1.4.0
    [PEAR] Console_Getopt - installed: 1.4.1
    [PEAR] Structures_Graph- installed: 1.1.1
    [PEAR] XML_Util       - installed: 1.3.0
    warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.4.0)
    warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.1.1)
    warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.4.1)
    warning: pear/PEAR requires package "pear/XML_Util" (recommended version 1.3.0)
    [PEAR] PEAR           - installed: 1.10.1
    Wrote PEAR system config file at: /tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear//etc/php55/pear.conf
    You may want to add: /usr/share/php55/pear to your php.ini include_path
    ==> Endreçant la instal·lació...
      -> Suprimint libtool fitxers...
      -> Purgant fitxers no desitjats...
      -> Suprimint els fitxers de les biblioteques estàtiques...
      -> Retirant els símbols innecessaris dels binaris i les biblioteques...
      -> Comprimint el manual i les pàgines d'informació...
    ==> Comprovant si hi ha problemes d'empaquetament...
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.channels".
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.depdb".
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.depdblock".
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.filemap".
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.lock".
    ==> ERROR: S'ha trobat un fitxer amb punt al paquet d'arrel "/tmp/yaourt-tmp-developer/aur-php55/pkg/php55-pear/.registry".

The problem can be fixed editing PKGBUILD, line 316, changing:

rm -rf "${pkgdir}"/usr/share/${pkgbase}/pear/.{channels,depdb,depdblock,filemap,lock,registry}

with

rm -rf "${pkgdir}"/.{channels,depdb,depdblock,filemap,lock,registry}

francoism90 commented on 2017-11-24 08:53 (UTC) (edited on 2017-11-24 09:04 (UTC) by francoism90)

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php55/modules/intl.so' - libicui18n.so.59: cannot open shared object file: No such file or directory in Unknown on line 0 Recompiling didn't work. Thanks!

francoism90 commented on 2017-10-17 08:07 (UTC)

Could you please add ;extension=calendar to php.ini.patch? :)

francoism90 commented on 2017-09-08 12:52 (UTC)

@rdoursenaud Thanks, builds fine now. :)

rdoursenaud commented on 2017-07-26 14:13 (UTC)

@badpixel Since PHP 5.5 is not supported upstream anymore, the keys are expired. You can find them at https://secure.php.net/downloads.php#gpg-5.5 @francoism90 Thanks for the heads up. Preparing an update.

francoism90 commented on 2017-07-03 06:51 (UTC) (edited on 2017-07-03 06:57 (UTC) by francoism90)

libvpx missing as makedep, it doesn't build (anymore) due OpenSSL errors.

badpixel commented on 2017-03-22 23:04 (UTC)

gpg --search-keys FE857D9A90D90EC1 gpg: error searching keyserver: Server indicated a failure gpg: keyserver search failed: Server indicated a failure i cant import and find this key mannualy. how can i fix this to install php55?