Logos not showing in phpinfo()

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
Hi.

A little problem: when i call phpinfo(), the PHP logo and other logos (Zend...) are not showing.

I'm using Stable tier, mod_security and CSF/LFD.

Any help ?
Thanks.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is anything else not working besides the logos?

Does the account have its own php.ini file under suPHP? Compare the php.ini file to the global one if that's the case:

Code:
diff /usr/local/lib/php.ini /home/username/public_html/php.ini
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is anything displaying in the Apache or account-level error log?

Code:
tail -fn0 /usr/local/apache/logs/error_log
tail -fn0 /home/username/public_html/error_log
Please replace username with the cPanel username. Use the same path as the phpinfo page you are trying to load (again, only if there's an account level error log in that folder, though).

Thanks!
 

Astral God

Well-Known Member
Sep 27, 2010
180
0
66
127.0.0.1
cPanel Access Level
Root Administrator
It seems tha mod_security is blocking this:

ModSecurity: Access denied with code 403 (phase 2). Pattern match "php(?:e9568f3[456]-d428-11d2-a769-00aa001acf42|b8b5f2a0-3c92-11d3-a3a9-4c7b08c10000)" at REQUEST_URI. [file "/usr/local/apache/conf/modsec/99_asl_jitp.conf"] [line "66"] [id "380800"] [rev "1"] [msg "Atomicorp.com UNSUPPORTED DELAYED Rules - Virtual Just In Time Patch: PHP Version Probe"] [data "phpe9568f34-d428-11d2-a769-00aa001acf42"] [severity "CRITICAL"] [hostname "www.example.com"] [uri "/data/index.php"] [unique_id "UBWjKaSKGUgAADvLLvYAAAAD"]
Also check https://www.atomicorp.com/forums/viewtopic.php?f=3&t=5057

Solved disabling this rule, and it is safe to do, that if expose_php is set to Off (see PHP Easter Egg )