Learning how to scale isn't easy without any prior expe [...]
Архив тега ‘php’
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 .
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... 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 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:
As always, if you find anything in the guide that needs improvement, I'm all ears. ![]()
©2010 . 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.
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.rpmrpm -Uvh http://centos.alt.ru/repository/centos/5/x86_64/centalt-release-5-3.noarch.rpmyum --enablerepo=rusia --enablerepo=epel install php-fpm/etc/init.d/php-fpm startphp-pecl-apc-3.1.4 (перепечатка)
The new version of cache is available in rawhide and in remi repository for fedora and enterprise linux (RHEL, CentOS).
Will be also available in (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... 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 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... 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
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... PHP 5.3.3 Released!