marm Posted August 4, 2007 Share Posted August 4, 2007 I'm on a shared server and they have disabled the php5 hash function. Is there any way to enable it, maybe using php.ini ? Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/ Share on other sites More sharing options...
wildteen88 Posted August 4, 2007 Share Posted August 4, 2007 If its disabled then there will be no way to enable this function. Most shared hosts does not allow custom php.ini settings for each site. Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/#findComment-315484 Share on other sites More sharing options...
marm Posted August 4, 2007 Author Share Posted August 4, 2007 Sorry, I'd like to give more information: it says "disable-hash" in phpinfo() in the "Configure Command" section so there is no way to enable it not even with php.ini ? Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/#findComment-315488 Share on other sites More sharing options...
wildteen88 Posted August 4, 2007 Share Posted August 4, 2007 If its in the Configure Command line then there is no chance of it being enabled. In order to enable it your host will need to re-compile PHP. Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/#findComment-315515 Share on other sites More sharing options...
lightningstrike Posted August 4, 2007 Share Posted August 4, 2007 Perhaps try using an alternate library such as mhash or feyd's sha256 hashing code. Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/#findComment-315519 Share on other sites More sharing options...
Crew-Portal Posted August 4, 2007 Share Posted August 4, 2007 Try <?php ini_set(disable-hash , '1'); ?> Link to comment https://forums.phpfreaks.com/topic/63304-php5-hash-function-disabled/#findComment-315622 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.