Phpmyadmin renders a blank page while test.php and localhost work correctly - SOLVED

Hi, I am Elisabetta. I am not new to linux having used Debian based distro for years but I am new to Manjaro.

I am running latest version of manjaro on an HP laptop.

[ec1977 ec1977]# cat /etc/lsb-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.3.2
DISTRIB_CODENAME=Ruah
DISTRIB_DESCRIPTION="Manjaro Linux"

[ec1977 ec1977]# inxi -v7azy
System:
  Kernel: 5.15.50-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=abd10849-e803-4e20-ac98-ac264f5353bb rw quiet apparmor=1
    security=apparmor resume=UUID=2eed7c12-729a-489b-8dfe-5510ba160d1f
    udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP 250 G6 Notebook PC
    v: Type1ProductConfigId serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: HP model: 84D4 v: 94.22 serial: <filter> UEFI: Insyde v: F.52
    date: 03/04/2019
Battery:
  ID-1: BAT1 charge: 30.2 Wh (100.0%) condition: 30.2/31.1 Wh (97.3%)
    volts: 12.4 min: 10.9 model: COMPAL PABAS0241231 type: Li-ion
    serial: <filter> status: full
Memory:
  RAM: total: 3.67 GiB used: 2.44 GiB (66.5%)
  Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB
    note: est.
  Device-1: Bottom-slot 1(left) type: DDR4 detail: synchronous size: 4 GiB
    speed: 2400 MT/s volts: N/A width (bits): data: 8 total: 8
    manufacturer: Samsung part-no: M471A5244CB0-CTD serial: <filter>
  Device-2: Bottom-slot 2(right) type: no module installed
CPU:
  Info: model: Intel Celeron N4000 socket: U3E1 bits: 64 type: MCP
    arch: Goldmont Plus built: 2017 process: Intel 14nm family: 6
    model-id: 0x7A (122) stepping: 1 microcode: 0x3A
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 112 KiB
    desc: d-2x24 KiB; i-2x32 KiB L2: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1002 high: 1032 min/max: 800/2600 base/boost: 1100/1100
    scaling: driver: intel_cpufreq governor: schedutil volts: 0.7 V
    ext-clock: 100 MHz cores: 1: 1032 2: 973 bogomips: 4378
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_capabilities
    arch_perfmon art bts cat_l2 cdp_l2 clflush clflushopt cmov constant_tsc
    cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts erms est fpu
    fsgsbase fxsr ht ibpb ibrs ibrs_enhanced ida intel_pt lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe
    pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdpid
    rdrand rdseed rdt_a rdtscp rep_good sdbg sep sha_ni smap smep ss ssbd sse
    sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tsc tsc_adjust
    tsc_deadline_timer tsc_known_freq umip vme x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel GeminiLake [UHD Graphics 600] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:3185 class-ID: 0300
  Device-2: Quanta HP Webcam type: USB driver: uvcvideo bus-ID: 1-5:3
    chip-ID: 0408:5220 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: i915 display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15db built: 2015 res: 1366x768
    hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1366x768
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_apl bus-ID: 00:0e.0
    chip-ID: 8086:3198 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.50-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Intel Gemini Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:0c.0 chip-ID: 8086:31dc class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 1000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-9:4 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 9.8 GiB (2.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000LPCX-60VHAT1 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A03 scheme: GPT
  Optical-1: /dev/sr0 vendor: hp model: DVDRW DA8AESH rev: XH6M
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r state: running
Partition:
  ID-1: / raw-size: 457.39 GiB size: 449.14 GiB (98.20%) used: 9.8 GiB (2.2%)
    fs: ext4 block-size: 4096 B dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: abd10849-e803-4e20-ac98-ac264f5353bb
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
    label: NO_LABEL uuid: D2D8-BFF8
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.07 GiB used: 524 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3 label: swap
    uuid: 2eed7c12-729a-489b-8dfe-5510ba160d1f
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 9 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Logitech Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 046d:c077 class-ID: 0301
  Device-2: 1-5:3 info: Quanta HP Webcam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0408:5220
    class-ID: 0e02 serial: <filter>
  Device-3: 1-9:4 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
    type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 8087:0aaa class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 7 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 215 Uptime: 1h 19m wakeups: 1 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1
  Packages: pacman: 1111 lib: 324 flatpak: 0 Shell: Bash (su) v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.19

[ec1977 ec1977]# mhwd-kernel -li
Currently running: 5.15.50-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux515

I installed lamp stack (PHP 7, MariaDB, Apache) and configured everything following guides taken from this very forum.

PHP works, Apache works, Firewall is correctly set to allow http

PHPMyAdmin when visited on a browser gives me a blank page.

This are the contents of the error logs:

Access logs:

127.0.0.1 - - [07/Jul/2022:06:55:02 +0200] "GET / HTTP/1.1" 200 291
127.0.0.1 - - [07/Jul/2022:06:55:02 +0200] "GET /favicon.ico HTTP/1.1" 404 1143
127.0.0.1 - - [07/Jul/2022:06:58:29 +0200] "GET / HTTP/1.1" 200 291
127.0.0.1 - - [07/Jul/2022:07:23:02 +0200] "GET / HTTP/1.1" 200 291
127.0.0.1 - - [07/Jul/2022:07:23:02 +0200] "GET /favicon.ico HTTP/1.1" 404 1154
127.0.0.1 - - [07/Jul/2022:07:23:20 +0200] "GET /test.php HTTP/1.1" 200 71156
127.0.0.1 - - [07/Jul/2022:07:23:34 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 -
127.0.0.1 - - [07/Jul/2022:07:28:16 +0200] "GET /phpmyadmin/%20goes%20to%20blanck%20page%20while%20apache%20and%20php%20are%20correctly%20working%20manjaro HTTP/1.1" 404 1002
127.0.0.1 - - [07/Jul/2022:07:32:36 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 -
127.0.0.1 - - [07/Jul/2022:08:01:21 +0200] "GET / HTTP/1.1" 200 291
127.0.0.1 - - [07/Jul/2022:08:50:34 +0200] "GET / HTTP/1.1" 304 -
127.0.0.1 - - [07/Jul/2022:08:50:42 +0200] "GET /test.php HTTP/1.1" 200 71159
127.0.0.1 - - [07/Jul/2022:09:06:31 +0200] "GET /phpmyadmin/ HTTP/1.1" 200 -
127.0.0.1 - - [07/Jul/2022:09:07:22 +0200] "GET /favicon.ico HTTP/1.1" 404 1176
127.0.0.1 - - [07/Jul/2022:09:07:32 +0200] "GET /test.php HTTP/1.1" 200 71160

Error Log:

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jul 07 06:53:32.299339 2022] [mpm_event:notice] [pid 3376:tid 140685460761536] AH00489: Apache/2.4.54 (Unix) configured -- resuming normal operations
[Thu Jul 07 06:53:32.299467 2022] [core:notice] [pid 3376:tid 140685460761536] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Thu Jul 07 07:07:01.199607 2022] [mpm_event:notice] [pid 3376:tid 140685460761536] AH00491: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jul 07 07:16:31.262554 2022] [mpm_prefork:notice] [pid 5110] AH00163: Apache/2.4.54 (Unix) PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 07 07:16:31.262640 2022] [core:notice] [pid 5110] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Thu Jul 07 07:20:38.022610 2022] [mpm_prefork:notice] [pid 5110] AH00170: caught SIGWINCH, shutting down gracefully
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jul 07 07:21:34.990349 2022] [mpm_prefork:notice] [pid 617] AH00163: Apache/2.4.54 (Unix) PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 07 07:21:34.990428 2022] [core:notice] [pid 617] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Thu Jul 07 07:37:10.001646 2022] [mpm_prefork:notice] [pid 617] AH00169: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jul 07 07:42:44.361322 2022] [mpm_prefork:notice] [pid 3185] AH00163: Apache/2.4.54 (Unix) PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 07 07:42:44.361401 2022] [core:notice] [pid 3185] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Thu Jul 07 07:58:24.594543 2022] [mpm_prefork:notice] [pid 3185] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 07 07:59:11.228297 2022] [mpm_prefork:notice] [pid 609] AH00163: Apache/2.4.54 (Unix) PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 07 07:59:11.233113 2022] [core:notice] [pid 609] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Thu Jul 07 09:07:11.637800 2022] [mpm_prefork:notice] [pid 609] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 07 09:07:11.805810 2022] [mpm_prefork:notice] [pid 3380] AH00163: Apache/2.4.54 (Unix) PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 07 09:07:11.805893 2022] [core:notice] [pid 3380] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'

Note that I also configured a global servername to 127.0.0.1 on port 80 and this seems to make no difference.

What can be causing this issue? How can I understand what parameter got messed up to fix the issue?

Thanks for the kind help!

Elisabetta

I need to add the following:

trying to fix I was able to correct some mistakes in the apache config file, but then I got access denied on phpmyadmin. I tried to start afresh by uninstalling apache and reinstalling it, now the contents of the error log show:

[Thu Jul 07 11:16:45.568697 2022] [mpm_prefork:notice] [pid 3380] AH00169: caught SIGTERM, shutting down
corrupted size vs. prev_size while consolidating

Also now localhost and test.php file are not reachable anymore.

Should I install also php8 and its extensions along with php7 packages?

I was able to resolve all the issues by starting with a fresh manjaro install, and making sure that instructions to install php I followed were relevant to the latest version (PHP8). Do pay attention that some of the tutorials currently available do mix things up about PHP and advise to put the PHP7 settings in apache config while these are not needed anymore.
Also at a certain point manjaro changed the place where some files were stored for phpmyadmin and this requires to follow the correct instructions for the current version, tha takes into account for that change, but again instructions are mixed up among tutorials.

Moreover the allow rules also changed and one needs to pay attention to the extra apache config file that should include the new rules, and not the deprecated ones.

Worth mentioning that I resolved also the issue that my laptop was having (not able to identify localhost IP) by setting listening 127.0.0.1:80 and ServerName 127.0.0.1:80 in the apache config file.

I found all these info in many places, and it was all very confusing to me at first, so i am leaving this info here to help people that like me might have same problems that I had.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.