Questions tagged [phpinfo]
14 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?
![](../../users/profiles/54725.webp)
siliconpi
- 1,707
- 6
- 30
- 45
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…
![](../../users/profiles/54725.webp)
siliconpi
- 1,707
- 6
- 30
- 45
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
![](../../users/profiles/251562.webp)
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…
![](../../users/profiles/85585.webp)
Lord Loh.
- 1,049
- 3
- 15
- 24
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?
![](../../users/profiles/54725.webp)
siliconpi
- 1,707
- 6
- 30
- 45
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:…
![](../../users/profiles/71813.webp)
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…
![](../../users/profiles/67237.webp)
andandandand
- 111
- 4
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…
![](../../users/profiles/499346.webp)
Mike
- 143
- 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 =>…
![](../../users/profiles/449670.webp)
venu Bondugula
- 11
- 2
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…
![](../../users/profiles/306223.webp)
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…
![](../../users/profiles/18459.webp)
rtacconi
- 735
- 3
- 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…
![](../../users/profiles/54725.webp)
siliconpi
- 1,707
- 6
- 30
- 45
-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…
![](../../users/profiles/109515.webp)
Spacedust
- 558
- 5
- 12
- 28