Please school me in PHP script installation.

Reply

Join Date: Jan 2005
Posts: 15
Reputation: junvalasek is an unknown quantity at this point 
Solved Threads: 0
junvalasek's Avatar
junvalasek junvalasek is offline Offline
Newbie Poster

Please school me in PHP script installation.

 
0
  #1
Feb 5th, 2005
I want to install my own php script into my server (shared) but the moment I test my page, the following errors occurs.

  1. Warning: main(): Unable to access ../includes/global.php IN /home/linkme2u/public_html/paidmail/site/index.php on line 3
  2.  
  3. Warning: main(../includes/global.php): failed to open stream: Permission denied IN /home/linkme2u/public_html/paidmail/site/index.php on line 3
  4.  
  5. Warning: main(): Unable to access ../includes/global.php IN /home/linkme2u/public_html/paidmail/site/index.php on line 3
  6.  
  7. Warning: main(../includes/global.php): failed to open stream: Permission denied IN /home/linkme2u/public_html/paidmail/site/index.php on line 3
  8.  
  9. 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
  10.  
  11. 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
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 360
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Solved Threads: 5
Team Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: Please school me in PHP script installation.

 
0
  #2
Mar 1st, 2005
You need to show us the relevant lines.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: Please school me in PHP script installation.

 
0
  #3
Mar 1st, 2005
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
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC