Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Forbidden
- You don't have permission to access / on this server.
- Apache/2.4.7 (Ubuntu) Server at localhost Port 80
- sudo apt-get install apache2 php5
- sudo apt-get install php5-dev php5-cli
- sudo apt-get install php-pear
- pear version
- // PEAR Version: 1.9.4
- // PHP Version: 5.5.9-1ubuntu4.5
- // Zend Engine Version: 2.5.0
- // Running on: Linux my-computer 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
- pecl version // as above
- sudo pecl install mongo // this installs the mongo driver
- (I was prompted with something containing [no] and I pressed enter)
- cd /etc/php5/apache2
- sudo vi php.ini
- at end of file I added: extension=mongo.so
- sudo /etc/init.d/apache2 restart
- me@my-computer ~ $ /etc/init.d/apache2 status
- * apache2 is running
- /var:
- owner (root) create and delete files
- group (root): access files
- others: access files
- /var/www:
- owner (root) create and delete files
- group (root): access files
- others: access files
- /var/www/html:
- owner (me - Me)
- folder access: create and delete files
- file access: ---
- group (me):
- folder access: none
- file access: ---
- others:
- folder access: none
- file access: ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement