file_get_contents external URL

Discussion in 'PHP' started by valera, Apr 17, 2008.

  1. valera

    valera New Member

    Hi, few months ago I got file_get_contents to work for external URLs by enabling allow_url_fopen when I've had LS 3.2.4.

    Now with LS 3.3.10 file_get_contents does not work for external URLs. I still have the same PHP settings and version. Has some new LS setting been introduced that is blocking file_get_contents of external URLs?
  2. mistwang

    mistwang LiteSpeed Staff

    have you upgrade PHP as well? LSWS won't affect a PHP internal function.
  3. valera

    valera New Member

    No, I haven't upgraded PHP or any other software, or changed php.ini, that's why I'm wondering. If it's not connected with LSWS upgrade in any way, I'll keep looking...
  4. mistwang

    mistwang LiteSpeed Staff

    Mabye you need to raise the Memory/Process limits for the lsphp external application. The earlier version does not really enforce those limits.

Share This Page