Hi. I'm brand new here. I've spun up my own RHEL 9.4 Server. I've installed all the prereqs and get to the validation page which looks pretty good except it for the complains about correct ownership and CONFIGURATION DIRECTORY IS NOT WRITEABLE. I had this working on Ubuntu. My webserver ID on RHEL is apache, and it owns the directory. Is my issue the validation is looking for www-data as the owner?
Yes, user and group is apache in php-fpm.d/www.conf
Does the www.conf for php-fpm reflect apache
as user and group?
PHP 8.0.30 with php-fpm
On apache2 are you using mod php8,3 or php8.3-fpm? (if not what version of PHP is your RHEL server running)
Also curious if this may work for you: sudo chown -R apache:apache /var/www/
verifyperms.php comes back with positive results:
My webserver is running under the user apache (default for RHEL)
id apache
uid=48(apache) gid=48(apache) groups=48(apache)
https://realgenx.onprem.radiogenx.com/verifyperms.php
The owner-id of your webserver process is: 48
....
Scanning: /var/www/html/realgenx
No permission problems found.
https://realgenx.onprem.radiogenx.com/verifyperms.php?path=../rgx_community_data
The owner-id of your webserver process is: 48
....
Scanning: /var/www/html/rgxcommunitydata
No permission problems found.
I still feel like the validation page is unhappy that the webserver is running under the id apache and not www-data. Wondering if www-data is hardcoded into a config file somewhere?
There's a llttle utility named verifyperms.php which comes bundled with the
System Info component to assist you solving issues like that
Good suggestion OFN but that search didn't return anything. It looks like the process name is httpd and the user is apache. here are a few httpd running as root though.
ps aux | grep httpd
root 49649 0.0 0.3 22096 14996 ? Ss 10:52 0:00 /usr/sbin/httpd -DFOREGROUND
apache 49650 0.0 0.1 23972 7848 ? S 10:52 0:00 /usr/sbin/httpd -DFOREGROUND
apache 49651 0.0 0.3 1573280 14152 ? Sl 10:52 0:02 /usr/sbin/httpd -DFOREGROUND
apache 49652 0.0 0.3 1442144 15832 ? Sl 10:52 0:01 /usr/sbin/httpd -DFOREGROUND
apache 49653 0.0 0.3 1442144 16052 ? Sl 10:52 0:01 /usr/sbin/httpd -DFOREGROUND
apache 49830 0.0 0.3 1442144 15076 ? Sl 10:52 0:01 /usr/sbin/httpd -DFOREGROUND
root 50399 0.0 0.0 221796 2304 pts/0 S+ 17:12 0:00 grep --color=auto httpd
Believe apache2 default user on RHEL is httpd
. What does ps aux | grep apache2
say?
Not used RHEL so not sure. I am not sure what is apache user on RHEL and you have any open base directory issues or not.
Better use Ubuntu
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)