All Questions
10
questions
0
votes
1
answer
102
views
PHP Fatal Error: Cannot open /dev/urandom: No such file or directory when calling session_start() with manually built PHP
Problem
I built PHP8.4 manually in Ubuntu 14.04 since the OS is out of support with no ppa package available. I tested for phpinfo() web page showed correct information while adding session_start() at ...
1
vote
1
answer
122
views
Find what paths are required for open_basedir?
We have a server (running PHP-FPM 7.4 on Apache) that hosts various scripts, frameworks and applications like DokuWiki. It's grown to a pretty complex beast. We would like to apply an open_basedir ...
0
votes
1
answer
128
views
Apache not serving local hosts
I have set up an Apache Server on an a VMWare hosted Linux Mint 21 Server, I have followed the instructions at this blog to run multiple PHP versions (7.4 and 8.1).
Apache is running fine and serving ...
0
votes
2
answers
692
views
After setting up Apache it's not serving PHP files, but showing the contents of the files instead
The error I got is in this url:
url in browser:
http://localhost/
error in browser:
https://justpaste.it/d82bd
What am I missing here?
I copied the file ipconfig.php (given below) from ipconfig.php....
0
votes
0
answers
645
views
Handling simultaneous requests in Apache 2 and php-fpm
We have a Debian 10 server with Apache2 and PHP-FPM installed.
The problem is that when I try to process multiple requests simultaneously from one client, server doesn't handle it correctly.
For ...
0
votes
1
answer
1k
views
Use multiple PHP-FPM versions using FastCGI on same Debian/Apache server
I would like to use multiple PHP-FPM versions using FastCGI on same Debian/Apache server.
Using:
Debian v9.12,
Apache v2.4.25,
php5.6-fpm,
php7.4-fpm,
libapache2-mod-fcgid v1:2.3.9-1+b1,
libapache2-...
1
vote
1
answer
8k
views
NOTICE: Not enabling PHP 7.3 FPM by default on Apache2 but PHP-FPM is running productive
My Debian Buster server annoyes me on each upgrade with the following notice:
$ sudo apt upgrade
...
NOTICE: Not enabling PHP 7.3 FPM by default.
NOTICE: To enable PHP 7.3 FPM in Apache2 do:
NOTICE: ...
2
votes
0
answers
6k
views
503 Service Unavailable error after PHP 7.3 was installed and PHP 7.0 removed
I have a forum that was originally running on Ubuntu 16.04.x LTS with PHP 7.0 and apache2. Recently I installed PHP 7.3 and updated the apache configuration. The system is also upgraded to Ubuntu 18....
1
vote
3
answers
2k
views
PHP is stopping a web-based script after 60 seconds
I'm working in a Bitnami installation of Apache2 and PHP (5.6) and we have trouble with a script that's taking longer than 60 seconds to complete.
This script in question is failing after 60 seconds, ...
1
vote
1
answer
558
views
Apache 2.4 + PHP-FPM + Dynamic ProxyPassMatch
Expect result:
If I go to http://foo.local/index.php, file /var/www/html/foo/index.php will be executed.
It will be similar if I go to http://bar.local/index.php, /var/www/html/bar/index.php will be ...