|
I would like to use Sentry on a php5.3 application (stuck there for a while, until i finish porting the code to PHP8+). I get this error message:
Line 8 and 9: require '../vendor/autoload.php';
\Sentry\init(array('dsn' => 'https://xxxx.ingest.sentry.io/xxxxx' ));Here is my composer.json {
"require": {
"sentry/sentry": "^1.0"
},
"config": {
"platform": {
"php": "5.3"
}
}
}Does this mean Sentry cannot be run on php5.3? |
Answered by
Jean85
Apr 20, 2022
Replies: 1 comment 1 reply
|
Sentry 1.x works with PHP 5.3. Your mistake is using the docs, which refers to the 3.x series, which is profoundly different. You can look around in the 1.x branch, and in the readme there to start over: https://github.com/getsentry/sentry-php/tree/1.x#usage |
1 reply
Answer selected by
stayallive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sentry 1.x works with PHP 5.3. Your mistake is using the docs, which refers to the 3.x series, which is profoundly different.
You can look around in the 1.x branch, and in the readme there to start over: https://github.com/getsentry/sentry-php/tree/1.x#usage