Error when browsing phpinfo.php warning : phpinfo() has been disabled for security reasons

You have added phpinfo in the disabled functions in your php.ini

Ssh to your server and open your php.ini in your favorite editor.
php -i |grep php.ini will give you the actual php.ini

open the file and search for disable_function. There you will be able to see phpinfo. Remove it and restart webserver.
 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Restricting FTP user from climbing back to /home

1) Edit vsftpd.conf 2) unhash chroot_local_user=YES

Uploaded files of FTP shows 600 instead of 644

vi /etc/vsftpd.con localumask=022 /etc/init.d/vsftpd restart

FTP not connecting giving errors in CentOS

1) Check if selinux is disabled # getenforce If it shows enforcing, then selinux is restricting...

Dig command is not working

Use this command to install dig command. # apt-get install dnsutils

Qmail is giving error messge 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

If you receive message 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) it...