bigb89 Posted October 1, 2007 Share Posted October 1, 2007 Hi, I've just installed php but after the installation I found that I should had compiled php with zlib enabled. I know that I can recompile php by doing ./configure with the new options but my question is: Is that all have to do in order to recompile php or do I need to change certain settings in php.ini file so that it may work with the options? Thank you for the help! Quote Link to comment https://forums.phpfreaks.com/topic/71394-recompiling-php-with-new-options/ Share on other sites More sharing options...
sKunKbad Posted October 1, 2007 Share Posted October 1, 2007 You might try the installation forum. Quote Link to comment https://forums.phpfreaks.com/topic/71394-recompiling-php-with-new-options/#findComment-359343 Share on other sites More sharing options...
BlueSkyIS Posted October 1, 2007 Share Posted October 1, 2007 or since php.ini doesn't have to be altered to compile, you could simply re-compile and see what happens... Quote Link to comment https://forums.phpfreaks.com/topic/71394-recompiling-php-with-new-options/#findComment-359345 Share on other sites More sharing options...
bigb89 Posted October 1, 2007 Author Share Posted October 1, 2007 I did recompile with zlib enabled but it still shows as if zlib wasn't enabled. Quote Link to comment https://forums.phpfreaks.com/topic/71394-recompiling-php-with-new-options/#findComment-359370 Share on other sites More sharing options...
BlueSkyIS Posted October 1, 2007 Share Posted October 1, 2007 does phpinfo.php show zlib support as disabled? I found some refs to zlib in my php.ini, so perhaps there is a need to activate there. another possibility: did you restart Apache after recompile? (assuming this is web-based) Quote Link to comment https://forums.phpfreaks.com/topic/71394-recompiling-php-with-new-options/#findComment-359378 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.