phpinfo

Is there an equivalent to phpinfo() in ASP.NET?

I've looped over the Request.ServerVariables collection in ASP.NET, but it's not as comprehensive as phpinfo(). Anyone aware of a script for ASP.NET that includes all that info, including server software, drivers, etc.? ...

What is the name of your system with PHP_OS constant

I use PHP_OS constant and I want to know what it can return on differents OS. I found this : On Linux -> Linux On FreeDSB -> FreeBSD On Windows NT -> WINNT On Mac Os X -> Darwin Can anyone tell me what they get with them configurations ? On Solaris, Windows XP... ...

What does stdout in display_errors in phpinfo() mean?

I have 'stdout' under display_errors in my phpinfo. What does it mean? Where can I find the documentation about it? I could not find one in http://php.net/ I read here telling that it should be off for the security reasons. Thanks in advance. ...

phpInfo: What does "Virtual Server" refer to?

I noticed that in phpinfo under "apache2handler", it says: Virtual Server Yes What does that refer to? Does that mean that apache is on a virtual (i.e. not dedicated) host? What would be a case when it would say: Virtual Server No ? Thanks for any help with this. ...

How to use get_cfg_var() in a cakePHP app ?

I have a cakePHP app with my DB servers configured in the app/config/ database.php file. However, I need to use the get_cfg_var ('mysql.default_host') to get the host name because the client does not want the name hardcoded. I would appreciate a quick response regarding where the changes need to be made. Thanks ...

How to get phpinfo() variables from php programatically?

Hello, I am attempting to get a list of dependable(consistent across requests) list of "hidden" constants in PHP(as in, the client-side won't know about it in most cases without hacking). Some of the things I am interested in is the following: ./configure options. I would also like the very first System value in phpinfo. The loaded...

Where does phpinfo() get its info?

If you run a phpinfo(); does it show exactly what is in the php.ini or if settings are changed on the fly via php with methods like ini_set() or via .htaccess will they be shown in phpinfo? ...

phpinfo showing on pages without being called

Some pages are showing the phpinfo() output (in HTML so not php -i) even though there is no call to phpinfo() in that page. The pages include a number of files, but i have grep'd the whole directory from base but cannot find any instance of phpinfo() or "phpinfo" etc. I've also looked at all "shell", "exec" and "eval" that could gener...

Python Equivalent to phpinfo()

Quite simply, is there a python equivalent to php's phpinfo();? If so, what is it and how do I use it (a link to a reference page would work great). ...

How do I know which include path will be used in PHP?

When I run phpinfo() and look by the Configuration category under PHP Core, I see a directive titled include_path, with a local value and a master value. In this case, my local value is set to .: ./include: ../include: /usr/share/php: /usr/share/php/smarty: /usr/share/pear and my master value is set to .: /usr/share/php: /usr/shar...

how to run and install phpize

Hi there, I have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to phpize it. I installed php5-dev by sudo apt-get install php5-dev But now when I run phpize I get the following error : phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source di...

How to make php_info working on apache + fastcgi?

the same with title~ Thank you very much. ...

PHP ini_get() and php.ini are not in sync

My php.ini has a memory_limit of 256M. phpinfo() reflects this. But from within PHP, ini_get('memory_limit'); returns 32M. My fatal errors for exceeding memory limit also say that the max is 32M. Any ideas why phpinfo() is lying to me? ...

memory_limit=80M. what is the maximum image size for imagecreateformjpeg() ?

i have a webhosting that gives maximum memory_limit of 80M (i.e. ini_set("memory_limit","80M");). I'm using photo upload that uses the function imagecreatefromjpeg(); When i upload large images it gives the error "Fatal error: Allowed memory size of 83886080 bytes exhausted" What maximum size (in bytes) for the image i can restrict to th...

phpinfo server config for sending and recieving email data

the server needs to be able to connect to remote locations such as paypal for sending and receiving email data. here is my phpinfo file. can anyone see what needs to change? http://www.dailyjocks.tv/phpinfo.php Heres and example of what needs to happen. Once the user goes through the paypal payment. the user should receive an email wi...

PHP configuration to enable sessions

Hi, On our development server, sessions handling works fine. On our production server, it doesnt. phpinfo on the development server shows: session Session Support enabled Registered save handlers files user mm sqlite Registered serializer handlers php php_binary wddx phpinfo on the produ...

phpinfo() mod_rewrite

I'm attempting to perform some url rewriting, and after looking at the phpinfo file, I can't see any mention of this.. My host is FastHosts. Should I be looking for something else in the phpinfo() or should I assume that mod_rewrite is simply disabled? ...

gzip not work for me

hi guys, i define in my apache the settings for gzip, this is my phpinfo for gzip: zip Zip enabled Extension Version $Id: php_zip.c 293036 2010-01-03 09:23:27Z sebastian $ Zip version 1.8.11 Libzip version 0.9.0 zlib ZLib Support enabled Stream Wrapper support compress.zlib:// Stream Filter support zlib.inflate, zlib.d...

Mail Not Sending from My Server

I am having issues sending mail from my server, when I type in phpinfo() I get this: Mail: /var/spool/mail/frank ... _ENV["MAIL"]: /var/spool/mail/frank The php file that I'm using the Mail function in is owned by Apache and has 775 permissions. Inside /var/spool/mail there is no apache file, but there is a file for every oth...