Script stopped working

Status
Not open for further replies.

yopaapps

New Member
Messages
3
Reaction score
0
Points
1
I have a script that has stopped working. The scripts work at other host providers. I asked at the support site for the software and they suggested asking if PHP has been upgraded recently with the curl function disabled?
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
PHP was indeed update in the last few weeks, however as far as i know the available functions should not have changed at all, what was available in the old version should still be available (as well as what was disabled should still be disabled).

By following instructions in the thread: http://community.x10hosting.com/threads/changing-php-versions.189018/ you can downgrade the php version your account uses, do note though that this is not a recommended path in the long run but allows for a fast solution to the problem for now.
 

yopaapps

New Member
Messages
3
Reaction score
0
Points
1
PHP was indeed update in the last few weeks, however as far as i know the available functions should not have changed at all, what was available in the old version should still be available (as well as what was disabled should still be disabled).

Further support from the Buzztouch community points to a problem with Curl. Has this been turned off or changed?
 
Last edited:

ace_case

Member
Messages
217
Reaction score
11
Points
18
After a quick check, I found that cURL should be enabled.
To make sure, that I did it right, I'll post what I used.
Code:
echo var_dump(curl_version());
The output I got is:
Code:
array(9) { ["version_number"]=> int(464896) ["age"]=> int(3) ["features"]=> int(34333) ["ssl_version_number"]=> int(0) ["version"]=> string(6) "7.24.0" ["host"]=> string(24) "x86_64-unknown-linux-gnu" ["ssl_version"]=> string(13) "OpenSSL/1.0.0" ["libz_version"]=> string(5) "1.2.3" ["protocols"]=> array(16) { [0]=> string(4) "dict" [1]=> string(4) "file" [2]=> string(3) "ftp" [3]=> string(4) "ftps" [4]=> string(6) "gopher" [5]=> string(4) "http" [6]=> string(5) "https" [7]=> string(4) "imap" [8]=> string(5) "imaps" [9]=> string(4) "pop3" [10]=> string(5) "pop3s" [11]=> string(4) "rtsp" [12]=> string(4) "smtp" [13]=> string(5) "smtps" [14]=> string(6) "telnet" [15]=> string(4) "tftp" } }
 
Status
Not open for further replies.
Top