Solved

saving php file in bluefish (Ububtu)

Posted on 2011-09-22
4
690 Views
Last Modified: 2012-05-12
HI Experts,
I know how to write php script from the command line in ubuntu.I do nano test.php.

I have downloaded Bluefish editor successfully and wrote a test program.I tried to save it in /opt/lampp/htdocs.But it is not being saved on it.When I tried to run it on localhost ,it gives error.and when I try to run it from the bluefish editor,the url looks like this which is ofcorse not correct.
file:///opt/lampp/htdocs/test2.php   INstead of http://localhost/test2.php.

PLease help,
Thanks.
0
Comment
Question by:dvcphp
  • 2
4 Comments
 
LVL 5

Expert Comment

by:vaska94
ID: 36584787
give chmod 777 permission on htdocs folder or run the editor with sudo.
that will fix the saving problem :)
0
 

Author Comment

by:dvcphp
ID: 36584908
can you please explain how.I am new to ubuntu.Do you want me to type just
chmod 777
0
 
LVL 1

Accepted Solution

by:
gimecoffee earned 500 total points
ID: 36587640
Depends on how your system is setup.  You might be able to use sudo
sudo chmod 777 /opt/lampp/htdocs

if that doesn't work then change to the root user with the su command and then run
chmod 777 /opt/lampp/htdocs
0
 

Author Closing Comment

by:dvcphp
ID: 36934864
Solved it .thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

713 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