Package Details: php53-gd 5.3.29-18

Git Clone URL: https://aur.archlinux.org/php53.git (read-only, click to copy)
Package Base: php53
Description: gd module for php53
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: None
Maintainer: el_aur
Last Packager: el_aur
Votes: 9
Popularity: 0.000000
First Submitted: 2012-06-24 22:51 (UTC)
Last Updated: 2023-02-22 16:32 (UTC)

Required by (0)

Sources (24)

Pinned Comments

el_aur commented on 2022-02-07 18:59 (UTC)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version is installed with php53-cli subpackage, php53 doesn't include it anymore!!!

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

Latest Comments

1 2 3 4 5 6 Next › Last »

el_aur commented on 2022-02-07 18:59 (UTC)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version is installed with php53-cli subpackage, php53 doesn't include it anymore!!!

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

el_aur commented on 2022-02-01 17:40 (UTC) (edited on 2022-02-01 17:41 (UTC) by el_aur)

@malina - already tried 5.2, too ancient stuff even if compare with 5.3 :) too much time to waste for such dinosaur

malina commented on 2022-01-27 22:10 (UTC)

@el_aur I saw your work (phpbs) and tried it. You could work a lot with that, congratulations, nice work. And the source code is nice too. And it works. I couldn't compile php 5.3 with imap 2 months ago, I had to compile it separately. And yours works. So thank you very much.

Would php 5.2 be a big challenge?

el_aur commented on 2022-01-27 18:41 (UTC)

Hi guys. Wanna adopt this package. Have made universal builds for all PHP versions 5.3-8.1. Maintaining already php55, php72, php73, php74, php81 in AUR

el_aur commented on 2021-12-16 14:54 (UTC)

Have ported cve patches and Debian patches, can share here if you make me comaintainer :)

el_aur commented on 2021-12-09 12:30 (UTC) (edited on 2022-01-21 12:00 (UTC) by el_aur)

@malina Have made my own package for php53

Available here: https://github.com/lamskoy/arch-phpbs

Was playing with older ICU versions and found not all are compiling well icu64 is fine on modern system. Have made PKGBUILD for it too

malina commented on 2020-11-03 11:47 (UTC)

Hi,

the problem is that the unicode include directory is not taken well by php.

Nor is it a problem, but the current icu library (now 67.1) is not suitable for the php 5.3 intl extension, obviously the current icu library functions have a different set of parameters than in older versions.

There is only one solution: you need to install an earlier version of icu separately, which is at least 48.1 (icu 4.8.1.1) - I use at least that.I compiled specifically with the rpath option and only for php.

That's not enough: in the php53 build section, you need to set ICU_CONFIG env, and for LDFLAGS add the lib directory of the old version icu with the -L option, and set the --with-icu-dir = option with install dir of the old version icu.

lsrzj commented on 2019-11-25 17:43 (UTC) (edited on 2019-11-25 17:44 (UTC) by lsrzj)

I tried building PHP 5.3 and makepkg -si is failing with this message:

In file included from /usr/include/unicode/uformattable.h:37,
                 from /usr/include/unicode/fmtable.h:33,
                 from /usr/include/unicode/format.h:39,
                 from /usr/include/unicode/msgfmt.h:33,
                 from /home/leandro/php53/src/php-5.3.29/ext/intl/msgformat/msgformat_helpers.cpp:22:
/usr/include/unicode/ubrk.h:353:1: error: conflicting declaration of C function ‘void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)’
  353 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/utext.h:199:1: note: previous declaration ‘void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)’
  199 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/umsg.h:428:1: error: conflicting declaration of C function ‘void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)’
  428 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/utext.h:199:1: note: previous declaration ‘void icu_65::swap(icu_65::LocalUTextPointer&, icu_65::LocalUTextPointer&)’
  199 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/umsg.h:428:1: error: conflicting declaration of C function ‘void icu_65::swap(icu_65::LocalUMessageFormatPointer&, icu_65::LocalUMessageFormatPointer&)’
  428 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, UMessageFormat, umsg_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ubrk.h:353:1: note: previous declaration ‘void icu_65::swap(icu_65::LocalUBreakIteratorPointer&, icu_65::LocalUBreakIteratorPointer&)’
  353 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, UBreakIterator, ubrk_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:1023: ext/intl/msgformat/msgformat_helpers.lo] Error 1
==> ERRO: Uma falha ocorreu em build().
    Abortando...

aminvakil commented on 2019-09-17 13:33 (UTC) (edited on 2019-09-17 13:41 (UTC) by aminvakil)

At the end (I executed makepkg -sri):

==> Removing installed dependencies...
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: php53: removing libzip breaks dependency 'libzip'
:: php53: removing openssl-1.0 breaks dependency 'openssl-1.0'
:: php53-apache: removing apache breaks dependency 'apache'
:: php53-enchant: removing enchant breaks dependency 'enchant'
:: php53-imap: removing c-client breaks dependency 'c-client'
:: php53-mcrypt: removing libmcrypt breaks dependency 'libmcrypt'
:: php53-mssql: removing freetds breaks dependency 'freetds'
:: php53-odbc: removing unixodbc breaks dependency 'unixodbc'
:: php53-pgsql: removing postgresql-libs breaks dependency 'postgresql-libs'
:: php53-pspell: removing aspell breaks dependency 'aspell'
:: php53-snmp: removing net-snmp breaks dependency 'net-snmp'
:: php53-tidy: removing tidy breaks dependency 'tidyhtml'
:: php53-xsl: removing libxslt breaks dependency 'libxslt'
==> WARNING: Failed to remove installed dependencies.

==> ERROR: An unknown error has occurred. Exiting...
User defined signal 1