question about phpinfo()

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bundy
Forum Newbie
Posts: 15
Joined: Mon Jun 04, 2007 7:04 pm

question about phpinfo()

Post 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
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: question about phpinfo()

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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?
bundy
Forum Newbie
Posts: 15
Joined: Mon Jun 04, 2007 7:04 pm

Post 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...
Post Reply