Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. Forbidden
  2. You don't have permission to access / on this server.
  3. Apache/2.4.7 (Ubuntu) Server at localhost Port 80
  4.  
  5. sudo apt-get install apache2 php5
  6.  
  7. sudo apt-get install php5-dev php5-cli
  8.  
  9. sudo apt-get install php-pear
  10.  
  11. pear version
  12.  
  13. // PEAR Version: 1.9.4
  14. // PHP Version: 5.5.9-1ubuntu4.5
  15. // Zend Engine Version: 2.5.0
  16. // Running on: Linux my-computer 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
  17.  
  18. pecl version // as above
  19.  
  20. sudo pecl install mongo // this installs the mongo driver
  21.  
  22. (I was prompted with something containing [no] and I pressed enter)
  23.  
  24. cd /etc/php5/apache2
  25.  
  26. sudo vi php.ini
  27.  
  28. at end of file I added: extension=mongo.so
  29.  
  30. sudo /etc/init.d/apache2 restart
  31.  
  32. me@my-computer ~ $ /etc/init.d/apache2 status
  33. * apache2 is running
  34.  
  35. /var:
  36. owner (root) create and delete files
  37. group (root): access files
  38. others: access files
  39.  
  40. /var/www:
  41. owner (root) create and delete files
  42. group (root): access files
  43. others: access files
  44.  
  45. /var/www/html:
  46. owner (me - Me)
  47. folder access: create and delete files
  48. file access: ---
  49.  
  50. group (me):
  51. folder access: none
  52. file access: ---
  53.  
  54. others:
  55. folder access: none
  56. file access: ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement