Bug 1260798

Summary: lack of php dependency for phpMyAdmin.noarch
Product: [Fedora] Fedora EPEL Reporter: Jan Tymiński <tymikk>
Component: phpMyAdminAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: epel7CC: redhat-bugzilla, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-08 22:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1215429    
Bug Blocks:    
Attachments:
Description Flags
curl result when php installed none

Description Jan Tymiński 2015-09-07 21:01:00 UTC
Created attachment 1071130 [details]
curl result when php installed

Description of problem:
phpMyAdmin.noarch has no php package set as a dependency, so php doesn't get installed with phpMyAdmin if wasn't installed before, and therefore leads to permission denied problem when trying to access it.


Version-Release number of selected component (if applicable):
Name        : phpMyAdmin
Arch        : noarch
Version     : 4.4.13.1
Release     : 1.el7

How reproducible:
on fresh installation of centos7, where no php is yet installed, just install phpMyAdmin and try to access it.

Steps to Reproduce:
1. get fresh centos7 installation (minimal)
2. yum install -y phpMyAdmin.noarch httpd
3. service httpd start
4. curl localhost/phpmyadmin/
5. see default httpd configuration to make sure there is valid configuration for accessing from localhost

Actual results:
# curl localhost/phpmyadmin/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /phpmyadmin/
on this server.</p>
</body></html>


Expected results:
see attachment

Additional info:

Comment 1 Robert Scheck 2015-09-07 21:12:39 UTC
I am sorry, but this is intented - until bug #1215429 is fixed in RHEL. The
background is, that phpMyAdmin requires either php or php-fpm - but currently
they do not share a common provide for RPM packages. Now that mod_php gets
less attractive since php-fpm exists, I do not want to force users to install
mod_php (especially as php-fpm is used with other web servers than httpd).

Comment 2 Troy Dawson 2024-07-08 22:19:58 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.