index.php appears blank for prosper202

May 12, 2014 1.2k views
I have set LAMP, DNS and SFTP on Ubuntu 14.0.4 I have uploaded my tracking software files onto it but the index.php for the application appears blank when i go the domain url. If i create a another index.php to view phpinfo() it works even if i create a index.html it works but can't figure out why it wont work for this tracking application. It took the files and installed on a hostgator shared account and it worked fine. Any ideas. The application is prosper202 for online campaign sem tracking
2 Answers
What webserver are you using? Assuming Apache, are you seeing any error messages in "/var/log/apache2/error.log" One likely problem, is that the webserver user doesn't have the correct permissions. Try changing the file's ownership:

sudo chown -R www-data:www-data /var/www/html/

how i fiw this plz

                                         PHP Error Message

Warning: fileexists() [function.file-exists]: openbasedir restriction in effect. File(/usr/local/apache/htdocs/202-config.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a5813803/public_html/index.php on line 3

Have another answer? Share your knowledge.