0

I want to install my own php script into my server (shared) but the moment I test my page, the following errors occurs.

Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(): Failed opening '../includes/global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Fatal error: Unknown function: dbconnect() in /home/linkme2u/public_html/paidmail/site/index.php on line 9

Please sombody give me step by step procedure on how to install php script with MySQL database.. I don't want to pay just for installation anymore.

Thanks,
Jun

3
Contributors
2
Replies
3
Views
12 Years
Discussion Span
Last Post by DanceInstructor
0

Hmm looks like your permissions are wrong. You will need to use chmod to give the webserver access to the files in your script. Chmod 755 will probably be good, if that doesn't work go 777. If you use a ftp program you could try right-clicking on the file on the server and choose properties, this should give you access to change the files permissions. For more info google: chmod tutorial. There are lots of tutorials.

Dance

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.