php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34605 cannot run fastcgi php with oci8
Submitted: 2005-09-23 03:28 UTC Modified: 2005-09-26 08:51 UTC
From: nicetmy at 126 dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.4.0 OS: win2K sp4
Private report: No CVE-ID: None
 [2005-09-23 03:28 UTC] nicetmy at 126 dot com
Description:
------------
PHP: 4.3.11
Oracle client: 10.1.0 and 9.2
Apache 2.0.47

I try to run php under fastcgi mode
Using the default configure of php everything is fine.
But when I open the oci8 suport, apache service started but php cannot work. 
So I turn to start apache service with DOS command, system popup the notice of cannot find oci.dll(In fact, oci.dll in %PATH%).
Then I change the httpd.conf using isapi mode, oracle support is ok.

Why?




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-23 09:04 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


>php cannot work
What does that mean?

I don't understand you problem at all.
Do you have Oracle Client installed? Do you have ORACLE_HOME variable set? What exactly do you get? Any error messages? 
 [2005-09-26 02:58 UTC] nicetmy at 126 dot com
The following is the set of http.conf and php.ini:

http.conf:
LoadModule fastcgi_module modules/mod_fastcgi.dll
ScriptAlias /fcgi-php/ "d:/php4/"
FastCgiServer "d:/php4/php.exe"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/fcgi-php/php.exe"

php.ini:
extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_oracle.dll

"Php cannot work" means:
1. When I started apache by ??ApacheMonitor??, I could not get any error messages but heard system's warning sound-"di". Apache showed that have been started success. But when I accessed the website through IE, I got the following messages:

Internal Server Error
  The server encountered an internal error or misconfiguration and was unable to complete your request.

  Please contact the server administrator, master@localhost.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

  More information about this error may be available in the server error log.

  --------------------------------------------------------------------------------
   Apache/2.0.47 (Win32) mod_fastcgi/2.4.2 Server at localhost Port 80

2. When I started apache by DOS command - "apache.exe", system popup a messagebox which title was "oci.dll" and which content was "Specified module not found".

Oracle Client has been installed,ORACLE_HOME variable has been set too. Because when I changed the set of httpd.conf to:
LoadModule php4_module d:/php4/sapi/php4apache2.dll
AddType application/x-httpd-php .php
The website started success and the program of access oracle database ran success too.
 [2005-09-26 08:51 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 23:01:30 2024 UTC