Quantcast
Channel: User A.L - Stack Overflow
Browsing index pages (173 articles)

`docker-php-ext-install opcache` works with PHP 8.4 but not PHP 8.5 [closed]

I can build an image with this Dockerfile that is based on a lightweight Docker image that use Alpine:FROM php:8.4.15-cli-alpineRUN docker-php-ext-install opcacheBut I can’t build an image after...

View Article


Answer by A.L for How can I change my Dependabot config to exclude major...

I have a Docker file which starts with:FROM php:8.3.22-cli-alpineDependabot wanted to upgrade it to PHP 8.4, I wanted to keep PHP 8.3.By combining this syntax from this answer from Lucien Davison and...

View Article


Answer by A.L for PHPUnit tests get awfully slow when all tests are run at once

Comments mention I/O performance. You can increase it by storing the database in memory instead of a storage (SSD):services: database: image: mariadb:10 # … tmpfs: - /var/lib/mysqlOn my computer, tests...

View Article

Comment by A.L on PHP - change background color to transparent

Why is imagecolorallocate() commented? Can it be removed for clarity?

View Article

Comment by A.L on Cannot mount docker compose volume in Gitea action

Is the /app suffix necessary? It looks like it can be skipped instead of being added everywhere.

View Article


Comment by A.L on Gitea Actions: Service Container does not Start

I’m not sure about your issue but it looks like the ports: section should be removed, otherwise it can cause conflicts with ports on the host or another server, for example with a test matrix it will...

View Article

Comment by A.L on How can I make the Symfony Scheduler re-evaluate recurring...

Did you try with something like --time-limit=30? It should restart every 30 seconds.

View Article

Comment by A.L on Ubuntu issues with mouse scroll wheel slipping

Welcome. Please check what is on topic on this website. It may be on topic on askubuntu.com or unix.stackexchange.com

View Article


Comment by A.L on Why is my 3D object texture rendering distorted?

Welcome to Stack Overlow. The same image was uploaded twice, should we see 2 different images?

View Article


Comment by A.L on 502 error with NGINX and Cloudflare - 2 servers

@AtlasCreed Did you check the link shared by Ivan Shatsky?

View Article

Comment by A.L on PHP - substr and date. Why dos if sentence reacte outside...

Why 06:50? This is not in the original question (which is lacking details though).

View Article

Comment by A.L on Why does PHP setlocale not seem to accept a BCP 47 script...

How do you import Locale? I can’t run this bug because it is missing: 3v4l.org/4DkNT Update: actually it works on PHP < 8.5. What PHP version do you use?

View Article

Comment by A.L on CSS Lists in a specific format

@smallpepperz “akslödf” has the wrong number.

View Article


Comment by A.L on CSS Lists in a specific format

Try to put the <ul> in <li> as on developer.mozilla.org/docs/Web/HTML/Reference/Elements/ul It may fix the issue with the number for “jaklösdf”.

View Article

Answer by A.L for Show several markers on a map with Symfony UX Map

It looks like the input data looks like this:{% set signalements = [ {'structure': {'latitude': 50, 'longitude': 1, 'nom': 'ACME'}}, {'structure': {'latitude': 51, 'longitude': 2, 'nom': 'Symfony'}}]...

View Article


Comment by A.L on How to refactor doctrine property names while...

About DQL, you can configure the name of the column: doctrine-project.org/projects/doctrine-orm/en/3.3/reference/‌​… Doctrine will map the properties to the column so they can be different.

View Article

Answer by A.L for Invalid request method DELETE using fetch

I had the same issue when trying to send a DELETE request to my pi.hole. I was able to use fetch() for POST queries but it never worked with DELETE queries.I used XMLHttpRequest instead:const http =...

View Article


Comment by A.L on Using php how to get rendered HTML from another php file

If you split your code, you can have one function that generate the list (e.g. a PHP array), and other functions that format this list as you want. Then call these functions in your meta tag and on...

View Article

Comment by A.L on Behat thinks that steps are missing in the FeatureContext

To my knowledge, Behat understand the presence or lack of quotes, at least it worked when I used annotations instead of attributes.

View Article

Comment by A.L on Behat thinks that steps are missing in the FeatureContext

Is it different if you add some code in productWithPrice()? Maybe Behat reject empty steps.

View Article
Browsing index pages (173 articles)


Latest Images