Page 1 of 1

question about phpinfo()

Posted: Mon Aug 13, 2007 7:25 pm
by bundy
Hello

I have been trying to setup php to include https and tried all possibilities but nothing works. I wondering what does this two line mean from the phpinfo

Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files\PHP\php.ini

I found php.ini under php folder but not inside the windows folder. Can anyone help me what the first line do if there isn't a configruation file under windows folder?

Things I have done... remove the extension from php_openssl.dll line and compile it using this command : php --with-openssl .

Is there other things need to do in order to work

Re: question about phpinfo()

Posted: Mon Aug 13, 2007 8:25 pm
by superdezign
bundy wrote:Can anyone help me what the first line do if there isn't a configruation file under windows folder?
... It tells you which one is loaded, which is the one that is being used.

Posted: Tue Aug 14, 2007 5:52 am
by volka
Configuration File prints the compile-time/built-in location where php looks for the ini file if anything else fails.
Loaded Configuration File tells you which php.ini was actually used.

Code: Select all

Things I have done... remove the extension from php_openssl.dll line and compile it using this command : php --with-openssl .
That's not compiling php but calling php with the parameter --with-openssl (which has no meaning to it). see http://de2.php.net/install.windows.building
Why do you want to recompile php instead of using the openssl extension dll?

Posted: Tue Aug 14, 2007 6:23 pm
by bundy
volka wrote:Configuration File prints the compile-time/built-in location where php looks for the ini file if anything else fails.
Loaded Configuration File tells you which php.ini was actually used.

Code: Select all

Things I have done... remove the extension from php_openssl.dll line and compile it using this command : php --with-openssl .
That's not compiling php but calling php with the parameter --with-openssl (which has no meaning to it). see http://de2.php.net/install.windows.building
Why do you want to recompile php instead of using the openssl extension dll?
I am not really sure, I found all sort of sources but none of them can tell me how to setup php that can handle https socket as well...