etrader Posted June 16, 2011 Share Posted June 16, 2011 I just installed php 5.3.6 on Centos 5.5; everything is fine but simplexml_load_file and file_get_contents do not work (even if loading local files). cURL works perfectly. Quote Link to comment https://forums.phpfreaks.com/topic/239525-problem-with-simplexml_load_file-in-php-536/ Share on other sites More sharing options...
trq Posted June 16, 2011 Share Posted June 16, 2011 We need more descriptive details 'do not work' does not cut it. Quote Link to comment https://forums.phpfreaks.com/topic/239525-problem-with-simplexml_load_file-in-php-536/#findComment-1230427 Share on other sites More sharing options...
etrader Posted June 16, 2011 Author Share Posted June 16, 2011 Thanks for your kind attention thorpe. I just figure it out. I am based in Nginx + php-fpm. I just needed to change Unix user/group of processes from apache to nginx. I do not know how this only affected simplexml_load_file, but it was simply resolved by this trick Quote Link to comment https://forums.phpfreaks.com/topic/239525-problem-with-simplexml_load_file-in-php-536/#findComment-1230460 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.