Instalar Php Serial Extension

  

What is the PHP mbstring extension, and what is the best way to install it on Ubuntu 14.04?

  1. Php Serial Number
  2. Php Serial Port Communication
Active1 year, 1 month ago

As the fileinfo is moved from PECL to PHP. What is the best way to install it through WHM or putty.?

I tried following command:

and received following error:

WARNING: 'pear/Fileinfo' is deprecated in favor of 'channel://php-src/ext/fileinfo/in php sources

'WARNING: channel 'pear.php.net' has updated its protocols, use 'pecl channel-update pear.php.net' to update

downloading Fileinfo-1.0.4.tgz ...

Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)

Php

.....done: 5,835 bytes

3 source files, building

running: phpize

Cannot find config.m4.

Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed

Cœur
22.2k10 gold badges128 silver badges180 bronze badges
Lalit AroraLalit Arora

3 Answers

This extension is enabled by default as of PHP 5.3.0. Before this time, fileinfo was a PECL extension but is no longer maintained there. However, versions prior to 5.3+ may use the » discontinued PECL extension.

Php Serial Number

Php serial number generator

Reference:

This error is displayed because you don't have php-devel package installed

Saket PatelSaket Patel
5,8251 gold badge20 silver badges34 bronze badges

Are you install php-devel?
phpize execute need's php-devel package. if you are on centos run the following code

vchakoshyvchakoshy

For me this is working

Amar PanchalAmar Panchal

Php Serial Port Communication

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