Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when loading opcache and sockets extensions on Vercel #719

Open
NaideNi opened this issue Oct 1, 2024 · 0 comments
Open

Warnings when loading opcache and sockets extensions on Vercel #719

NaideNi opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NaideNi
Copy link

NaideNi commented Oct 1, 2024

Problem Description

My card was not updating since the first time I placed it, so I decided to deploy on Vercel following the tutorial. I am receiving warnings when loading the opcache and sockets extensions on the Vercel hosting environment, even before editing or creating the php.ini file.

Steps to Reproduce

  1. Deploy the project on Vercel.
  2. Check the logs on Vercel.

Expected Behavior

  • The opcache and sockets extensions should not generate warnings if they are not needed.

Current Behavior

  • Receiving warnings about the opcache and sockets extensions not being found.

Additional Information

Warnings in the Vercel log:

Warning: Failed loading Zend extension 'opcache' (tried: /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/opcache (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/opcache: cannot open shared object file: No such file or directory), /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/opcache.so (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'sockets' (tried: /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/sockets (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/sockets: cannot open shared object file: No such file or directory), /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/sockets.so (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/sockets.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'runkit7' (tried: /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/runkit7 (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/runkit7: cannot open shared object file: No such file or directory), /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/runkit7.so (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/runkit7.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'mongodb' (tried: /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/mongodb (/vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/mongodb: cannot open shared object file: No such file or directory), /vercel/path0/.vercel/builders/node_modules/@libphp/amazon-linux-2-v83/native/php/modules/mongodb.so (libutf8proc.so.1: cannot open shared object file: No such file or directory)) in Unknown on line 0

Error when opening the card link in the browser:

Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/task/user/api/stats.php:234 Stack trace: #0 /var/task/user/api/stats.php(49): getGraphQLCurlHandle('query {\n ...', 'ghp_57mAbttJQGT...') #1 /var/task/user/api/stats.php(126): executeContributionGraphRequests('NaideNi', Array) #2 /var/task/user/api/index.php(38): getContributionGraphs('NaideNi', NULL) #3 {main} thrown in /var/task/user/api/stats.php on line 234

I am using Windows 10, Google Chrome browser, and the browser version is Version 129.0.6668.60 (Official Build) (64-bit).

@NaideNi NaideNi added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant