Questions tagged [phpinfo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

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: <?php echo getenv("http_proxy"); ...
peter's user avatar
  • 123
0 votes
1 answer
512 views

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 ...
Mike's user avatar
  • 143
0 votes
1 answer
1k views

SSL Version and Open SSL version are different in ubuntu 14.04 with php version 5.6 [closed]

I see the different versions on running this terminal echo '<?php phpinfo(); ?>' | php 2>&1 |grep -i ssl Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv2, tls, ...
venu Bondugula's user avatar
1 vote
0 answers
81 views

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 ...
fnllc's user avatar
  • 131
0 votes
1 answer
195 views

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 ...
Paul Fernihough's user avatar
-1 votes
1 answer
527 views

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 ...
Spacedust's user avatar
  • 568
1 vote
1 answer
974 views

Browser does not render phpinfo()

I have a php file at http://lohray.com/info1.php that is just - <?php phpinfo(); ?> The page does not render on my browsers (I have tried chrome and firefox), however, wget fetches all the ...
Lord Loh.'s user avatar
  • 1,079
1 vote
2 answers
249 views

Statistics about php setups / What extensions are installed by default [closed]

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. ...
siliconpi's user avatar
  • 1,817
1 vote
1 answer
5k views

sqlsrv not showing up in my phpinfo [closed]

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 ...
sirg45's user avatar
  • 21
0 votes
1 answer
575 views

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=...
rtacconi's user avatar
  • 745
1 vote
0 answers
347 views

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 ...
user avatar
11 votes
1 answer
7k views

Security risks of having public phpinfo() page?

I have a publicly accessible page which just has <?php phpinfo(); > 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's user avatar
  • 1,817
2 votes
1 answer
863 views

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!...
siliconpi's user avatar
  • 1,817
0 votes
1 answer
2k views

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 ...
siliconpi's user avatar
  • 1,817
1 vote
1 answer
2k views

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 ...
andandandand's user avatar