zohab Posted February 25, 2010 Share Posted February 25, 2010 Hi, I want to enable extension=php_openssl.dll in php.ini but i do not have access to server. I do not have access to php.ini file My application is hosted on shared web hosting. How can i do this? Link to comment https://forums.phpfreaks.com/topic/193312-enable-extensionphp_openssldll-using-php-code/ Share on other sites More sharing options...
trq Posted February 25, 2010 Share Posted February 25, 2010 If the extension exists you could try dl. Link to comment https://forums.phpfreaks.com/topic/193312-enable-extensionphp_openssldll-using-php-code/#findComment-1017860 Share on other sites More sharing options...
nilansanjaya Posted February 25, 2010 Share Posted February 25, 2010 dont know much about that.... but jst try this if(is_readable("mysql.so")){ dl("mysql.so"); } Link to comment https://forums.phpfreaks.com/topic/193312-enable-extensionphp_openssldll-using-php-code/#findComment-1017861 Share on other sites More sharing options...
trq Posted February 25, 2010 Share Posted February 25, 2010 dont know much about that.... but jst try this if(is_readable("mysql.so")){ dl("mysql.so"); } That won't work because is_readable() will look for mysql.so within the current directory. Your *.so (or *.dll on windows) files need to be within the configured extension directory. Link to comment https://forums.phpfreaks.com/topic/193312-enable-extensionphp_openssldll-using-php-code/#findComment-1017863 Share on other sites More sharing options...
nilansanjaya Posted February 25, 2010 Share Posted February 25, 2010 dont know much about that.... but jst try this if(is_readable("mysql.so")){ dl("mysql.so"); } That won't work because is_readable() will look for mysql.so within the current directory. Your *.so (or *.dll on windows) files need to be within the configured extension directory. ahh...thanks ! im not yet familiar with php extension stuff much Link to comment https://forums.phpfreaks.com/topic/193312-enable-extensionphp_openssldll-using-php-code/#findComment-1017878 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.