mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #128] PHP Fatal error: require(): Failed opening required 'phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar/../../../vendor/autoload.php' (include_path='phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar:.:/usr/share/php') in phar:///home/drco… #91
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RCoeurjoly on GitHub (Jan 29, 2022).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/128
There are 2 issues with the same topic, but those solutions did not work for me.
Steps to reproduce.
On a fresh clone.
./buildcd dist./dbdiff.phar@xanarry commented on GitHub (Mar 28, 2022):
same problem, have you figure it out?
@astrobatty commented on GitHub (May 24, 2024):
You should run
php composer.phar installin the directory where yourdbdiff.pharis located. Also make sure that you have the full path to thecomposer.pharfile. If you followed the official composer documentation, you probably moved thecomposer.pharto/usr/local/bin/composer. In this case you should runphp /usr/local/bin/composer install.[GH-ISSUE #128] PHP Fatal error: require(): Failed opening required 'phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar/../../../vendor/autoload.php' (include_path='phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar:.:/usr/share/php') in phar:///home/drco…to [GH-ISSUE #128] PHP Fatal error: require(): Failed opening required 'phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar/../../../vendor/autoload.php' (include_path='phar:///home/drcoeurjoly/DBDiff/dist/dbdiff.phar:.:/usr/share/php') in phar:///home/drco…