3

while setting up mediawiki on my local development machine, the installer told me that since i do not have PECL extension to php installed, i will have to do with slower page load speeds with traditional php page loading.

Does PECL really increase page load speeds?

How do i install it on my Ubuntu LAMP server?

3 Answers 3

3

Was the message you saw something like this?

"Warning: The intl PECL extension is not available to handle Unicode normalization, falling back to slow pure-PHP implementation. If you run a high-traffic site, you should read a little on Unicode normalization."

What it's telling you is that you should install the intl extension from PECL; otherwise MediaWiki will have to use its own Unicode normalization code, which is slow.

On Ubuntu, this extension is available as the php5-intl package.

0
2
 sudo apt-get install php5-intl

for install on PHP 7.2 & Ubuntu 18.04 run this command:

sudo apt install php-intl
1
  • pecl can improve your system, but not necessarily, it depends in your code, the whole process of the page, the cacheability of components and many more things. It will be better to ask about specific problems when you face them.
    – PatomaS
    Oct 18, 2012 at 16:08
0

I can't answer as to why PECL will affect your page load times. But regarding the installation of PECL to your PHP installation Google is your friend.

I found this link How to install a PHP PECL extension/module on Ubuntu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.