-
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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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