Opened 13 years ago
Closed 12 years ago
#33617 closed defect (duplicate)
problems with php5-oracle port
Reported by: | a.ribalka@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | php5-oracle |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
- installed apache2 + php5
- installed php5-oracle + oracle-instantclient
- do restart
- apache cannot start because of oracle error
- if I disable in /opt/local/var/db/php5/oracle.ini the line ;extension=pdo_oci.so - seems it works (http://cl.ly/1c0F2N0F3H2O0z3J3V43) , but when i use function oci_pconnect or another oracle function in php it crashes (show nothing in browser)
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | php5-oracle oci8 removed |
Milestone: | MacPorts 2.0.5 |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | php5-oracle added |
Priority: | High → Normal |
Changed 13 years ago by a.ribalka@…
Attachment: | httpd_2012-03-14-110901_localhost.crash added |
---|
crash report log
comment:2 Changed 13 years ago by a.ribalka@…
I have crash report:
3/14/12 11:08:54.630 AM sudo: admin : TTY=ttys000 ; PWD=/Users/admin ; USER=root ; COMMAND=/opt/local/bin/port unload apache2 3/14/12 11:08:55.152 AM org.macports.apache2: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.114 for ServerName 3/14/12 11:08:55.152 AM org.macports.apache2: [Wed Mar 14 11:08:55 2012] [warn] NameVirtualHost *:80 has no VirtualHosts 3/14/12 11:08:58.195 AM sudo: admin : TTY=ttys000 ; PWD=/Users/admin ; USER=root ; COMMAND=/opt/local/bin/port load apache2 3/14/12 11:08:58.447 AM org.macports.apache2: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.114 for ServerName 3/14/12 11:08:58.447 AM org.macports.apache2: [Wed Mar 14 11:08:58 2012] [warn] NameVirtualHost *:80 has no VirtualHosts 3/14/12 11:08:59.831 AM ReportCrash: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled. 3/14/12 11:09:01.142 AM ReportCrash: Saved crash report for httpd[11832] version ??? (???) to /Library/Logs/DiagnosticReports/httpd_2012-03-14-110901_localhost.crash
and this httpd_2012-03-14-110901_localhost.crash attached
comment:3 Changed 13 years ago by a.ribalka@…
Can't describe this bug more precisely, because I've got only blank screen when use oracle php function; and apache crash report
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Not from me, no; I don't know what to do about the problem. If you find out (from the developers of PHP, Apache, Oracle, etc.) what we need to do, let me know.
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
The log shows that you're on Lion running x86_64. The oracle module doesn't work on Lion under x86_64; you'll have to run under i386 instead, i.e. if running php on the command line:
arch -i386 php myscript.php
If running php within apache, then you'll have to modify the apache start scripts to start apache under i386 instead of x86_64.
Duplicate of #31521.
Could you be more specific about exactly what problem occurs?