[MacPorts] #19526: php5-apc 3.1.2_1 PHP Startup: Unable to load dynamic library
#19526: php5-apc 3.1.2_1 PHP Startup: Unable to load dynamic library ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5-apc ---------------------------+------------------------------------------------ APC won't load. This error appears in Apache's error log: {{{ PHP Warning: PHP Startup: Unable to load dynamic library './APC.so' - (null) in Unknown on line 0 }}} In bash, if I run "php -m" I see the same error. phpinfo() shows no evidence of APC running. This doesn't actually cause PHP to fail. I can use PHP just fine. -- Ticket URL: <http://trac.macports.org/ticket/19526> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5-apc 3.1.2_1 PHP Startup: Unable to load dynamic library ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5-apc ---------------------------+------------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => nox@… -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ---------------------------+------------------------------------------------ Changes (by nox@…): * owner: nox@… => ryandesign@… * port: php5-apc => php5 Comment: The default value of `extension_dir` in php.ini is the current directory. It should be: {{{ /opt/local/lib/php/extensions/no-debug-non-zts-20060613/ }}} -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ---------------------------+------------------------------------------------ Comment(by ryandesign@…): In php 5.3.0, the sample php.ini files list the extension_dir directive commented out, and with that, php knows where to load the extensions from. I will test whether that is sufficient for php 5.2.9 and 4.4.9; if so, I can patch the sample php.ini files included with those versions to comment out the extension_dir directive. If not, I'll insert the current extensions dir path as Anthony showed above (though I'll get it by executing "`php-config --extension-dir`"). In any case, this will only affect the sample php.ini files; the user will still be responsible for correcting their own php.ini files. -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * cc: stronk7@… (added) * status: new => assigned Comment: Has duplicate #19976. -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ---------------------------+------------------------------------------------ Comment(by ryandesign@…): * r53562: Added a notice to the php5extension portgroup that gets printed if the user's php.ini has an incorrect extension_dir directive. So although the user still needs to correct their own php.ini, they will be notified immediately upon installing any extension what they need to do to fix it. [ticket:20119 php5 will be updated to 5.3.0] shortly which includes sample php.ini files that don't have the problem, which should take care of things for new users. -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ---------------------------+------------------------------------------------ Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ---------------------------+------------------------------------------------ Comment(by stronk7@…): Confirmed. Commenting out {{{extension_dir}}} in php.ini makes extension to be loaded properly (tested with {{{php-yaz}}} that was my dupe problem at #19976). Thanks! -- Ticket URL: <http://trac.macports.org/ticket/19526#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19526: php5's extension_dir INI variable is incorrect ----------------------------+----------------------------------------------- Reporter: bjd@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: php5 | ----------------------------+----------------------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/19526#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts