Category : apache

I use WampServer for running some PHP scripts. However when I run a long-processing script (say http://localhost/first.php), and then I try to open a completely independent script (http://localhost/second.php), it will not open until the first script finishes its long-running operation. I’ve tried setting "max concurrent clients" to 8 in httpd, and session.autostart disabled in php.ini ..

Read more

I have docker-compose.yml which looks like this. version: "3.6" services: php: build: ‘./php/’ ports: – 9000:9000 networks: – backend volumes: – .puppet_projectspnamepname:/var/www/html/pname apache_pname: build: ‘./apache/’ depends_on: – php ports: – "80:80" networks: – frontend – backend volumes: – .puppet_projectspnamepname:/var/www/html/pname networks: frontend: backend: And when I am starting docker-compose up project works properly but after changing ..

Read more

I managed to install mongoDB with php8.0 on an apache2 server but I’m unable to it.<?php phpinfo(); ?> shows me that mongoDB 1.9.1 is enabled and everything should be working but when I use $mongo = new MongoDBDriverManager("mongodb://127.0.0.1:27017"); I’ll get the following error: PHP Fatal error: Uncaught Error: Call to undefined method MongoDBDriverManager::selectDB() in / ..

Read more