Quote:
Originally Posted by bentz
Additionally, the error you mention with configtest.php:
Parse error: parse error, unexpected $ in /var/www/qonc/php/src/configtest.php on line 131
Is very perplexing... have you tried re-downloading the software from sourceforge and checking for corrupted files? Line 131 is a check for PEAR, and has nothing to do with config.php, so these two sets of error messages conflict with each other.
More information about your configuration would be helpful.
|
I redowned the file and when I run configtest, I got this
Warning: fopen(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/configtest.php on line 18
Could not read config.php. Check that the nobody user can read config.php.
and i try ls- l got this
-rw-r----- 1 root root 926 11月 1 23:02 config_origin.php
-rw-r----- 1 root nobody 926 11月 1 23:02 config.php
drwxr-xr-x 2 ftpuser ftpgrp 4096 10月 31 22:04 images
-rw-r--r-- 1 ftpuser ftpgrp 44 10月 31 22:09 index.php
drwxr-xr-x 2 ftpuser ftpgrp 4096 11月 2 16:31 src
drwxr-xr-x 2 ftpuser ftpgrp 4096 10月 31 22:08 templates
drwxrwxr-x 2 root apache 4096 10月 31 22:08 templates_c
and I run index.php ,I got this
Warning: main(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/include.php on line 4
Warning: main(../config.php): failed to open stream: Permission denied in /var/www/qonc/php/src/include.php on line 4
Warning: main(): Failed opening '../config.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/qonc/php/src/include.php on line 4
Database error: not found
I really appreciate your help ,and i am very interested in your software