Subject Re: R: [firebird-php] Php interbase extension not working
Author Wahyu Wijanarko
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]