| OS type and version | Debian Linux 11 |
| Webmin version | 2.021 |
| Virtualmin version | 7.7pro |
| Related packages | composer require google/apiclient:^2.0 |
I am so lost and i donât want to try to many crazy things but internet keeps leading me to this command âcomposer require google/apiclient:^2.0â and it worked after i put in composer but i still canât call on the API im coding in php and i call on it with ârequire_once âvendor/autoload.phpâ;â but itâs like NOPE
This is not a virtualmin issue but a php issue ⊠your code can not find âvendor/autoload.phpâ are you sure you path to the file is correct ?
if the vendor directory is below the directory you code in it should work, if not you will have to put the full path to the file like
Yip, i tried many many combinations. i think im going to download and just put the entire google api into the public_html folder and call it from there / use / include