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


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 View Related


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 View Related

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 The code is: <?php phpinfo(); ?> and the folder is: Apachehtdocs.

View 9 Replies View Related

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 View Related


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 View Related

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 View Related

A Little Problem With Phpinfo

I set up apache and php already but page like this


returns to me just a blank one ?

View 2 Replies View Related

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
AddType application/x-php .html Action application/x-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

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 View Related

PHP5 And Phpinfo()

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

View 3 Replies View Related

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 View Related

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 View Related

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 View Related

Function Phpinfo()

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




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 View Related

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"

View 2 Replies View Related

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 View Related

Phpinfo() Not Display Anything?

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


View 4 Replies View Related

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 View Related

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.

Any Others?

View 2 Replies View Related

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
The thing is I've installed PHP on my own home servers for years and never...

View 1 Replies View Related

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 View Related

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 View Related

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 View Related

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 View Related

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.

$ie = new COM("InternetExplorer.Application");
$ie->visible = true;
$phpinfo = ob_get_contents();

View 1 Replies View Related

Mysql Version - Phpinfo()?

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

View 2 Replies View Related


I read the instructions on how to install the LDAP module on a windows machine in the php manual at http::// . All it said was to put the libeay32.dll and ssleay32.dll files in the windows SYSTEMS folder. Either C:WINDOWSSYSTEM or C:WINNTSYSTEM32. The manual did not say anything about installing K5ADM. The rest of the detailed information on that page was for a linux platform. I also took out the ; in the extension=php_ldap.dll line in php.ini.

When I did that I then restarted my web browser and ran a page that only had PHPINFO() in the html. I did not see anywhere on the output page where LDAP or K5ADM shown. Are these modules supposed to show up in a phpinfo page? And if not how do I know they are running?

View 10 Replies View Related

Phpinfo() Values In A Script

How can one read certain values from phpinfo() inside of a PHP script?

View 1 Replies View Related


One of my clients is having database issues, and one of the things I've come across trying to debug is that phpinfo is showing the MySQL client version as 5.0.18 while when I run SELECT VERSION through a mysql_query it shows 4.1.22-max.

Is this normal, is the server possibly misconfigured, or could it be either? I don't think this is related to the problem they're having. I guess I'm just more curious how phpinfo gets the MySQL version since it's different than how I'm doing it with code.

View 1 Replies View Related

_AUTH_USER Not Showing Up In Phpinfo()

I just installed Apache 2 and PHP 5.0.4 on my Windows XP SP2 box, however when I run phpinfo() there is no PHP_AUTH_USER variable appearing on the page. Is there something I have to set on Apache or PHP to make PHP_AUTH_USER variable available?

View 2 Replies View Related

Block The Phpinfo() Function

We have authorized ftp access to our clients apache-php server. Alas our clients administrators has recently decided to block the phpinfo() function. Is there any way to simulate that built-in function. Maybe somebody has the same function written in php.

View 5 Replies View Related

Copyrights 2005-15, All rights reserved