LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-11-2016, 02:18 PM   #1
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Rep: Reputation: Disabled
Lamp Server Guys Need Help


hello guys.,

Need Help So Urgent.,

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
 
Old 11-11-2016, 02:35 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
What is the error? Copy and paste what you are doing and what error you are seeing.
 
Old 11-11-2016, 02:42 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by AhmadMWaddah View Post
hello guys.,
Need Help So Urgent.,
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??
 
1 members found this post helpful.
Old 11-11-2016, 03:23 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
How To Install LAMP on Ubuntu 14.04 [Quickstart]
https://help.ubuntu.com/community/Be.../BashScripting
 
Old 11-12-2016, 12:20 PM   #5
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
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 View Post
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 )



Wish A Great Days For Every One.
 
Old 11-12-2016, 12:27 PM   #6
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
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.

I Thank You So Much For Your Time Man,..
 
Old 11-12-2016, 02:29 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by AhmadMWaddah View Post
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.

Last edited by TB0ne; 11-12-2016 at 03:58 PM.
 
1 members found this post helpful.
Old 11-12-2016, 02:49 PM   #8
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
..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,
 
1 members found this post helpful.
Old 11-12-2016, 02:53 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You were asked to stop with fonts and colors, you make your posts harder to read. You came here for help, why alienate people who could help you?
 
1 members found this post helpful.
Old 11-12-2016, 03:51 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by AhmadMWaddah View Post
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.

Last edited by TB0ne; 11-12-2016 at 03:52 PM.
 
Old 11-12-2016, 04:37 PM   #11
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
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.
Thank You For Your Time,,
 
Old 11-12-2016, 05:06 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
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?
 
1 members found this post helpful.
Old 11-12-2016, 07:20 PM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by AhmadMWaddah View Post
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".

Last edited by TB0ne; 11-12-2016 at 07:21 PM.
 
1 members found this post helpful.
Old 11-12-2016, 07:20 PM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by yancek View Post
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...
 
Old 11-13-2016, 03:36 PM   #15
AhmadMWaddah
LQ Newbie
 
Registered: Jan 2016
Location: Cairo, Egypt,
Distribution: Ubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 13.10 Server LXer Syndicated Linux News 0 10-22-2013 03:50 AM
Centos LAMP Server with unidentified script causing server to port scan ZS- Linux - Security 48 01-30-2011 07:27 AM
lamp server communication goes on and off (apache, sshd, nx-server, mysql) jonjon Linux - Server 2 06-07-2010 11:23 AM
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration