Maze Posted December 3, 2014 Share Posted December 3, 2014 hello dear PHP-expertshave set up a server at localhostwith phpMyAdmini get back the site " it works " if i type in localhosti get access to the phpMyAdmin if i type localhost/phpMyAdminso far so goodnow 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 sosee 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 https://forums.phpfreaks.com/topic/292871-server-unable-to-resolve-simple-php-info-file-bug-or-feature/ Share on other sites More sharing options...
CroNiX Posted December 3, 2014 Share Posted December 3, 2014 It could be the owner/group. Notice all of the others (that are working) are root/root but that file is martin/users. Check the apache error logs. Link to comment https://forums.phpfreaks.com/topic/292871-server-unable-to-resolve-simple-php-info-file-bug-or-feature/#findComment-1498383 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.