Subject | Re: R: [firebird-php] Php interbase extension not working |
---|---|
Author | Sakhile Njoko |
Post date | 2012-05-14T10:43:48Z |
I have even gone further back now to 5.2.17 and am getting exactly the same challenges as in 5.3.13, where Apache starts fine and records no error yet Interbase extension is not loaded. When I change again to 5.3.8 Apache fails to start because it can't load php_interbase.dll. In case you are wondering I have engaged someone else to ensure that when I change versions the correct php_interbase.dll is copied, "extension=php_interbase.dll" is uncommented, and that Apache gets restarted after each change. Moreover, phpinfo() always reflects the correct php.ini even if it in "C:\Windows" or in "C:\Program Files\PHP".
I suspect this has to do with Windows Server 2003 but do not have enough technical know-how to be sure. I'm saying this because I have never had a problem setting up Php & Firebird on any Windows version. I admit that I could be completely wrong.
Sakhi
________________________________
From: Sakhile Njoko <sakhinjoko@...>
To: "firebird-php@yahoogroups.com" <firebird-php@yahoogroups.com>
Sent: Monday, 14 May 2012, 12:18
Subject: Re: R: [firebird-php] Php interbase extension not working
I have gone back to Php-5.3.8 and at least something is happening now, though still bad news. Apache fails to load php_interbase.dll and displays error "The requested operation has failed". I have made sure to put the correct version of php_interbase.dll. I have to uncomment "extension=php_interbase.dll" for the Apache to start. Any assistance?
________________________________
From: Wahyu Wijanarko <wahyu@...>
To: firebird-php@yahoogroups.com
Sent: Sunday, 13 May 2012, 12:00
Subject: Re: R: [firebird-php] Php interbase extension not working
So you get the php.ini location at "C:\Program Files\PHP" by searching
Windows? If yes, that's may not relects the right location.
Access your phpinfo() and find this text and paste here:
"Configuration File (php.ini) Path" mine in Windows is "C:\Windows"
"Loaded Configuration File" mine in Windows is
"D:\wamp\bin\apache\Apache2.2.21\bin\php.ini"
When Apache find php.ini and not find the file, PHP will use their default
configuration in system without load it and there will be no error.
So, if you get "Configuration File (php.ini) Path" is "C:\Windows", copy
your php. ini to "C:\Windows", restart Apache, and see what happen.
--
Wahyu Wijanarko
http://wahyu.com
http://twitter.com/wahyubumi
I suspect this has to do with Windows Server 2003 but do not have enough technical know-how to be sure. I'm saying this because I have never had a problem setting up Php & Firebird on any Windows version. I admit that I could be completely wrong.
Sakhi
________________________________
From: Sakhile Njoko <sakhinjoko@...>
To: "firebird-php@yahoogroups.com" <firebird-php@yahoogroups.com>
Sent: Monday, 14 May 2012, 12:18
Subject: Re: R: [firebird-php] Php interbase extension not working
I have gone back to Php-5.3.8 and at least something is happening now, though still bad news. Apache fails to load php_interbase.dll and displays error "The requested operation has failed". I have made sure to put the correct version of php_interbase.dll. I have to uncomment "extension=php_interbase.dll" for the Apache to start. Any assistance?
________________________________
From: Wahyu Wijanarko <wahyu@...>
To: firebird-php@yahoogroups.com
Sent: Sunday, 13 May 2012, 12:00
Subject: Re: R: [firebird-php] Php interbase extension not working
So you get the php.ini location at "C:\Program Files\PHP" by searching
Windows? If yes, that's may not relects the right location.
Access your phpinfo() and find this text and paste here:
"Configuration File (php.ini) Path" mine in Windows is "C:\Windows"
"Loaded Configuration File" mine in Windows is
"D:\wamp\bin\apache\Apache2.2.21\bin\php.ini"
When Apache find php.ini and not find the file, PHP will use their default
configuration in system without load it and there will be no error.
So, if you get "Configuration File (php.ini) Path" is "C:\Windows", copy
your php. ini to "C:\Windows", restart Apache, and see what happen.
--
Wahyu Wijanarko
http://wahyu.com
http://twitter.com/wahyubumi
On Sun, May 13, 2012 at 6:50 PM, Sakhile Njoko <sakhinjoko@...>wrote:
> **
>
>
> There is no other php.ini file anywhere in the system.
> Yes Apache runs but it doesn't reflect the error in the error log file.
> Yes everytime I make a change I restart Apache.
>
>
> Sakhi
>
> ________________________________
> From: Wahyu Wijanarko <wahyu@...>
> To: firebird-php@yahoogroups.com
> Sent: Sunday, 13 May 2012, 11:38
>
> Subject: Re: R: [firebird-php] Php interbase extension not working
>
>
> Question:
> 1. Did you already restart the Apache?
> 2. If (1) is yes, AFAIK, apache will still run even interbase.dll not
> found and then log the error in error_log
> 3. If (1) is yes, maybe that's wrong php.ini
>
> --
> Wahyu Wijanarko
> http://wahyu.com
>
> Powered by Telkomsel BlackBerry®
>
> -----Original Message-----
> From: Sakhile Njoko <sakhinjoko@...>
> Sender: firebird-php@yahoogroups.com
> Date: Sun, 13 May 2012 10:27:24
> To: firebird-php@yahoogroups.com<firebird-php@yahoogroups.com>
> Reply-To: firebird-php@yahoogroups.com
> Subject: Re: R: [firebird-php] Php interbase extension not working
>
> I got excited too soon. Something is really odd here.
>
> 1) Phpinfo reflects the correct php.ini in "C:\Program Files\PHP" and that
> the extensions directory is "C:\Program Files\PHP\ext"
> (and php_interbase.dll is in it).
> 2) I have even put "C:\Program Files\PHP" and "C:\Program Files\PHP\ext"
> in the Environment Variables (to check if it helps).
> 3) I have searched the whole machine and there is no other php.ini
> anywhere.
> 4) When I intentionally misspell a file (in php.ini) like
> "extension=php_interbse.dll" Apache should reflect that it could not load
> that file (because it doesn't exist) but it reflects no such error.
>
> I think point 4 is what needs to be addressed. Why is Apache not raising
> the error when it is using the php.ini that has the error?
>
> One more thing that might help (though I'm not sure why it would be an
> issue) is that I am managing this server remotely using (Microsoft Remote
> Desktop Connection) and logging in as an Administrator.
>
> Sakhi
>
>
>
> ________________________________
> From: Lester Caine <lester@...>
> To: firebird-php@yahoogroups.com
> Sent: Saturday, 12 May 2012, 21:46
> Subject: Re: R: [firebird-php] Php interbase extension not working
>
>
> ----- Original message -----
> > Phpinfo now reflects the correct php.ini in "C:\Program Files\PHP" and
> > 'extension_dir = "C:\Program Files\PHP\ext"' is uncommented in php.ini.
> > "C:\Program Files\PHP" is also included in the Windows Path (Environment
> > Variables). Apache does not show that there is a problem recognising /
> > loading php_interbase.dll. Doing the exact setup on another server
> > (64-bit) works smoothly. It is just this Windows Server 2003 (32-bit)
> > that is a huge problem for me. For the record, Php works fine but it is
> > firebird functions that are not working, meaning php_interbase.dll
> > doesn't load but Apache doesn't reflect any error when it starts. Sakhi
>
> And php_interbase.dll IS uncommented as well?
> I've moved most of customers to Linux nowadays so don't do windows much
> now ;)
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]