ucla/mwf — Issue #13: PHP warnings for CURLOPT_CONNECTTIMEOUT_MS
Author: jkreuzig
Created: 2011-11-02 18:36:04+00:00
State: open

We are getting the following warning(s) in our Apache error_log:

```
[Wed Nov 02 11:14:02 2011] [error] [client 128.200.134.61] PHP Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT_MS - assumed 'CURLOPT_CONNECTTIMEOUT_MS' in /home/uci_test/public_html/uci/mwf-1.2.05/root/assets/lib/path.class.php on line 94, referer: http://uci-test.cwis.uci.edu/mobile/
[Wed Nov 02 11:14:02 2011] [error] [client 128.200.134.61] PHP Warning: curl_setopt() expects parameter 2 to be long, string given in /home/uci_test/public_html/uci/mwf-1.2.05/root/assets/lib/path.class.php on line 94, referer: http://uci-test.cwis.uci.edu/mobile/
```

The PHP documentation indicates that **CURLOPT_CONNECTTIMEOUT_MS** is "Added in cURL 7.16.2. Available since PHP 5.2.3".

We are running PHP 5.3.3 and cURL 7.15.5, so we will need to update cURL, but it would be good to know if this warning is going to cause any real issues.

Looking at the framework documentation, we noticed that the list of required packages doesn't include any sort of version requirements for required packages. Any chance that the documentation be updated to include minimum requirements for packages?

Jim Kreuziger