Questions tagged [phpize]

A tool to prepare a PHP extension for compiling

phpize is a shell script to prepare PHP extension for compiling.

Options

--clean        Remove all created files
--help         Prints usage information
--version
-v             Prints API version information

It is included in package php5-dev.

Man Page: http://www.manpagez.com/man/1/phpize/

32 questions
1
vote
0 answers

phpize headers not found lampp

I'm trying to get xdebug working on a new version of lampp i installed from apachefriends.org. However when executing all the steps from https://xdebug.org/wizard.php i run into troubles with phpize. With my lampp installation i have 3 phpize…
patman
  • 2,780
  • 4
  • 30
  • 54
1
vote
1 answer

PHP - Compiling FreeTSD Extension for MSSQL

I am trying to install FreeTSD on my local MAMP install. But I am having troubles compiling the extension for PHP7. The commands finish executing but I have no idea where the .SO file is output to. I have been following this guide on how to compile…
user4368224
1
vote
0 answers

PHP PECL EXTENSION INSTALL DREAMHOST ERROR: 'phpize' failed

I am trying to install the PECL extension Oauth on DreamHost. I used: $ pear install pecl/oauth-1.2.3 I get back: ERROR: 'phpize' failed In the DreamHost Wiki it says: If any installation requires you to run 'phpize', just specify the full…
1
vote
0 answers

How to PHPize in windows?

I have to phpize the following two modules: https://github.com/mgp25/curve25519-php https://github.com/allegro/php-protobuf I am able to phpize them and create respective .so. Is there a way to use phpize in windows to get respective .dll?
Bit Manipulator
  • 248
  • 1
  • 2
  • 17
0
votes
1 answer

Installing php-dev results in 7.0 packages being installed instead of 7.3

When I run - apt-get install php-dev I see a bunch of php 7.0 packages being installed - The following additional packages will be installed: dh-php libexporter-tiny-perl liblist-moreutils-perl libssl-dev libssl-doc php7.0-cli php7.0-common…
Vivek Rao
  • 1
  • 1
0
votes
0 answers

When I compile PECL imagick using phpize, I get the error "undefined macro: _m4_divert_diversion

When I download the source of PECL imagick and compile it using phpize I get an error "undefined macro: _m4_divert_diversion". CentOS6.7 PHP7.3 autoconf 2.71 → 2.69 m4 1.4.13 → 1.4.18 libtool 2.2.6b wget…
momomo
  • 1
0
votes
0 answers

Has anyone successfully built PHP 7.4 extensions on MacOS 12.4 using PECL?

I'm using homebrew to install PHP on macOS 12.4 (Monterey), and having difficulty getting the suggested PECL extension install method to work. I've installed php 7.4 on macOS: brew install php@7.4 And then I ran the following pecl install command…
0
votes
0 answers

Is it possible to install Phpize without php-devel?

I need phpize to install an extension on PECL, but inputting the command downloads the extension then tells me that "phpize failed". After some googling, I noticed that you needed a version of PHP called "php-devel", I don't know if installing this…
Upwader
  • 11
  • 3
0
votes
1 answer

Undefined subroutine &main::open_quote called at /usr/local/bin/autom4te line 262

Hi I try to install xdebug via pecl on macox (Big Sur 11.5.2) But I get error message xdebug volodymyr$ pecl install xdebug downloading xdebug-3.0.4.tgz ... Starting to download xdebug-3.0.4.tgz (215,870…
Vlad
  • 25
  • 5
0
votes
1 answer

phpize failed when building php-fpm for docker after updating mac os

I have lost the ability to build php images for docker after i've updated my mac os from 11.4 to 11.6. Before updating everything was building smoothly, but just after updating i can't seem to build php-fpm with any additional extensions at all. So…
0
votes
1 answer

pecl installing for incorrect version of PHP

On a system running Unbuntu 16.04LTS, I'm trying to install the Sync class for PHP7.3. phpinfo() on the system reveals the following: Loaded Configuration File => /etc/php/7.3/cli/php.ini ... PHP API => 20180731 PHP Extension => 20180731 Zend…
Dennis
  • 1,071
  • 2
  • 17
  • 38
0
votes
2 answers

Install XDEBUG in Catalina OSX

I found this page https://bbqsoftwares.com/blog/xdebug-catalina that help to install Xdebug in Macosx Catalina, after Apple has changed Xcode installation, the headers of php are in another location. But I cannot save phpize file due to readonly…
Filippo
  • 56
  • 6
0
votes
0 answers

How to change phpize to current version

I'm using Mojave OS X and I've been following these steps to install Xdebug through Pecl. I'm trying to set it up so I can use the debugger of PHPStorm. http://www.devinbaldwin.com/2018/09/27/how-to-install-xdebug-on-a-new-mac-including-mojave/…
g4ntz
  • 25
  • 4
0
votes
0 answers

Can I install phpize7.1 to Ubuntu 15.10?

I have old Ubuntu 15.10 which unsupported anymore. I need php7, but I can not update it to Ubuntu 16/18. I installed php7.1 from source, but also I need phpize to compile extensions. Is it possible to install phpize from source (like I did it for…
Max Lipsky
  • 1,774
  • 1
  • 18
  • 29
0
votes
1 answer

Why is it so difficult to get phpize to work...?

Believe me, I'm not somebody that easily gives up but I am about to on this one...Also I'm not a linux expert but normally I can get arround just fine. I started installing Imagick and all went fine except for the 'pecl install imagick'. It gives me…
dmfusion
  • 25
  • 1
  • 6