PHP 5.5 on Arch Linux

Packages of PHP 5.5 are available in my repository. Note that these are debug builds and might require the use of the [testing] repository.

[php]
Server = https://repo.pierre-schmitz.com/$repo/os/$arch

Only try this at home. APC gets replaced by APCu for user data caching. Use the new opcache module to cache the PHP scripts. XCache is also available as a development snapshot.

Let me know of any issues but also successes. More will follow up soon.

3 thoughts on “PHP 5.5 on Arch Linux

  1. Hello,

    I usually use the PHP benchmark script from https://github.com/shlensky/PHPbench to test my PHP and server performance. The results on 5.4 and 5.5 differ extraordinary, as you can see below.

    ————————————–
    |        PHP BENCHMARK SCRIPT        |
    ————————————–
    Start : 2013-07-16 09:27:54
    Server : ***
    PHP version : 5.5.0
    Platform : Linux
    ————————————–
    test_math                 : 5.598 sec.
    test_stringmanipulation   : 6.336 sec.
    test_loops                : 3.551 sec.
    test_ifelse               : 2.346 sec.
    ————————————–
    Total time:               : 17.831 sec.

    ————————————–
    |        PHP BENCHMARK SCRIPT        |
    ————————————–
    Start : 2013-07-16 09:28:42
    Server : ***
    PHP version : 5.4.17
    Platform : Linux
    ————————————–
    test_math                 : 1.720 sec.
    test_stringmanipulation   : 1.686 sec.
    test_loops                : 1.037 sec.
    test_ifelse               : 0.842 sec.
    ————————————–
    Total time:               : 5.285 sec.

    I tested php 5.5 both on Windows and on OpenSuse, where the bench times are similar to version 5.4. So it must be something with this arch package. Is there a way to build this exact packages myself to investigate?
    Furthermore, i assume that the opcache is going to be a separate package rather than in php core?

    Regards,
    Leonard

    • As stated above, these packages are debug builds and have all optimizations disabled. Benchmarking these is of little use. The opcache module will be part of the “core” php package. Sources for all my packages can be found at: https://repo.pierre-schmitz.com/sources/ Just set _debug to false to get the regular optimized builds.

Comments are closed.