Wuhtzu Posted December 13, 2006 Share Posted December 13, 2006 HeyDoes anyone know excactly what the "Configure Command" section contains in the phpinfo() output. Is it the "options" which the php install was compiled with or what the php.ini file contains?It's because my current webhost hasn't enabled the exif extensions and I was wondering if they needed to compile their php all over again or if there is a chance that their php was compiled with "--enable-exif" and they just need to enable it in php.ini.[code]The Configure Command section from phpinfo():'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU''--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-spl' '--with-regex=php' '--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd6.0'[/code]I hope you guys know what I mean.ThanksWuhtzu Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/ Share on other sites More sharing options...
wildteen88 Posted December 13, 2006 Share Posted December 13, 2006 yes the configuration command is what was used when PHP was compiled from source. If you want to use the exif extension then your host will need to recompile PHP with the [b]--enable-exif[/b] command option Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-140548 Share on other sites More sharing options...
Wuhtzu Posted December 13, 2006 Author Share Posted December 13, 2006 Thanks wildteen88 -> but that totally sucks, there is no chance that a public host will ever recompile just to enable more options. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-140607 Share on other sites More sharing options...
Wuhtzu Posted December 13, 2006 Author Share Posted December 13, 2006 But if thats the case, that "configure command" is what was used when php was compiled, why does the "Exif Functions - Manual" state that:"[i][u]To enable exif-support configure PHP with --enable-exif[/u]Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.[/i]"http://no.php.net/manual/en/ref.exif.phpThat sounds like PHP can be compiled with --enable-exif and then still turn it on / off in the php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-140621 Share on other sites More sharing options...
trq Posted December 14, 2006 Share Posted December 14, 2006 [quote]That sounds like PHP can be compiled with --enable-exif and then still turn it on / off in the php.ini.[/quote]Thats because it can. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-140880 Share on other sites More sharing options...
Wuhtzu Posted December 14, 2006 Author Share Posted December 14, 2006 So even though the configure command doesn't show the "--enable-exif" there is still a chance that php was compiled with "--enable-exif" and it has just not been enabled in the php.ini? Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-141109 Share on other sites More sharing options...
wildteen88 Posted December 14, 2006 Share Posted December 14, 2006 [quote author=Wuhtzu link=topic=118478.msg484292#msg484292 date=1166042163]That sounds like PHP can be compiled with --enable-exif and then still turn it on / off in the php.ini.[/quote]No thats not true.If your host was using a Windows server then you can just add/uncomment php_exif.dll to the php.ini and thats it. However your host is using a linux server (freeBSD). So inorder for the exif library to be enabled PHP willl need to recompiled and the exif library will be available. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-141279 Share on other sites More sharing options...
Wuhtzu Posted December 15, 2006 Author Share Posted December 15, 2006 Okay, thanks guys - I understand now. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-141682 Share on other sites More sharing options...
ayanex10 Posted December 29, 2006 Share Posted December 29, 2006 Hello guys.I also have the same problem. I need to use php Curl Extension and my host deosn't have Curl extension compiled with php. But I really need this Curl. isn't there a way to get around this.[b]Is it necessary to re-compile php before one can use an extension. I think there should be a way to dynamically load extensions in php. [/b] Please I need anyone who can telll me how to get CURL working on my host.Please I need help. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-149480 Share on other sites More sharing options...
wildteen88 Posted December 29, 2006 Share Posted December 29, 2006 The only way is to recompile PHP if you want to use an extension that is not already been enabled (non windows boxes only). Ask your host and see if they can add cURL for you. Quote Link to comment https://forums.phpfreaks.com/topic/30515-what-is-configure-command-in-the-phpinfo-output/#findComment-149528 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.