[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Am I installing things in the correct folder?

Posted on 2014-07-17
Medium Priority
Last Modified: 2014-07-21
1) In a WAMP environment, you have a root directory that you have to use if you want to wrote any kind of PHP code. In other words, I can’t write C:/docs/some_doc.php and expect it to render correctly. With MAMP, it’s easy to assume the same thing. Why, then, am I installing Symfony in my “bruce” folder?

Based on the tutorial (http://symfony.com/legacy/doc/jobeet/1_4/en/01?orm=Doctrine), this is where I’m putting everything, but it’s not where I have my browser pointed when I’m attempting to look at a file.

I know this is bordering on a stupid question, but I want to understand WHAT I'm doing and not merely THAT I'm doing it.

Question by:brucegust
LVL 31

Accepted Solution

serialband earned 2000 total points
ID: 40203335
Unix systems can install user software to run in the user folder as the user.  There's no real restriction on who can run software or where you place it as long as you set the necessary path and environment variables.

I think you basically missed some steps or didn't follow it to the letter.  These are basic linux/unix commands and on OSX, you may need sudo to create the folder in your root.  It sounds like you put the file into your home folder, because that's where you have access.

The instructions on that page basically gave you the generic commands to install into the local folder.  If you have the files in your bruce folder, then it suggests that you didn't run cd /home/sfprojects/jobeet to extract your symfony-1.4.0.tgz or you did a cd back to your home folder before you ran the tar zxpf symfony-1.4.0.tgz command.  /home is where linux likes to put user's home folders.  /Users is where apple likes to put user's home folders.

If you've downloaded the symfony-1.4.0.tgz to your home folder then the tar command after you cd /home/sfprojects/jobeet/lib/vendor should be tar -xvf ~/symfony-1.4.0.tgz.  You need to know where your files are and where you cd to when.  The instructions told you to
Download the archive, put it under the freshly created lib/vendor/ directory, un-archive it there, and rename the directory to symfony:

Author Comment

ID: 40209299
You're right! I went back and reviewed the steps and saw where I had made some mistakes.


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question