All Questions
21 questions
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
853
views
How to install PHP obtained from remi's repo and created local repository?
Here is my question, I am trying (forced) to install PHP 8.2 into almalinux 8.6, but in a weird way. The idea is to be able to install it without internet, but with some local repositories which ...
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 ...
0
votes
0
answers
482
views
RHEL 9.1 - SELinux is preventing /usr/local/bin/php from read access on the file /web/inc/init_db.inc.php
i want to solve this problem what SELinux says.
SELinux is preventing /usr/local/bin/php from read access on the file /web/inc/init_db.inc.php.
output from console is:
[root@rhel ~]# ausearch -c 'php'...
4
votes
2
answers
14k
views
sh: which: line 1: syntax error: unexpected end of file; sh: error importing function definition for `which'
We are running: Red Hat Enterprise Linux release 8.5 (Ootpa). We allow the server to update weekly using "yum -y update". We recently began receiving the following errors when executing ...
1
vote
1
answer
1k
views
Selinux: type=anom_abend for php-fpm, Error 502 while accessing the application
Hi I am using nginx server which is hosting a web application in RHEL OS with selinux in enforcing mode.
On accessing the application I am getting the 502 bad gateway error and on checking the audit ...
2
votes
1
answer
4k
views
SELinux is preventing /usr/sbin/php-fpm from lock access on the file cert9.db
I have an selinux alert for the file /var/cache/nginx/.pki/nssdb/cert9.db., but I don't know what label I should give to it. The selinux report suggests hundreds of labels, but which is the correct ...
1
vote
0
answers
45
views
unable to install phpmyadmin in RHEL 6
I am using red hat 6.0 Linux.Currently php 5.3.2 is installed.I want to install phpMyAdmin in it.for that php5.5 is required.
I already installed epel ,remi repository in my system.
I am trying to ...
0
votes
2
answers
2k
views
RHEL7 & PHP: File is not uploading (even into /tmp/)
After few days, since I asked this question:
LINK
I realized, that maybe it's another problem.
I used package inotifywait to check, is a temporary file generating after sending html form. ...
1
vote
2
answers
6k
views
PHP move_uploaded_file permission denied only on RHEL
my PHP script is using to register new user with his photo.
On Debian, everything was fine, but when I installed on my server RHEL, problems has begun.
Directory /tmp/ rights are 777 and "upload/&...
1
vote
1
answer
117
views
HTTPD server not starting after disabling these modules mod_include, mod_info, mod_autoindex and mod_userdir
As per this article "4. Disable Unnecessary Modules"
Ref: http://www.tecmint.com/apache-security-tips/
It’s always good to minor the chances of being a victim of any web attack. So it’s recommended ...
11
votes
2
answers
23k
views
SELinux is preventing NGINX from writing via PHP-FPM
I'm using a server to write into a NFS type mount-point via NGINX using php-fpm. At the very first step, it shows me the following error:
2017/01/16 11:32:59 [error] 55463#0: *22 FastCGI sent in ...
1
vote
1
answer
892
views
Zabbix web install Redhat conflicts php
I am trying to install Zabbix on redhat 7 64bit. The zabbix server installed successfully with command yum install zabbix-server-mysql
But I am getting conflicts with php70u with php56u when I tried ...
0
votes
3
answers
483
views
Does it matter if I'm root or not when installing apache?
I need to install a LAMP stack on a RHEL 6.7 server. Do I have to be root to install this or not?
0
votes
1
answer
1k
views
How do I use php-fpm on RHEL 7.2?
I've already asked this on Stack Overflow but received no response, so I'm trying my luck here.
I'm new to configuring Apache and I'm trying to optimize my Apache server. Reading through the ...