Phpinfo.php


Nov 28, 2005

i have 'restart' my apache, then go to the browser and e "http://localhost/phpinfo.php", and it shows a blank page.

View 4 Replies


ADVERTISEMENT

Php.ini And Phpinfo()

I've been through the manual and searched this site, and still haven't found the answer to my question. If it has been covered, I'd appreciate knowing where.

My situation: I'm using PHP on a linux box, all of which was set up by my ISP. PHP works. File uploading doesn't. After the file is uploaded from the HTML page, on the PHP page, $userfile=="none" is true. It sure looks like a file uploaded, based on the monitor.

More info: when I look at phpinfo(), it says that upload_max_filesize is 2M. However, I have changed the php.ini file to be 100M. It still says 2M. I restarted httpd services and refreshed my browser. It still says 2M. My ISP (although the name is a misnomer, as their service isn't the greatest) states that the number won't update, as these are the settings when the 'file was compiled.'

So I guess my questions are two-fold: can anyone tell me based on info I've given why I'm having a problem uploading? And two: Doesn't phpinfo() look at the current environment?

View 3 Replies

Phpinfo

I just uploaded phpinfo to a server but all I got back was the php code. Does this mean php isn't installed or could the function be disabled?

View 1 Replies

No Phpinfo()

I've just installed Apache 2.2.4, MySQL 5.0.45, and PHP 5.2.3 on a WinXP platform for the first time. Apache is running all services, MySQL service is running, php5apache2_2.dll is loaded under Apache. I get no output at all after loading http://localhost/phpinfo.php from my browser (Firefox 2.0.0.7). The code is: <?php phpinfo(); ?> and the folder is: Apachehtdocs.

View 9 Replies

Phpinfo.php '404

The software came with a starter guide. The instructions for installing are very simple to follow. I have moved dll file to the correct location etc. I have added the addmodule line and addtype application line to the httpd.conf file. I then created a php file with the <?php phpinfo(); ?> and typed http://localhost/phpinfo.php into the browser but the file was not found. If I type http://localhost/ , then the apache default page shows but not the phpo file.

View 9 Replies

Phpinfo()

I need to find out the IP address of my web server, which I believe is under a name-based virtual host. I used phpinfo() to check what the IP address is, but then I thought since my website is stored in a name-based virtual host, which a couple of host names can have the same IP address. So that wouldn't be the correct way to go for, right? Is there a way I can find out the correct IP address.

View 1 Replies

Getting Phpinfo To Come Up On Any Page

Isn't there a variable you can put in the url to make the phpinfo page showup on the current page your viewing?

View 1 Replies

A Little Problem With Phpinfo

I set up apache and php already but page like this

<?php
phpinfo();
?>

returns to me just a blank one ?

View 2 Replies

Does The Phpinfo() Command Ever Lie?

I wanted to use the AddType directive in an .htaccess file. So I used
phpinfo() to get the path info for PHP. I found this line:

PATH /bin:/usr/bin

So I tried this, but it did not work:

AddType application/x-php .htm Action application/x-php
/bin:/usr/bin/php
AddType application/x-php .html Action application/x-php
/bin:/usr/bin/php

I also tried this:

AddType application/x-php .htm Action application/x-php /usr/bin/php
AddType application/x-php .html Action application/x-php /usr/bin/php

I also tried this:

AddType application/x-php .htm Action application/x-php /bin:/usr/bin/
AddType application/x-php .html Action application/x-php
/bin:/usr/bin/

I tried a few other variations as well. Nothing.

Then I went looking for a file called "php".

I looked in /bin/ but it wasn't there.

I looked in /usr/bin/, but it wasn't there.

Does it go by another name? Why isn't it where PATH said it would be?

View 4 Replies

PHP5 And Phpinfo()

Is there something in PHP5 that turns off phpinfo()?

View 3 Replies

Phpinfo() Not Working In IE

I have a very strange problem. My site has pages that are generated by browsing directories on my computer. If these directories have too many files, IE will attempt to load the page and then give me a page cannot be displayed error. This also happens if I try to echo the phpinfo() function.

Netscape can display the pages but I noticed that sometimes, the source output will have unreadable characters in it. It seems completely random, as in if I reload the page the unreadable characters move or don't show up at all. I think it might be a problem with my server. I am running Apache on a Windows XP Pro platform.

View 4 Replies

How To Customize Phpinfo

I'm going to compile php5 on a linux server.
I would add some comments in my phpinfo(), like "Compiled by foo tuesday
15th july"
Is it possible to do this, and how ?

View 1 Replies

PHPInfo - The Application

Does anyone have a URL for it? Naturally Google returns a lot of pages
which are about the actual function.

View 5 Replies

Function Phpinfo()

I'm trying to load a page with the following php code :

<?php

phpinfo();

?>

and when I go to the page - nothing displays. What could be the problem? Also I've noticed that the following will display information:

$_SERVER[PHP_INFO] without quoting the index yet

$_SERVER['PHP_INFO'] will result in the array printing as $_SERVER['PHP_INFO']

View 13 Replies

Php.ini File And Phpinfo()

I'm wondering why, after fixing the path in php.ini and removing the from infront of the extension=php_mysql.dll the "Additional Modules" on the page returned by phpinfo() doesn't show anything. I can communicate with MySql via PHP okay, just wondering about the "Additional Modules"
thing...

View 2 Replies

GD Is Not Showing In Phpinfo?

My php version is php4.4.0 and GD is not showing in phpinfo even i installed gd extension.

View 2 Replies

Phpinfo() Not Display Anything?

When i execute the file phpinfo.php with contents as below,

Code:
<html>
<body>
[code]....

View 4 Replies

Disable Phpinfo On 4.3.9 Possible?

I'm an aix sysadmin who is filling in for our linux/apache/php expert solving some security issues that popped up after an audit.After having sought for a few hours with google and on forums i will ask a question here.I have an apache webserver running with php version 4.3.9.Is it possible to disable the phpinfo function for this version?In php.ini I have tried two different directives to disable it:

safe_mode = on
disable_functions = phpinfo

After stopping and starting the httpd daemon both directives give me the same result, a test still provides me with phpinfo

View 6 Replies

Deciphering Phpinfo.php (esp. XML Elements)

My question is what does this show my version of PHP supports ? Most Tutorials say... " and now we will use SAX to parse "... I don't want to go through a lengthy tutorial to discover I can't use my new found knowledge.

Sax?
DOM?
Sablotron?
Expat?
Any Others?

View 2 Replies

Php.ini Listed In Phpinfo Questions

I was trying to follow some instructions on installing Smarty and suddenly
found php.ini is not where phpinfo lists it to be.
1. Is /usr/local/lib the default location for the php.ini
2. In old versions of PHP, did php.ini install by default and not have to be
copied?
The thing is I've installed PHP on my own home servers for years and never...

View 1 Replies

Phpinfo() - Wrong System Name

I built an Apache 1.3.26 binary with PHP 4.2.1 support for AIX. When I used this binary on another system, it worked great, the only thing that bothered me is when I created a test page using the phpinfo() function, the "System" field has the hostname of the machine I created the binary on.

View 2 Replies

No Mysql When Running Phpinfo.PHP?

I am a newbie and was just getting started working on a guestbook
tutorial when I got an error message upon running my PHP code:

Fatal error: Call to undefined function mysql_connect() in C:Program
FilesApache GroupApache2htdocsadd.php on line 6

So I searched the web for hours trying stuff to no avail. I think
something needs to be copied/pasted from a directory to another or
something needs to be enabled in php.INI. But what?

When I run localhost/phpinfo.PHP there is no mention of Mysql, I know
it should be in there.

I am running Windows XP pro/Apache server/PHP 5/Mysql.
Mysql works fine at the prompt, I create, delete tables and databases
at will.

One more point I do have the libMySQL.dll in C:WINDOWSSYSTEM32.

View 10 Replies

Phpinfo() - Configuration File Php.ini

I am running Php5.0 on Windows XP. When I run phpinfo script it tells
me that the configuration file php.ini is located in C:Windows. This
seems odd as I have put the PATH to php as D:php where the php.ini
file is located.

Does anyone know how I can fix it so that the php.ini file comes up as
being in the D:php folder not C:Windows?

I am asking this question as I would like to get php5 and Mysql working
but they are not.

View 10 Replies

Phpinfo() - Strange Results...

When I run phpinfo, it diaplays the same thing regardless of changes I make
to php.ini. For instance, php.ini shows register globals on max upload
filesize of 16M. etc, etc. But phpinfo always shows register globals off and
max file upload size of 2M. Any idea what is going on?

View 6 Replies

Formatting Of Phpinfo() With HTML Under CLI PHP

In the code below, invoked with CLI PHP, it would make good sense to
have phpinfo() include HTML tags with its output. Is there any way to
effect this? My attempt using ini_set("html_errors", "1"); did not
make any difference.

<?php
$ie = new COM("InternetExplorer.Application");
$ie->Navigate("about:blank");
$ie->visible = true;
ob_start();
phpinfo();
$phpinfo = ob_get_contents();
ob_end_clean();
$ie->Document->Write($phpinfo);
?>

View 1 Replies

Mysql Version - Phpinfo()?

Is there a script I could run to find out this info? Something kind of like phpinfo()?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved