cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL/PHP Upgrade Issue?

From: Clay Loveless <lists_at_crawlspace.com>
Date: Thu, 15 Aug 2002 21:48:08 -0700

Chris,

Your ISP probably installed PHP 4.1.2 with 'safe mode' enabled, which may
hinder your ability to run apps via the exec() command.

Here's what safe_mode gets you:
http://www.php.net/manual/en/features.safe-mode.php

To see if they have indeed done this, create a page with the following:

<?php
echo phpinfo();
?>

Look through its output in the "PHP Core" section ... 'safe_mode' will
either say "Off" or "On". If it is on, contact your ISP about how you should
get around this issue.

You may also want to see if they compiled PHP 4.1.2 with curl support ... If
they did, you probably don't need to use exec() anymore.

Hope that helps ...
-Clay

___________________________
Clay Loveless
http://www.crawlspace.com/

> From: Christopher Martin <cmartin_at_dbinteractive.com>
> Date: Thu, 15 Aug 2002 14:52:34 -0400
> To: curl-and-php_at_lists.sourceforge.net
> Subject: cURL/PHP Upgrade Issue?
>
> Hello Gurus,
>
> Our ISP recently upgraded our PHP to 4.1.2 from 4.0.6.
>
> Now our online donations form does not work. No programming has been changed.
>
> Absolutely no errors happen, but when testing, I don't think the exec line
> is ever sent out:
> exec("/usr/local/bin/curl -m 360 -d \"$request\"
> https://xml.surepay.com -L", $return_message_array, $return_number);
>
> The request variable is formed perfectlty, but I receive no information
> back from xml.surepay.com ($return_message_array).
>
> (cUrl was never compiled with 4.0.6, just installed, that is why we are
> using the exec command.)
>
> My strong points are not Linux or Apache or cURL for that matter, so please
> forgive me if I am totally off. My question is, since the upgrade to
> 4.1.2, do we have to reinstall cURL?
>
> Thank you for your time and help.
>
> Chris
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-16