[MacPorts] #31522: php-oracle fails in Lion
#31522: php-oracle fails in Lion --------------------------+------------------------------------------------- Reporter: mattg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: --------------------------+------------------------------------------------- When doing a port install php-oracle in Lion, it rebuilds apache with a broken version of Oci8. By disabling pdo-oci in oracle.ini apache will at least start, but any attempt to load a page with an oci_connect call on it will fail and yield a segmentation fault. -- Ticket URL: <https://trac.macports.org/ticket/31522> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31522: php5-oracle fails in Lion --------------------------+------------------------------------------------- Reporter: mattg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: --------------------------+------------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: => lion Comment: Can you explain more? What steps reproduce the problem? What do we need to do to fix it? I don't use oracle so if php5-oracle is broken in some way I'll need help from someone who uses oracle to fix it. Note that installing php5-oracle will not rebuild apache as you say. It will of course install the php5 port if you haven't done so already, and that will select its +apache2 variant by default, which will install the apache2 port for you if you haven't done so already. -- Ticket URL: <https://trac.macports.org/ticket/31522#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31522: php5-oracle fails in Lion --------------------------+------------------------------------------------- Reporter: mattg@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: php5-oracle --------------------------+------------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) * port: => php5-oracle Comment: Can you provide further information please? Without more information I don't know what to do about this, or even exactly what the problem is. -- Ticket URL: <https://trac.macports.org/ticket/31522#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31522: php5-oracle fails in Lion ---------------------------+------------------------------------------------ Reporter: mattg@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: worksforme | Keywords: lion Port: php5-oracle | ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: Closed due to lack of information. -- Ticket URL: <https://trac.macports.org/ticket/31522#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31522: php5-oracle fails in Lion ---------------------------+------------------------------------------------ Reporter: mattg@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: lion Port: php5-oracle | ---------------------------+------------------------------------------------ Changes (by pcavanaugh@…): * status: closed => reopened * resolution: worksforme => Comment: I am experiencing this same problem (Also on Lion 10.7.4). Starting with a working php 5.3 install using the php5 port: {{{ --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;" Hello, world --- /opt/local » sudo port install php5-oracle ---> Computing dependencies for php5-oracle ---> Fetching archive for php5-oracle ---> Attempting to fetch php5-oracle-5.3.15_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/php5-oracle ---> Attempting to fetch php5-oracle-5.3.15_0.darwin_11.x86_64.tbz2 from http://macports.packages.ionic.de/php5-oracle ---> Fetching distfiles for php5-oracle ---> Verifying checksum(s) for php5-oracle ---> Extracting php5-oracle ---> Configuring php5-oracle ---> Building php5-oracle ---> Staging php5-oracle into destroot ---> Installing php5-oracle @5.3.15_0 ---> Activating php5-oracle @5.3.15_0 ---> Cleaning php5-oracle ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;" [1] 29944 segmentation fault php -r "echo 'Hello, world' . PHP_EOL;" --- /opt/local » cat /opt/local/var/db/php5/oracle.ini 139 ↵ ; Do not edit this file; it is automatically generated by MacPorts. ; Any changes you make will be lost if you upgrade or uninstall php5-oracle. ; To configure PHP, edit /opt/local/etc/php5/php.ini. extension=oci8.so extension=pdo_oci.so --- /opt/local » sudo bash -c 'echo "extension=oci8.so" > /opt/local/var/db/php5/oracle.ini' 1 ↵ --- /opt/local » cat /opt/local/var/db/php5/oracle.ini extension=oci8.so --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;" Hello, world }}} -- Ticket URL: <https://trac.macports.org/ticket/31522#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31522: php5-oracle fails in Lion ---------------------------+------------------------------------------------ Reporter: mattg@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: lion Port: php5-oracle | ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * status: reopened => closed * cc: pcavanaugh@… (added) * resolution: => duplicate Comment: Duplicate of #31521. -- Ticket URL: <https://trac.macports.org/ticket/31522#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts