Firstly, THIS ISN’T A SCRIPTING ERROR! I’M USING PHPMYADMIN (or trying to)! People on #httpd are useless for help.
Well, ir jus installed Apache2 and PHP5 on my openSuSE 11.2 server, and I just get blank pages for PHP, but HTML works fine. Ima jus guess this is a common error. Is there any fix for it?
Check the /var/log/apache2/error_log file to see what it shows. I believe
this will show your PHP errors as well.
Sorry about your experience in #httpd; they do not necessarily know PHP so
you may have had better luck in #php (or is it ##php). Anyway, I’m sure
we’ll get it fixed here.
Good luck.
On 07/01/2010 01:36 PM, IKingJohnI wrote:
>
> Firstly, THIS ISN’T A SCRIPTING ERROR! I’M USING PHPMYADMIN (or trying
> to)! People on #httpd are useless for help.
>
> Well, ir jus installed Apache2 and PHP5 on my openSuSE 11.2 server, and
> I just get blank pages for PHP, but HTML works fine. Ima jus guess this
> is a common error. Is there any fix for it?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
[Thu Jul 01 13:58:07 2010] [error] [client 192.168.1.39] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Thu Jul 01 13:58:07 2010] [error] [client 192.168.1.39] PHP Fatal error: Unknown: Failed opening required ‘/srv/www/htdocs/phpMyAdmin/index.php’ (include_path=’.:/usr/share/php5:/usr/share/php5/PEAR’) in Unknown on line 0
Output from the log. I don’t quite understand what it is supposed to mean. I asked in ##php, they told me it was an httpd question. People in httpd knew, they just didn’t want to explain it.
EDIT: I changed permissions on all the files, seemed to get things running.
Well it looks like you figured it out. This is the critical part:
PHP Warning: Unknown: failed to open stream: Permission denied in Unknown
PHP is trying to include a required file and failing because of
permissions. Good job on that one.
Good luck.
On 07/01/2010 02:49 PM, IKingJohnI wrote:
>
> [Thu Jul 01 13:58:07 2010] [error] [client 192.168.1.39] PHP Warning:
> Unknown: failed to open stream: Permission denied in Unknown on line 0
> [Thu Jul 01 13:58:07 2010] [error] [client 192.168.1.39] PHP Fatal
> error: Unknown: Failed opening required
> ‘/srv/www/htdocs/phpMyAdmin/index.php’
> (include_path=’.:/usr/share/php5:/usr/share/php5/PEAR’) in Unknown on
> line 0
>
> Output from the log. I don’t quite understand what it is supposed to
> mean. I asked in ##php, they told me it was an httpd question. People in
> httpd knew, they just didn’t want to explain it.
>
> EDIT: I changed permissions on all the files, seemed to get things
> running.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/