Hallo,
I have changed apache to run as local user, changing in the file
Code:
/etc/httpd/conf/httpd.conf
the entries:
The following address:
http://localhost/phpmyadmin/
Kept giving me the error:
Code:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly
I fixed it by changing all the directories belonging to phpMyAdmin and the directories that belonged to the apache user or group into the user or group I have chosen for apache to run as.
These directories, namely are:
Code:
/var/lib/php/session
/var/lib/phpMyAdmin
/usr/share/phpMyAdmin
/etc/phpMyAdmin
The following command can surely help along with its possible variations:
Code:
find / -type d -group apache
which revealed the following directories:
Code:
/run/httpd
/var/cache/mod_proxy
/var/lib/dav
This solution seems to be poor, compared to more profound programming and security proof techniques such as creating a virtual host in apache, but for my local server this "local" solution, seems to be working adequately until I find time to dedicate for a more intuitive approach.
The reason I posted it, is that I could not find any close/relevant hints when I googled the problem.
Kind regards,
tntrush