olemskoi.ru

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

6 ways to kill your server – learning how to scale the hard way (перепечатка)

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

Learning how to scale isn't easy without any prior expe [...]

PHP – Smarty block caching (перепечатка)

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

It might sound like a trivial task to cache Smarty temp [...]

mysql-5.1.50 (перепечатка)

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

RPM of the MySQL Community Server 5.1.50 are available in remi repository for EL 4 & 5 and for Fedora. See Changelog.

This build use a spec file close to the one from Rawhide. The Federated «storage engines» is activated by default by the launch script.
The new InnoDB plugin (version 1.0.11 GA) is also available. The configuration file (/etc/my.cnf) contains the directives needed to enable it.
WARNING: before upgrading, a full backup of your databases seems... Lire mysql-5.1.50

A simple guide to redundant cloud hosting (перепечатка)

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

Today, on my 28th birthday, I'm finally delivering on a promise to my readers which I made about two months ago. I've written a guide on how to host a web application redundantly in a cloud environment. While it's still a bit of a rough draft, it should be a good starting point for those who haven't worked in virtualized environments before. Also, it may show some of the more experienced systems administrators a new way to do things.

The guide: Redundant Cloud Hosting Guide

As always, if you find anything in the guide that needs improvement, I'm all ears. :-)

©2010 Racker Hacker. All Rights Reserved.

.

php 5.2 to 5.3 migration (перепечатка)

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

The new release of PHP 5.3 brought many important additions and changes to PHP. Although longly awaited, some of the changes are not backwards compatible. Thus, code that worked fine with 5.2 may produce warnings or fail in 5.3.

Quick research shows that most prominent applications had to be patched or changed, even though minimally, to work cleanly with 5.3. To help people to convert their web applications to 5.3, I present here a migration script that would allow you to inspect your applications for potential migration problems.

Original news source

MySQL 5.1 coming to yum repo, info & warnings within… (перепечатка)

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

My original thoughts were to roll out packages for MySQL 5.1 and PHP 5.3 at the same time. Given the issues with Zend getting loaders for 5.3 out the door, and the complications with developers needing a newer version of Zend Guard and having to recompile everything in order for it to work with [...]

easy php-fpm install via yum (перепечатка)

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

On CentOS, php-fpm can be easily installed via CentALT yum repository. This requires epel repository too and will pull down any dependencies if needed.

  • Install EPEL release:
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
  • Install CentALT release:
    rpm -Uvh http://centos.alt.ru/repository/centos/5/x86_64/centalt-release-5-3.noarch.rpm
  • Install via yum:
    yum --enablerepo=rusia --enablerepo=epel install php-fpm
  • Look through and edit /etc/php-fpm.conf . The config options are well commented... also available at php-fpm.org
  • The default settings should work quite well.
  • Bring up the service via:
    /etc/init.d/php-fpm start

read more

php-pecl-apc-3.1.4 (перепечатка)

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

The new version of APC cache is available in rawhide and in remi repository for fedora and enterprise linux (RHEL, CentOS).

Will be also available in fedora 13 updates (after the updates-testing stage).

This new version, still tagged as beta,  improves the PHP 5.3 support. It also fixes various bugs, and a potential security issue.
We can discover a new solution to optimize cache by enabling the new apc.lazy_classes and  apc.lazy_functions options. To be tested. It uses a differed load during the call rather than during the load.
As always... Lire php-pecl-apc-3.1.4

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

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

Even if don't use version 5.2 for a while, and if I prefer to promote the 5.3 upgrade, I need this old thing for a professional project.

RPM are not available in a repository, so couldn't be installed using yum, so must be download and installed manually.
Only the Enterprise Linux 4 & 5 (RHEL / CentOS) version is available:
in the EL-5 i386 archives
in the EL-45x86_64 archives
in the EL-4 i386 archives
in the EL-4 x86_64 archives
as source

Build against MySQL 5.1.49 and... Lire php-5.2.14

PHP 5.3.3 Released! (перепечатка)

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

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

Read the PHP 5.3.3 Released!

This version fixes a lot of bugs and security issues. All users are encouraged to upgrade to this release.

Use  YUM to install :
yum --enablerepo=remi update php-\*
Notice : now, all extensions are provided for php-cli and php (module for apache in prefork mode) and php-zts (module for apache in worker mode). Read the entry PHP 5.3, MPM worker, zts and mysqlnd (yes I know, pecl extensions are not yet available).
For fedora ≥ 12 et EL-5, the new... Lire PHP 5.3.3 Released!