All Questions
Tagged with php apache-httpd
217 questions
0
votes
0
answers
33
views
Apache configuration to host both PHP and Python backend together not working for special Alias requirement
I am working on a web application in Ubuntu.
I have a PHP backend that I want to host in "http://localhost/myapp/".
All the application files are in the "/var/www/html/myapp/website/...
0
votes
0
answers
42
views
Can't run php page in RedHat satellite
i'm using RedHat satellite 6.15 in RHEL 8. We want to add some php web page like dokuwiki/racktable there. But i have problem that if i install php and put php files in /var/www/html/pub/ directory, I ...
0
votes
1
answer
309
views
AH00141: Could not initialize random number generator
I tried to upgrade my debian system from buster to bullseye and messed up everything. I cant start apache2 and proftpd. When I do apachectl configtest I get the following error message:
(38)Function ...
0
votes
1
answer
46
views
Switch PHP versions in the console, Ubuntu
Trying to switch PHP versions at the shell in Ubuntu:
I'd like to switch from version 8.1 to 8.3. I complete the steps above and restart apache but my server remains using version 8.1?
Am I missing ...
1
vote
1
answer
399
views
Apache/PHP gets stuck although there are enough resources
The server has a 4C/8T CPU and 32GB RAM. OS: Debian 12. Apache/PHP becomes unresponsive after ~500MB usage. I tried PHP8.2 and PHP8.1, but the result is the same. If I restart PHP, Apache starts ...
2
votes
1
answer
194
views
apache mpm_prefork limited to 306 connections, yet server limit set to 1000, AH00159 Unable to fork new process
Running Virualmin, still got about 1GB free mem
apache log is full of:
[mpm_prefork:error] [pid 119747] (11)Resource temporarily unavailable: AH00159: fork: Unable to fork new process
<IfModule ...
1
vote
1
answer
69
views
How to determine why Apache won't restart?
I just installed a new cert on a RHEL 8 server. I updated the conf files and restarted Apache.
Apache is failing but I can't figure out why. How do I determine what's causing the problem?
Here's what ...
4
votes
1
answer
148
views
Can't enable error messages for PHP on my web server
I'm trying to disable error messages for PHP on my Apache2 web server, but it's not working.
I have enabled it in the php.ini file.
error_reporting = E_ALL
I deliberately introduced errors in my test....
2
votes
1
answer
991
views
How to understand which libapache2-mod-php am I using now?
Listing packages
# apt list libapache2-mod-php*
Listing... Done
libapache2-mod-php5/trusty-updates,trusty-security,now 5.5.9+dfsg-1ubuntu4.29 amd64 [installed,automatic]
libapache2-mod-php5.6/now 5.6....
0
votes
1
answer
208
views
apache, php-fpm and mod_fcgid - unable to write to file
I have install apache, php-fpm and mod_fcgid, and trying to write to file.
I have created PHP pools, here's the config files:
[test.internal.innovisage.com]
...
user = test
group = test
...
listen....
2
votes
1
answer
2k
views
php_value settings in .htaccess
I am in the process of migrating an Apache WordPress site from CentOS7 to AlmaLinux9.
I installed standard LAMP stuff on the AlamLinux9 system, and restored the MySQL and copied over the html ...
0
votes
2
answers
148
views
Where is this php directive being overriden
The error message AH01071: Got error 'PHP message: PHP Warning: POST Content-Length of 17826104 bytes exceeds the limit of 8388608 bytes in Unknown is normally fixed by changing the pair of related ...
0
votes
0
answers
80
views
Giving www-data access to i2c
I have a light sensor that uses I2C for data transmision. Now I want to display that data on a Website.
The problem is www-data can't access I2C. I use a Python script that gets run by PHP (I know it'...
0
votes
1
answer
249
views
PHP code cannot be executed
My php code doesn't work, the code is displayed in the browser instead of being executed, the apache is going up normally, the info.php doesn't work either, any idea what to do or install I'm using ...
0
votes
1
answer
1k
views
Server is slow even though there are enough resources
I'm running about 450 simple webistes using Wordpress Multisite on a VPS with Debian 10.
Here are some data about the resources:
root@hr711523385:~# free -mh
total used ...