Questions tagged [phpinfo]
15 questions
11
votes
1 answer
Security risks of having public phpinfo() page?
I have a publicly accessible page which just has
I use it for debugging purposes while we're in beta, but is there any harm in leaving it accessible when its a live site?

siliconpi
- 1,807
- 6
- 32
- 46
2
votes
1 answer
Cannot seem to disable SELINUX / phpinfo() shows: SELINUX_INIT YES
Does this mean that selinux is currently enabled on my system?
In /etc/sysconfig/selinux, I set:
SELINUX=disabled
AND then rebooted the server, but still in phpinfo() the same thing is showing up!
How do I disable it permanently?
(Nothing against…

siliconpi
- 1,807
- 6
- 32
- 46
1
vote
0 answers
Edit apache environment path in OS X 10.10 Server
My phpinfo displays that the Environment Path for Apache is:
/usr/bin:/bin:/usr/sbin:/sbin
I would like to add:
/opt/local/bin/
I'm using OS X 10.10 Server with the Website functionality of the Server.app

fnllc
- 131
- 3
1
vote
1 answer
Browser does not render phpinfo()
I have a php file at http://lohray.com/info1.php that is just -
The page does not render on my browsers (I have tried chrome and firefox), however, wget fetches all the HTML. What might be going wrong? My apache / php are…

Lord Loh.
- 1,089
- 3
- 16
- 25
1
vote
2 answers
Statistics about php setups / What extensions are installed by default
I'm trying to get some statistics about how most PHP sites are configured, specifically what extensions are installed on them.
I'm particularly interested in knowing if Mcrypt is installed or not.
Anyone know of any sites collating such information?

siliconpi
- 1,807
- 6
- 32
- 46
1
vote
1 answer
sqlsrv not showing up in my phpinfo
I have just installed php 5.3 on windows server 2008 R2 running IIS7.
phpinfo() is working fine.
now I want to see if I have correctly installed the Microsoft Drivers for PHP for SQL Server.
I downloaded from here:…

sirg45
- 21
- 1
- 3
1
vote
0 answers
PHP giving 500 internal server error on new server
I am trying to run a simple PHP script which displays phpinfo() but I am getting 500 internal server error. What could be the reason? Is it because PHP handler is set to suPHP and I shall change it to DSO or CGI?
Thanks
Ali
1
vote
1 answer
PHP 5 windows install problem: http://localhost/info.php
I downloaded the php-5.3.3-Win32-VC6-x86.msi file from php's download page. I have a working apache2 server running. On the setup window I selected the apache 2.2.x Module and on the Apache Configuration directory I selected the conf file.
The…

andandandand
- 111
- 4
1
vote
1 answer
Why environment variable set by SetEnv in apache httpd.conf cannot be passed to php?
I set an environment variable in httpd.conf:
SetEnv http_proxy "http://localhost:3128"
But I cannot get this variable in php using getenv:

peter
- 93
- 13
0
votes
1 answer
phpinfo shows difference between Local and Master Values of default_charset
Here us there is a difference in the local default_charset than the master's. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is changing that value?
My server details are: PHP…

Mike
- 143
- 1
- 1
- 3
0
votes
1 answer
SSL Version and Open SSL version are different in ubuntu 14.04 with php version 5.6
I see the different versions on running this terminal
echo '' | php 2>&1 |grep -i ssl
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
SSL => Yes
SSL Version =>…

venu Bondugula
- 11
- 3
0
votes
1 answer
phpinfo showing HTTP_ALLOWCOOKIES set to NO - how to change?
We have a dev and live server that were seemingly built identically. However the live server phpinfo() page shows the following in the "Apache Environment" section
HTTP_ALLOWCOOKIES NO
Don't see this line in the Dev environment.
Live environment…

Paul Fernihough
- 11
- 1
0
votes
1 answer
Install APC on Solaris
I Apache and PHP 5.3 installed from Blastware. I run
pecl install apc
and everything went ok. apc.so is in the extension library. I declared the extension in php.ini and enabled it with 'apc.enabled=1'.
Apc it is still not loaded, not showing in…

rtacconi
- 745
- 4
- 14
- 28
0
votes
1 answer
phpinfo() does not show MySQL section
This is linked to Installing PHP with MySQL support?
My phpinfo() does not show a MySQL section as a separate 'heading', but several .ini files are referenced and I can access it from the command line.
I did:
yum install php-mysql
which completed…

siliconpi
- 1,807
- 6
- 32
- 46
-1
votes
1 answer
MariaDB 10.0.4 different mysqlclient reported
I use MariaDB-server 10.0.4 on my CentOS 6.4 64-bit server.
PHPMyAdmin shows: libmysql - 10.0.4-MariaDB
While phpinfo shows: Client API version 5.3.12-MariaDB
Why I got two versions ? How to change Client API version to 10.0.4 ?
I got…

Spacedust
- 568
- 5
- 13
- 28