Jump to content

server unable to resolve simple php-info - file. bug or feature


Maze

Recommended Posts

hello dear PHP-experts



have set up a server at localhost
with phpMyAdmin

i get back the site " it works " if i type in localhost

i get access to the phpMyAdmin if i  type localhost/phpMyAdmin


so  far so good

now i  wanted to go ahead: i ve uploaded a file called php_info.php to the htdocs folder.

i changed permissions accordingly. (see below)


linux-c5sz:/srv/www/htdocs # ls -l
insgesamt 28
-rwxrwxrwx 1 root   root   302 13. Mär 2006  favicon.ico
drwxrwxrwx 2 root   root  4096  6. Nov 2013  gif
-rwxrwxrwx 1 root   root    45 11. Jun 2007  index.html
-rwxrwxrwx 1 root   root  2356 28. Sep 2013  info2html.css
-rwxrwxrwx 1 martin users  188  3. Dez 19:07 php_info.php
drwxrwxrwx 6 root   root  4096  3. Nov 17:40 phpMyAdmin
-rwxrwxrwx 1 root   root    26 13. Okt 15:32 robots.txt
linux-c5sz:/srv/www/htdocs #

what makes me wonder is - i cannot see the content of the file of php_info.php - why is this so


see below




 

<?php

// Zeigt alle Informationen (Standardwert ist INFO_ALL)
phpinfo();

// Zeigt nur die Modul-Informationen.
// phpinfo( führt zum gleichen Ergebnis.
phpinfo(INFO_MODULES);

?>

well i wonder why i cannt see any information in thebrowser

 

is this a bug ?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.