Comments (7)
Add swoole.use_shortname=Off
to your php.ini
file. It will make Swoole skip the go()
function creation.
from php.
Hi @dadambickford. Thank you for issue. That's really strange error, but I got it you need to disable some php extension.
I think there is now way how to disable already enabled extension, right? I need to think about it and introduce some logic to build phase, how to comment-out particular extension.
Something like:
{
"build": {
"env" : {
"VERCEL_PHP_DISABLE_EXTENSIONS": "swoole",
# maybe in conjunction
"VERCEL_PHP_ENABLE_EXTENSIONS": "json curl ..."
}
}
}
from php.
I'm admittedly very amateur when it comes to PHP, so I can't say for sure. We did read about a PHP_MODULES_DISABLE
environment variable but passing that with the swoole
value did not do what we hoped. The php.ini override we attempted was just setting extensions to an empty string, but yeah that didn't disable it.
I think a config option would be a clean solution, and if we eventually get this sorted out I'd love to submit a working Kirby boilerplate to the examples repo.
from php.
Hi there @f3l1x, wanted to touch base on this again and see if you've had any time to think about it.
from php.
Hi @dadambickford. Unfortunately no, I tried to enjoy Christmas time. :-) I've released new v0.4.0
with PHP 8.0. Could you please test it? If so, this will be my next issue.
from php.
No worries! Hope you had a good holiday. I will give that a test and let you know.
from php.
@leocavalcante It works for me. Can you confirm it @dadambickford ?
from php.
Related Issues (20)
- could not find driver `pgsql` HOT 3
- Unable to load dynamic library 'mongodb' and 'swoole' when deploying HOT 5
- Error: Exited with 4, Something wrong with the build process, Error: Command "vercel build" exited with 1 HOT 3
- Fatal errors not reported in vercel logs HOT 4
- mongodb module missing in 0.7.0 HOT 1
- Change / Appoint php version HOT 4
- Vercel 0.7.0 + Laravel 10 HOT 2
- the example can't run,what happened? HOT 4
- PHP Built-In Server HTTP error: Error: connect ECONNREFUSED 127.0.0.1:8000 HOT 22
- Can we support php trader
- Can we increase the **max_execution_time** and **post_max_size** here? HOT 2
- Mongo DB is not loaded and returns Class "MongoDB\Driver\Manager" not found
- error: The following Serverless Functions contain an invalid "runtime" when deploying
- Wrong Instruction in README
- Error when deploy it to Vercel "No such file or directory" HOT 5
- php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory HOT 1
- Unable to use Sentry
- Auto-deploy production: Vite manifest not found at: /var/task/user/public/build/manifest.json
- Wordpress generate static website
- error shared libraries: libssl.so
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php.