Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am Starting as a php developer and need to make Lamp server on My Ubuntu 14.04.,
I always install it in good way
only my problem is every time i go and change directory and it gives me error .,
i need steps to change directory .,
i installed php, MySQL, phpmyadmin.,
i wanna know., what i need to make it work with a directory i chose., what do i need in steps., after installin php., what i am supose to do to change root directory.
thank you so much
First, you need to read the "Question Guidelines" and "How to ask a smart question" links in my posting signature. This is NOT URGENT for ANYONE HERE...we volunteer our time, so asking for/expecting 'urgent' help because YOU are in a hurry, is plain rude.
Quote:
I am Starting as a php developer and need to make Lamp server on My Ubuntu 14.04., I always install it in good way only my problem is every time i go and change directory and it gives me error .,
i need steps to change directory ., i installed php, MySQL, phpmyadmin.,
i wanna know., what i need to make it work with a directory i chose., what do i need in steps., after installin php., what i am supose to do to change root directory. thank you so much
As szboardstretcher said, unless you actually TELL US the error, and where you get it, what do you think we'll be able to tell you? Also, Ubuntu 14.04 is OLD...why start out with an old system/software?? Further..this sounds very much like you got a job, and don't really know how to do it....you're a PHP developer, who says they have installed LAMP before 'in good way only'...so why are you having problems??? There are THOUSANDS of guides as to how to set up LAMP on Ubuntu...did you follow any of them??
First, you need to read the "Question Guidelines" and "How to ask a smart question" links in my posting signature. This is NOT URGENT for ANYONE HERE...we volunteer our time, so asking for/expecting 'urgent' help because YOU are in a hurry, is plain rude.
Yes., TB0ne You Are Totally Right In This Tip . I Am Sorry.,
I Need To Read This Rules & Guide For The Forum.
Quote:
Originally Posted by TB0ne
As szboardstretcher said, unless you actually TELL US the error, and where you get it, what do you think we'll be able to tell you? Also, Ubuntu 14.04 is OLD...why start out with an old system/software?? Further..this sounds very much like you got a job, and don't really know how to do it....you're a PHP developer, who says they have installed LAMP before 'in good way only'...so why are you having problems??? There are THOUSANDS of guides as to how to set up LAMP on Ubuntu...did you follow any of them??
Ubuntu 14.04 Is Old, I guess Not So Old But Its Long Term Support So That's Why I Didn't Go To 16.04-- Still Have Bugs & I Need Something Stable..
I Still Not Get Any Jobs In Web Development, I Just Still To Get Some Experience In Making Some Pages Not For Real Work But Like A Practice, & I Wasn't Asking About Some Pages To Do For Me. My Ask Was About Steps In Changing Local Host Directory Without Getting Errors Like Access Denied Or Not Founded...
No, I Am Not A Php Developer, I Am Starting To Be Like I Said, Took A course For Basics And Preparing For Another In Advanced Web Development With Php,
I Already Installed Lamp Long Time Ago And I Did Now My Problem Was As Mentioned In Changing Directory In Steps AS Permissions And Configurations This May Cause Errors For Bunch Of People..
I Did Followed This Sources And I Did Installed Lamp.Not The Problem .. AS Mentioned On Top My Question Was About ( Configuration And Permissions Tips For Changing Local host Directories Without Getting Any Errors )
What is the error? Copy and paste what you are doing and what error you are seeing.
szboardstretcher
Thank You Man For Helping & Concern,
I Will Do As Soon As It Appears I Still Searching For How To Make It Without Errors I Already Got Errors For 100 Million Times. So I Don't Want To Make What I Know Its Wrong And Blow The Whole Lamp On My Laptop. I Will Make Search More And More.
Yes., TB0ne You Are Totally Right In This Tip . I Am Sorry., I Need To Read This Rules & Guide For The Forum.
..which you should have done before posting anything, but it's fine. Also, PLEASE stop with the fonts, colors, etc.
Quote:
Ubuntu 14.04 Is Old, I guess Not So Old But Its Long Term Support So That's Why I Didn't Go To 16.04-- Still Have Bugs & I Need Something Stable..
16.04 is quite stable, thanks. And why just Ubuntu?? If this is for a production server, you'd be far better off with CentOS 7.x, or RHEL if you're going to pay for it. Those are MUCH more stable.
Quote:
I Still Not Get Any Jobs In Web Development, I Just Still To Get Some Experience In Making Some Pages Not For Real Work But Like A Practice, & I Wasn't Asking About Some Pages To Do For Me. My Ask Was About Steps In Changing Local Host Directory Without Getting Errors Like Access Denied Or Not Founded...
And we asked you WHAT the error(s) were and where you got them. You have still not answered.
Quote:
No, I Am Not A Php Developer, I Am Starting To Be Like I Said, Took A course For Basics And Preparing For Another In Advanced Web Development With Php,
I Already Installed Lamp Long Time Ago And I Did Now My Problem Was As Mentioned In Changing Directory In Steps AS Permissions And Configurations This May Cause Errors For Bunch Of People..
And you STILL don't tell us what the steps are that you're following, where you got the error, etc. Again, WE CANNOT GUESS.
Quote:
I Did Followed This Sources And I Did Installed Lamp.Not The Problem .. AS Mentioned On Top My Question Was About ( Configuration And Permissions Tips For Changing Local host Directories Without Getting Any Errors )
See previous posts about actually telling us what the error(s) are.
Quote:
Originally Posted by AhmadMWaddah
I Will Do As Soon As It Appears I Still Searching For How To Make It Without Errors I Already Got Errors For 100 Million Times. So I Don't Want To Make What I Know Its Wrong And Blow The Whole Lamp On My Laptop. I Will Make Search More And More.
"Blow the whole lamp" is ridiculous...you can re-install easily, in minutes. And again, you can keep searching all you want, but unless you tell us the what/where as you've been asked since the beginning, it's pointless to post back.
..which you should have done before posting anything, but it's fine. Also, PLEASE stop with the fonts, colors, etc.
16.04 is quite stable, thanks. And why just Ubuntu?? If this is for a production server, you'd be far better off with CentOS 7.x, or RHEL if you're going to pay for it. Those are MUCH more stable.
And we asked you [B]WHAT the error(s) were and where you got them. You have still not answered.
And you STILL don't tell us what the steps are that you're following, where you got the error, etc. Again, WE CANNOT GUESS.
See previous posts about actually telling us what the error(s) are.
"Blow the whole lamp" is ridiculous...you can re-install easily, in minuted. And again, you can keep searching all you want, but unless you tell us the what/where as you've been asked since the beginning, it's pointless to post back.
TB0ne
I Really Don't See What Are You Trying To Say?
Hope You Not Post Back Unless U You Will Post Nice And Useful Information, And Not Just Critics.
Tip: Please Never Treat All People They Know Everything Like You, There More People Still Learning What They Don't Know And This Is Might Be Big For Them , You Can See It Small but When You Start Too It Was So Hard I Know And I am Sure, So Please Unless You Will Answer Useful Please Save Us Time And Save All People Time Too,
TB0ne
I Really Don't See What Are You Trying To Say?
Hope You Not Post Back Unless U You Will Post Nice And Useful Information, And Not Just Critics.
AGAIN you need to read the LQ Rules, and pay particular attention to the parts about text-speak and NOT USING IT. It's "you", not "U". And AGAIN, you have been asked about half dozen times now to TELL US WHAT THE ERRORS ARE AND WHERE YOU GOT THEM...do you not understand this???? Just saying " Changing Directory In Steps AS Permissions And Configurations" tells us absolutely ZERO. To put it very, VERY simply:
Do not use such an old version of Ubuntu, especially if you're learning. The real world does not use such old systems in a production setting.
You mention 'steps'...but do not tell us WHAT STEPS, where you got them, etc.
You mention an error...but do not tell us WHAT THAT ERROR ACTUALLY IS
You do not tell us where you got that error, or what you were doing to cause it.
Again..we cannot guess.
Quote:
Tip: Please Never Treat All People They Know Everything Like You, There More People Still Learning What They Don't Know And This Is Might Be Big For Them , You Can See It Small but When You Start Too It Was So Hard I Know And I am Sure, So Please Unless You Will Answer Useful Please Save Us Time And Save All People Time Too,
Tip: do not ignore questions and be snotty. You started off by expecting 'urgent' help, then apologize and say you'll read the forum rules. Then promptly get sarcastic again, ignore the rules and use text-speak, and STILL don't answer the questions you were asked.
Unless you post actual, useful details, there is NO POINT in posting anything, anywhere. THINK about what you're asking...if you had a car problem, and just said to the mechanic, "My car won't go", what do you think they'll be able to tell you from that??? That's exactly the type of question you've asked here. You've only said you got some error...and say nothing else. Either post the details, answer the questions you've been asked, and obey the forum rules (and BASIC rules of being polite), or go elsewhere and see if they can guess as to what your problem is. We sure can't.
AGAIN you need to read the LQ Rules, and pay particular attention to the parts about text-speak and NOT USING IT. It's "you", not "U".
Yes, You Are Right Man. 'U' Not Mean 'You' Its Just An Alphabet.
Quote:
And AGAIN, you have been asked about half dozen times now to TELL US WHAT THE ERRORS ARE AND WHERE YOU GOT THEM...do you not understand this???? Just saying " Changing Directory In Steps AS Permissions And Configurations" tells us absolutely ZERO. To put it very, VERY simply:
Please, Half Dozen Times.... It Means Six Times, Really You Start To Overrated little I Guess.
And I Told My Error And Mentioned Above Its Totally Understandable For Some People.
I Understand That You Don't Want To Help Me I Can Think Why,, For Some Reasons..
If My Question So Hard To Understand So Tell Me You It's Hard And You Can't Help Me With Simple Polite Way Only, Will Be Great And Admirable.
Quote:
Do not use such an old version of Ubuntu, especially if you're learning. The real world does not use such old systems in a production setting.
You mention 'steps'...but do not tell us WHAT STEPS, where you got them, etc.
You mention an error...but do not tell us WHAT THAT ERROR ACTUALLY IS
You do not tell us where you got that error, or what you were doing to cause it.
- I Am Not Using An Old Version Of Ubuntu I Am Using 14.04 Its Long Term Support.. It Means Sir It Will Get Updates For Five Years.
- I Already Told What I Have Done. I Already Told That I Installed Lamp.
- I Mentioned An Error, Which It Is So Famous And Every Person Has Involved With Lamp Knows It So So Well.
- Also Mentioned Both. Error And The Cause.
Quote:
do not ignore questions and be snotty.
I Guess There Is No Rule Here In The Forum Will Allow Abusing.
I Know Gentle Men Will Not Do As I Will Not.
Quote:
You started off by expecting 'urgent' help, then apologize and say you'll read the forum rules. Then promptly get sarcastic again,
Yes, I Started With Normal Word In Other Forums, And Some Guy Told Me Its Annoying Which Is You Then I Apologized For It.
Quote:
Either post the details, answer the questions you've been asked, and obey the forum rules (and BASIC rules of being polite), or go elsewhere and see if they can guess as to what your problem is. We sure can't.
Basic Rules Of Being Polite Like Not Saying Snotty, That's What You Mean? So Great I Am Not That Guy Who Use Abusing To Make His Point.
Quote:
HERE...we volunteer our time, so asking for/expecting 'urgent' help because YOU are in a hurry, is plain rude.
Volunteer Out Time, I Feel I Am In A movie Here, If You Spent Quarter Of That Time To Post All Of This In Trying To Help, It Will Make A Different For you.
If you are getting access denied trying to open a file, the owner:group and/or permissions are not correct.
If you are getting a file not found it is because the file being sought is not in the expected location. If you want to change the default location of files served by Apache, you need to change the Document Root entry in the httpd.conf file. If you are using php, you need to change the Document Root in the php.ini file. On Ubuntu 14, the Apache configuration file is in /etc/apache2/sites-available and is named "000-default.conf". The php.ini file should be in /etc/php5/apache2.
Reading over your posts, I'm not really sure that is what you are asking?
Yes, You Are Right Man. 'U' Not Mean 'You' Its Just An Alphabet.
It's text speak, and mentioned in the forum rules. Stop it.
Quote:
Please, Half Dozen Times.... It Means Six Times, Really You Start To Overrated little I Guess.
Wrong...go back and count. You have been asked that many times. Pay attention.
Quote:
And I Told My Error And Mentioned Above Its Totally Understandable For Some People. I Understand That You Don't Want To Help Me I Can Think Why,, For Some Reasons.. If My Question So Hard To Understand So Tell Me You It's Hard And You Can't Help Me With Simple Polite Way Only, Will Be Great And Admirable.
I have been TRYING TO HELP YOU, but you WILL NOT ANSWER THE QUESTIONS ASKED. You STILL haven't...this makes SEVEN TIMES now.
Quote:
- I Am Not Using An Old Version Of Ubuntu I Am Using 14.04 Its Long Term Support.. It Means Sir It Will Get Updates For Five Years.
..and the current version is 16.04. You are two major versions behind, which is OLD, period.
Quote:
- I Already Told What I Have Done. I Already Told That I Installed Lamp.
- I Mentioned An Error, Which It Is So Famous And Every Person Has Involved With Lamp Knows It So So Well.
- Also Mentioned Both. Error And The Cause.
Nope...you said you had an error. Still won't say WHICH of the 'famous' errors you have, what instructions you've followed to get it, etc. Your message is vague, period. Unless you clarify, there is no point in posting back saying you have a 'permission error'. Not where you see it, not what you do to get it, not where it's mentioned anywhere.
Quote:
I Guess There Is No Rule Here In The Forum Will Allow Abusing. I Know Gentle Men Will Not Do As I Will Not.
Yes, I Started With Normal Word In Other Forums, And Some Guy Told Me Its Annoying Which Is You Then I Apologized For It.
Basic Rules Of Being Polite Like Not Saying Snotty, That's What You Mean? So Great I Am Not That Guy Who Use Abusing To Make His Point.
Grow up. No one has been impolite but you...you started out rude, and CONTINUE to be even more rude now. We have asked VERY PLAINLY what your errors are...you refuse to answer, and ignore the forum rules, Now you whine about 'abuse'??? Have we not also asked you to stop with the fonts/colors/centering, etc??? And you continue....
Quote:
Volunteer Out Time, I Feel I Am In A movie Here, If You Spent Quarter Of That Time To Post All Of This In Trying To Help, It Will Make A Different For you.
We have spent ALL of our time, and not just me, trying to get you to actually tell us the errors you're having. You haven't answered, despite being asked (politely) numerous times. Change your attitude, stop with the "I'm being persecuted" junk, and answer the direct, simple questions you've been asked. If you don't like it, click the "REPORT" button, and get a moderator to step in with the supposed "abuse".
If you are getting access denied trying to open a file, the owner:group and/or permissions are not correct.
If you are getting a file not found it is because the file being sought is not in the expected location. If you want to change the default location of files served by Apache, you need to change the Document Root entry in the httpd.conf file. If you are using php, you need to change the Document Root in the php.ini file. On Ubuntu 14, the Apache configuration file is in /etc/apache2/sites-available and is named "000-default.conf". The php.ini file should be in /etc/php5/apache2.
Reading over your posts, I'm not really sure that is what you are asking?
No one is, despite being asked many times. Apparently, it's a 'famous' error...
If you are getting access denied trying to open a file, the owner:group and/or permissions are not correct.
If you are getting a file not found it is because the file being sought is not in the expected location. If you want to change the default location of files served by Apache, you need to change the Document Root entry in the httpd.conf file. If you are using php, you need to change the Document Root in the php.ini file. On Ubuntu 14, the Apache configuration file is in /etc/apache2/sites-available and is named "000-default.conf". The php.ini file should be in /etc/php5/apache2.
Reading over your posts, I'm not really sure that is what you are asking?
Yancek.
Thats Really What I Was Asking About. Man
Thank You So Much Pal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.