note 75212 added to install.pecl.phpize

From: Date: Thu, 17 May 2007 23:07:47 +0000
Subject: note 75212 added to install.pecl.phpize
Groups: php.notes 
Request: Send a blank email to php-notes+get-126680@lists.php.net to get a copy of this message
When you have multiple installations of PHP, running phpize from a specific installation will not force the module to be compiled with that installation's include files. In my case, I had a standard PHP distribution installed, and am evaluating Zend Core / Zend Platform, which installed it's own Apache & PHP in a /usr/local/Zend/.. install path. It was missing the json.so module, so I had to compile my own. Running Zend Core's phpize, the output indicates that configuration for that module will occur. But when running ./configure, the standard installation's include files are used. The result json.so being compiled against the wrong PHP would not load when Zend Core's php initializes. The only way I could see to correct the situation was to temporarily change the standard PHP include path to point to the Zend Core's include files. In my case, I made a backup copy of /usr/include/php5 and did a "ln -s /usr/local/Zend/Core/include/php/ /usr/include/php5". ---- Server IP: 64.71.164.2 Probable Submitter: 68.122.42.152 ---- Manual Page -- http://www.php.net/manual/en/install.pecl.phpize.php Edit -- https://master.php.net/note/edit/75212 Del: integrated -- https://master.php.net/note/delete/75212/integrated Del: useless -- https://master.php.net/note/delete/75212/useless Del: bad code -- https://master.php.net/note/delete/75212/bad+code Del: spam -- https://master.php.net/note/delete/75212/spam Del: non-english -- https://master.php.net/note/delete/75212/non-english Del: in docs -- https://master.php.net/note/delete/75212/in+docs Del: other reasons-- https://master.php.net/note/delete/75212 Reject -- https://master.php.net/note/reject/75212 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126680) next »