If i create file for test with phpinfo(); everything is cool, it shows me all the data, but if i open any other php file on my server it doesn't work? What's the problem? :S
what does the file look like that you are trying to open? Perhaps there is an error in the page. Note that anything in between "<?php" and "?>" will be parsed as PHP and therefore all syntax needs to be PHP complient... do you have an error log? Do you have error loggin enabled in '/etc/php.ini"?? That would be a good start to determine what the problem is.
http://nero-server.homelinux.org/phpinfo.php here's my phpinfo i don't think, that i messed something. becouse i want install... hmm, phpbb? and it gave me blank screen...
yes: [client 192.168.2.1] PHP Notice: Undefined index: kaj in /home/nejc/public_html/slike/index.php on line 7, referer: http://nero-server.homelinux.org/ it's not phpbb, but it's microblog fot that (http://www.stamcar.com/projekti/microblog/)
Hmm, that is only a notice. this should not stop your script. If you enabled php safemode, please try to disable it.
My unprofessional opinion would be this: This page you are trying to go to and getting a "blank page" is 'index.php'. However, are trying to go to 'domain.com/application/index.php' directly or just going to 'domain.com/application'? It is possible that you have not added 'index.php' to you list of DirectoryIndexes in your Apache Configuration... it looks something like: DirectoryIndex index.html index.htm index.php index.cgi index.pl This is found somewhere like: Debian: /etc/apache2/apache2.conf RedHat: /etc/httpd/conf/httpd.conf Or specifically in your VirtualHost's directive where ever that may be. Hope this might help... it is worth checking anyway.
What's in line 7 of /home/nejc/public_html/slike/index.php? You might have to use another value for error reporting in your php.ini. Have a look here: http://au3.php.net/manual/en/ref.errorfunc.php If you change your php.ini, don't forget to restart Apache afterwards.
what do you have in your php.ini for the following setting? error_reporting = E_ALL & ~E_NOTICE You may need to change your setting to "E_ALL" to actually get better error message output.
i added index.php to directory indexes, but no effect also tried php.ini error reporting... nothning edit: authour of themicroblog told me same.. i should try error reporting, but nothing edit: my script for uptime works :S <? function linuxUptime() { $ut = strtok( exec( "cat /proc/uptime" ), "." ); $days = sprintf( "%2d", ($ut/(3600*24)) ); $hours = sprintf( "%2d", ( ($ut % (3600*24)) / 3600) ); $min = sprintf( "%2d", ($ut % (3600*24) % 3600)/60 ); $sec = sprintf( "%2d", ($ut % (3600*24) % 3600)%60 ); return array( $days, $hours, $min, $sec ); } $ut = linuxUptime(); echo "Server že dela neprestano : $ut[0] dni, $ut[1] ur, $ut[2] minut"; ?> http://nero-server.homelinux.org/server.php that's all too strange :S
sure... i did no one has no idea what's wrong? :?( An error has occurred during installation The PHP configuration on your server doesn't support the database type that you chose hmm, edit: can i give to someone of you experts shell or mybe webmin root acess? if it would help...
I guess your application uses a MySQL database. Is MySQL supported by your PHP installation? Do you see MySQL mentioned when you run a PHP script with phpinfo(); in it?
no http://nero-server.homelinux.org/phpinfo.php Configure Command:.....--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba'
Have you thought about using one of the perfect setup guides together with ISPConfig to get a working webserver setup? Without a good linux knowledge it is not easy to setup a working server manually.