Игорь Олемской — практические заметки по системному администрированию Linux CentOS

Архив тега ‘php’

PHP version 5.4.0 is released! (перепечатка)

Комментариев нет

New PHP major version 5.4.0 is released, RPM are available in remi-test repository for Fedora ≥ 15 and EL ≥ 5.

This is a Fedora 17 feature.
Available extensions :
php-libvirt-0.4.5-1
php-magickwand-1.0.9-2
php-pecl-apc-3.1.9-6.svn323587
php-pecl-bbcode-1.0.3-0.2.b1
php-pecl-gearman-0.8.1-2 ou 1.0.1-2 (fedora >= 16)
php-pecl-geoip-1.0.8-2
php-pecl-gmagick-1.1.0-0.3.RC2
php-pecl-gnupg-1.3.2-2
php-pecl-haru-1.0.3-2
php-pecl-http-2.0.0-0.5.dev6... Lire PHP version 5.4.0 is released!

xhprof-0.9.2 (перепечатка)

Комментариев нет

RPM of xhprof extension, a hierarchical profiler is available in remi-test repository for Fedora ≥ 15 and EL ≥ 5.

Documentation: Hierarchical Profiler
Works with PHP 5.3.10 et 5.4.0.
There is 2 packages:
xhprof : the web interface to browse the results
php-pecl-xhprof : the PHP extension to collect the data

Installation:
yum --enablerepo=remi,remi-test install xhprofTo read the provided implementation documentation:
firefox... Lire xhprof-0.9.2

php-5.3.10 (перепечатка)

Комментариев нет

RPM of final release of php 5.3.10 are available for Fedora and for Enterprise Linux (RHEL/CentOS) in remi repository. This version will be available really soon in official updates for fedora ≥ 15 (after testing stage).

Read the announce: PHP 5.3.10 Released!

This version fixes a critical security bug. All users are encouraged to upgrade to this release.

Use  YUM to install :
yum --enablerepo=remi update php-\*
Notice : the php package now provides both apache modules, for prefork and worker mode. The php-zts package is removed.
For fedora ≥ 12 et EL ≥ 5, the new php-fpm extension is available (an alternative to php-cgi). Read PHP-FPM and NGINX and PHP-FPM and LIGHTTPD.
Packages will also be... Lire php-5.3.10

php-pecl-haru-1.0.3 (перепечатка)

Комментариев нет

The RPM of haru extension, which provides PDF generation from PHP, is available in remi repository.

I decide to try this extension while searching for an alternative to the pdflib extension which use a library not released under an OpenSource license.
This extension use the free Haru library. Version 2.2.1 is also available in my repository .
Documentation : Haru PDF
Depending on my test results, especially on UTF-8 support, I will perhaps... Lire php-pecl-haru-1.0.3

php-pecl-mysqlnd-ms-1.2.2 (перепечатка)

Комментариев нет

RPM of Mysqlnd replication and load balancing plugin is available in remi repository and waiting for review for fedora >= 16 repository.

This mysqlnd extension handle load balancing betwwen master and slave servers, handled by the application, or transparently.
Pecl site: mysqlnd_ms
Documentation : Mysqlnd replication and load balancing plugin
Fedora review : Review request #742729
Installation, after the switch from php-mysql to php-mysqlnd :
yum --enablerepo=remi install... Lire php-pecl-mysqlnd-ms-1.2.2

php-pecl-http-2.0.0 (перепечатка)

Комментариев нет

Package of development version of Extended HTTP support pecl extension is availalbe in the remi-test repository and submit for review for official fedora 17 repository (Review #783837). It Requires php 5.4.0.

Version : 2.0.0dev3, so not yet considered as stable.
Documentation : HTTP
Installation :
yum --enablerepo=remi-test install php-pecl-httpThis version 2 is completely incompatible to previous version (but package doesn't exists) and requires PHP 5.4... Lire php-pecl-http-2.0.0

php-5.3.9 (перепечатка)

3 комментария

RPM of final release of php 5.3.9 are available for Fedora and for Enterprise Linux (RHEL/CentOS) in remi repository. This version will be available really soon in official updates for fedora ≥ 15 (after testing stage).

Read the announce: PHP 5.3.9 Released!

This version fixes various security bugs. All users are encouraged to upgrade to this release.

Use  YUM to install :
yum --enablerepo=remi update php-\*
Notice : the php package now provides both apache modules, for prefork and worker mode. The php-zts package is removed.
For fedora ≥ 12 et EL-5, the new php-fpm extension is available (an alternative to php-cgi). Read PHP-FPM and NGINX and PHP-FPM and LIGHTTPD.
Packages will also be... Lire php-5.3.9

PHP 5.4 Development Server (перепечатка)

Комментариев нет

PHP now provides a minimal web server for development purpose which allow to run, quickly, an application.

To launch if, you just need to set the listen address and pages folder, for example:
$ php -S 127.0.0.1:8080 -t /work/GLPI/0.83-bugfixesPHP 5.4.0RC4-dev Development Server started at Sat Dec 17 09:39:11 2011Listening on 127.0.0.1:8080Document root is /var/www/htmlPress Ctrl-C to quit.Then, from your browser: http://127.0.0.1:8080/... Lire PHP 5.4 Development Server

PHP 5.4 in preparation (перепечатка)

Комментариев нет

As version 5.4.0RC1 is released, I start to work on PHP 5.4.0 RPM.

For now, packages are available for fedora ≥ 15 and Enterprise Linux ≥ 5 (RHEL, CentOS, ...), for x86_64 only in remi-test repository.
This will probably become a fedora 17 feature.
Current version : 5.4.0RC6
Available extensions (40) :

cups-php-1.5.0-22 (Bug #3999) fedora 16 only
graphviz-php-2.28.0-11fedora 16 only
ice-php-3.4.2-3 (Bug... Lire PHP 5.4 in preparation

php-pecl-mysqlnd-ms-1.1.0 (перепечатка)

Комментариев нет

RPM of Mysqlnd replication and load balancing plugin is available in remi repository and waiting for review for fedora >= 16 repository.

This mysqlnd extension handle load balancing betwwen master and slave servers, handled by the application, or transparently.
Pecl site: mysqlnd_ms
Documentation : Mysqlnd replication and load balancing plugin
Fedora review : Review request #742729
Installation, after the switch from php-mysql to php-mysqlnd :
yum --enablerepo=remi install... Lire php-pecl-mysqlnd-ms-1.1.0