#31522 closed defect (duplicate)
php5-oracle fails in Lion
Reported by: | mattg@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | lion | Cc: | pcavanaugh@… |
Port: | php5-oracle |
Description
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.
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | lion added |
Summary: | php-oracle fails in Lion → php5-oracle fails in Lion |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | php5-oracle added |
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.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closed due to lack of information.
comment:4 Changed 12 years ago by pcavanaugh@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
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
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | pcavanaugh@… added |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
Duplicate of #31521.
Note: See
TracTickets for help on using
tickets.
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.