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

Upload_max_filesize Set To 4M In Phpinfo(), Can't Change It?

I've got this in my php.ini upload_max_filesize = 25M post_max_size = 25M and I've got this in my .htaccess php_value upload_max_filesize 26214400 php_value post_max_size 26214400

as shorthand can only be used in the php.ini [URL]...

but no matter what I do, when i call phpinfo() I get

Directive Local Value Master Value
upload_max_filesize 4M 25M

I've looked at all other php.ini files, my .htaccess, ini_set(). Anything I could think of and nothing will change it from 4M. Any help would be great! EDIT: restarting apache didn't work, i've check my httpd.conf, it seems like an external file or something. any other places to check?

View 4 Replies View Related

Is There A ColdFusion Equivalent Of Phpinfo()

Is there a ColdFusion equivalent of phpinfo()? I don't know much about ColdFusion except that our university servers support it. I basically just want to know what version we are running.

View 3 Replies View Related

Pdo_mysql Versus Phpinfo

I am running PHP and Apache on Leopard (the base install that comes with Leopard) and I need pdo_mysql support. I have followed the directions at [URL] and when I do a php -m from the command line, I see that PDO, and pdo_mysql are listed, but when I check phpinfo(); I do not see pdo_mysql.

View 2 Replies View Related

Memcached Not Showing Up In Phpinfo()

I've installed libmemcached and memcached pecl extension for php and for some reason it's not installing correctly? i've got in /usr/lib64/php/ with the right permissions and in /usr/local/lib/

Everything seemed to build correctly without error, and I restarted apache?

i also have the daemon installed.

I somehow easily got the Memcache class easily installed for php before, but I realized what i wanted was the Memcached (note the d) class. let me know if more info is needed!

EDIT: I previously had memcache (without the d) working in php so I know i was manipulating the correct php.ini!

EDIT 2: there WAS indeed an apache error!

Unable to load dynamic library '/usr/lib64/php/modules/' - /usr/lib64/php/modules/ undefined symbol: php_json_encode in Unknown on line 0

View 1 Replies View Related

Xdebug Not Showing Up In Phpinfo()

I am trying to get the following to setup work:

Windows 7 - 64-bit
XAMPP 1.7.4
XDebug [php_xdebug-2.1.0-5.3-vc9-x86_64.dll]

When I run phpinfo() from Xampps homepage, XDebug it is not listed anywhere. I checked the Apache error logs and there are no errors, so it seems to load the module without problem? I haven't used PHP in years so I have no clue why this isn't working.


zend_extension_ts = "C:xamppphpextphp_xdebug-2.1.0-5.3-vc9-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000

View 2 Replies View Related

Finding Pdf Capability Using Phpinfo ()

i am going to be tackling creating pdf files using php on the fly... php would get information from the database and then create a pdf copy of the relevant info gathered. Now, first things first, i need to check if my php installation can accomplish the task. someone told me to use phpinfo () function to see if pdf library is loaded but i dont know what i am looking for. im using php 5.2.

View 1 Replies View Related

Use Phpinfo() On Hosting Provider?

i use an domain and host that i rent from a web hosting company , i want to know about setting computer's computer'sphp and mysql on the server , i use a small script as follow as


by testing this file on my local server i get correct result but by upload this file on the server i saw only a blank page

View 3 Replies View Related

Phpinfo Page Is Blank?

I am trying to use a phpinfo script to check the version that I have installed. I wrote the script and saved it but when I try to open it, the page is blank. The page has a title (PHP Info page), and the title appears, so I know that the page has been found, however, there is nothing displayed on the screen. This is the code that I used. I am just learning php and am a little lost, any ideas why it might be blank?

PHP Code:
<title>PHP Info Page</title>
<?php phpinfo(); ?>

View 5 Replies View Related

Comparing 2 Phpinfo Settings?

I'd like to compare the settings I have on 2 different servers. Both are shared hosting so I don't think I have enough access to do it any other way but programmatically with phpinfo. So now that I have the 2 outputs, I'd like to compare them without examining them manually. Is there an automated way for this?

Also, as a side but related note, I think phpinfo is the output of php.ini. Is this correct?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved