ubuntu-users Digest, Vol 39, Issue 146 LAMP instead XAMP worked OK

TEREZA SIMCIC tereza.simcic at gmail.com
Tue Nov 20 12:40:42 UTC 2007


On Nov 13, 2007 5:04 PM, Darryl Tidd <darryl.tidd at daaokc.com> wrote:
I have installed the LAMP stack on Ubuntu, and when I navigate to
http://localhost/test.php (file I created) Firefox and Konqueror ask me
if I want to save the file instead of opening the page.  Suggestions?

Hi Darryl Tidd,
I have the same problem today. As I'm a complete beginner in Ubuntu, as well
as in Linux, but I worked before in WinXP environment well with LAMP, I
didn't know how to solve the problem.
I tried once again installing apache2 and PHP as it is suggested here:
http://www.mysql-apache-php.com/,
but I installed also Mysql before testing everything. Afterwards the problem
gone?! I'm experimenting with Ubuntu and I've reinstalled it in last few
days few times, and this problem with LAMP appeared only today. Thus I
really don't know why this happened.

Cheers, Tereza

2007/11/15, jose martin-Lunas <jozelo58 at yahoo.com.mx>:
>
> For Instaling Lamp this distro worked out perfect: (Ihave the same problem
> as you have php download or open...)  I tried for a month to fix it then I
> found this:
> #This worked Out PERFECT!! and simple : XAMPP
> Go to the page:
> http://www.apachefriends.org/en/xampp-linux.html
>
> #After downloading simply type in the following commands:
>
> #Go to a Linux shell and login as the system administrator root:
> su
>
>
> #Extract the downloaded archive file to /opt:
> sudo tar xvfz xampp-linux-1.6.4.tar.gz -C /opt
>
> #Warning: Please use only this command to install XAMPP. DON'T use any
> Microsoft Windows tools to extract the archive, it won't work.
>
> #Warning 2: already installed XAMPP versions get overwritten by this
> command.
>
>
> #That's all. XAMPP is now installed below the /opt/lampp directory.
>  #Step 3: Start
> #To start XAMPP simply call this command:
> sudo /opt/lampp/lampp start
>
> #You should now see something like this on your screen:
>
> #Starting XAMPP 1.6.4...
> #LAMPP: Starting Apache...
> #LAMPP: Starting MySQL...
> #LAMPP started.
>
>
> #Ready. Apache and MySQL are running.
>
>
> *ubuntu-users-request at lists.ubuntu.com* escribió:
>
> Send ubuntu-users mailing list submissions to
> ubuntu-users at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> or, via email, send a message with subject or body 'help' to
> ubuntu-users-request at lists.ubuntu.com
>
> You can reach the person managing the list at
> ubuntu-users-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-users digest..."
> Today's Topics:
>
> 1. Re: Can't print (version 7.10 - Gutsy Gibbon) to a printer
> connected locally (NoOp)
> 2. Re: Prevent (Gerald Dachs)
> 3. Re: LAMP (Jensen Somers)
> 4. RE: Dovecot versus Postfix (Jan Sneep)
> 5. Re: LAMP (Darryl Tidd)
> 6. Re: LAMP (Joe Abi Raad)
> 7. Mouse doesn't open anything in the toolbar any more!
> (Ashley Benton)
> 8. Re: How to filter search results in a google or yahoo
> searchengineresult list (niel)
> 9. Re: How to filter search results in a google or yahoo
> searchengineresult list (Mark H. Nichols)
> De: NoOp <glgxg at sbcglobal.net>
> A: ubuntu-users at lists.ubuntu.com
> Fecha: Tue, 13 Nov 2007 08:16:08 -0800
> Asunto: Re: Can't print (version 7.10 - Gutsy Gibbon) to a printer
> connected
> locally
>
> On 11/12/2007 06:34 PM, Scott Kaplan wrote:
> > I installed the download - no luck. In Unbuntu 7.10 is there a log
> > file that shows print debug information?
> >
> > Thanks, Scott
> >
> > On Nov 11, 2007 10:26 PM, NoOp <[it's impolite to include full email
> addresses in quotes]>sbcglobal.net> wrote:
> >>
> >> On 11/11/2007 07:37 PM, Scott Kaplan wrote:
> >>> I apologize in advance for the newbie question. I am very new to
> >>> Unbuntu and linux. I installed Ubuntu yesterday and everything
> >>> works great except for printing. The only documentation I could
> >>> find for how to set up a printer in Ubuntu is in version 7.4.
> >>> From some documentation I found online it sounded like the
> >>> Printer Configuration dialog is new in 7.10.
> >>>
> >>> I am trying to print to my Lexmark x7350. It is connected
> >>> directly to my Ubuntu box via USB
> >>>
> >>> Here are the steps I tried: System->Administration->Printing The
> >>> Printer configuration - localhost dialog showed the following
> >>> information: Description: Lexmark 7300 Series
> >>> Location: Device URI:
> >>> usb://Lexmark/%207300%20Series Make and Model: Lexmark 7000
> >>> Foomatic/lex7000 (recommended) Printer State: idle
> >>> Default Printer: This is the default printer
> >>>
> >>> I clicked the Print Test Page button and I got a popup:Submitted
> >>> - Test page submitted as job 1. I clicked OK to this.
> >>>
> >>> Unfortunately nothing ever printed. I also tried to print from
> >>> an Open Office doc - no luck.
> >>>
> >>> Thanks in advance, Scott
> >>>
> >>
> >> Lexmark printers can be a problem. Go here and download:
> >>
> >> And the Lexmark driver:
> >>
> >> [http://preview.tinyurl.com/39q8wo] Drivers
> >> print-drivers-linux-glibc2-x86.deb
> >> Version 5.3.3 Driver for Debian and Linspire Linux Systems
> >>
>
> Check in /var/log/cups/error.log
>
> However, I suspect that the problem is simply that the ppd file never
> makes it to the /etc/cups/ppd directory. When you installed the lexmark
> drivers it should have untarred a ppd file:
> Lexmark-Z35-lxz35cj-cups.ppd. See if you can find that on your system
> and copy it to /etc/cups/ppd. That ppd file is really all that you
> should need to use the printer.
>
>
>
> De: Gerald Dachs <ubuntu at dachsweb.de>
> A: ubuntu-users at lists.ubuntu.com
> Fecha: Tue, 13 Nov 2007 17:21:42 +0100
> Asunto: Re: Prevent
>
> Am Tue, 13 Nov 2007 16:43:17 +0100
> schrieb Nils Kassube :
>
> > Gerald Dachs wrote:
> > > Quoting Nils Kassube :
> > > > Luca Di Vizio wrote:
> > > >> Hi all,
> > > >> I'm making a Live CD (based on Xubuntu) for children. One of the
> > > >> requirements is that the internal disks (IDE, Serial ATA and
> > > >> SCSI) are not visible to the user, but I want to allow them to
> > > >> write on USB disks... I've no idea how to solve this problem...
> > > >> please help me!
> > > >
> > > > Make your own kernel without support for IDE / SATA / SCSI
> > > > controllers.
> > >
> > > No easy task, because he would have to put the whole content of the
> > > Live CD into the initrd and let it load into the memory before
> > > the kernel starts. Without this controllers the kernel can't access
> > > the CD-Rom anymore.
> >
> > Arrgh - good catch! Then it would only work with the system on USB
> > stick instead of CD. I know that is possible, but not all mainboards
> > support booting from USB stick.
>
> Even then he should not switch off EVERY module that has SCSI in the
> name, as some of them are need by usb-storage IIRC.
>
> Gerald
>
>
> De: "Jensen Somers" <jensen.somers at gmail.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 18:01:12 +0100
> Asunto: Re: LAMP
>
> Hello,
>
> On Nov 13, 2007 4:32 PM, Darryl Tidd wrote:
> >
> > Jensen Somers wrote:
> >
> > Hello,
> >
> > On Nov 13, 2007 4:04 PM, Darryl Tidd wrote:
> >
> >
> > I have installed the LAMP stack on Ubuntu, and when I navigate to
> > http://localhost/test.php (file I created) Firefox and Konqueror ask me
> > if I want to save the file instead of opening the page. Suggestions?
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
> > How did you install LAMP?
> > The main reason this occurs is an incorrect setup when the Apache
> > server does not threat the PHP files correctly and sees them as binary
> > files.
> > Make sure the correct PHP modules are loaded by the Apache
> configuration.
> >
> > - Jensen
> >
> >
> > Installed via apt-get, I use a2enmod command but see no php modules
> listed.
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
>
> Could you check if libapache2-mod-php5 is installed? If you install
> the php5 meta package this should be done automatically.
>
> - Jensen
>
>
> De: "Jan Sneep" <jan at azureservices.ca>
> A: "'Ubuntu user technical support,
> not for general discussions'" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 11:48:05 -0500
> Asunto: RE: Dovecot versus Postfix
>
> > All my setups use sendmail or qmail and dovecot. If you need
> > help there I
> > and I'm sure a million others can help.
> >
> >
> > --
> > Cheers
> > Res
>
> OK, usually I try to find a document someplace before I bother the list
> with
> specific details so I'm not wasting folks time.
>
> Both the Postfix and Dovecot servers are up and running based on all the
> tests I have read about and done. Installed themselves when I loaded the
> LAMP server software.
>
> But how do you send mail to either one?
>
> I don't have an Internet domain name for the server as it is strictly for
> use on the LAN. I have called the machine "Ubuntu", yes I know terribly
> creative, but it seemed like a good idea at the time. I am trying to
> replace
> an old version of Microsoft Mail that came with the Windows '95 disk.
> Using
> MS Outlook as the client software on my Win XP machine I can go into
> Tools -> Services and click on "Add" and select "Microsoft Mail" from the
> choices. All I have to do then on the window that pops up is browse to the
> folder on the LAN that holds the mailboxes and I'm done the setup. This
> setup automatically reads what mailboxes have been created and adds them
> to
> my Address Book, so I just have to click on a name and click send to have
> it
> go.
>
> Using Webmin I can see under Servers -> Postfix Configuration an Icon for
> User Mailboxes which shows me 41 mailboxes, 5 of these are the family
> users
> that I have created through the Gnome System -> Administration -> Users
> and
> Groups, which only shows me the 5 family members and the root user.
>
> [This brings up another question: how do I get rid of users
> "openexchange",
> "open-xchange and "oxadmin", which are left over from my attempt to get
> Open
> Exchange working on the server, spent months on that one, but in the end
> had
> to give up as the documentation just didn't work for Ubuntu and no one on
> the Open Exchange forum could help, so now have managed to get eGroupware
> working]
>
> Up until I started to play around with the settings for Postfix and
> Dovecot
> there were no messages in anybodies mail box, however I now have 123
> messages in my "jan" mailbox. Webmin tells me they are in /var/mail/jan
> and
> when I look at them they are all from Cron Daemon. when I open one of them
> it is addressed from root at ubuntu.localdomain (Cron Daemon) addressed to
> root at ubuntu.localdomain. With a subject of "Cron cd / &&
> run-parts -- report /etc/cron.hourly" and the following message
> "run-parts:
> run-parts: component /etc/cron.hourly/spamrunner is a broken symbolic
> link"
>
> Of course if I try to address any mail from my Win XP machine to either
> jan at ubuntu.localdomain or root at ubuntu.localdomain it fails because of
> course
> my default email account attempts to use my ISP's SMTP server to send the
> mail and it is looking for an Internet domain name called
> ubuntu.localdomain
> and DNS can't find that one on the public servers ... :O)
>
> So, How does one actually use the server once it is up and running? and
> now,
> How can I fix the Cron problem?
>
> Any help, emails, documentation or links to web sites would be greatly
> appreciated.
>
> Jan
>
>
> De: Darryl Tidd <darryl.tidd at daaokc.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 11:27:32 -0600
> Asunto: Re: LAMP
>
> Jensen Somers wrote:
> > Hello,
> >
> > On Nov 13, 2007 4:32 PM, Darryl Tidd wrote:
> >
> > Could you check if libapache2-mod-php5 is installed? If you install
> > the php5 meta package this should be done automatically.
> >
> > - Jensen
> >
> >
> Says it is installed and the newest version.
>
>
> De: "Joe Abi Raad" <joe.abiraad at gmail.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 19:41:41 +0200
> Asunto: Re: LAMP
>
> Hi Darryl
> go to
> http://joeabiraad.com/linuxunix/installing-lamp
> -on-ubuntu-710-linuxapachemysqlphp/100
> there is a good guide on installing LAMP on ubuntu 7.10
>
>
>
> On Nov 13, 2007 5:04 PM, Darryl Tidd <darryl.tidd at daaokc.com> wrote:
>
> > I have installed the LAMP stack on Ubuntu, and when I navigate to
> > http://localhost/test.php (file I created) Firefox and Konqueror ask me
> > if I want to save the file instead of opening the page.  Suggestions?
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
> De: "Ashley Benton" <meggalen at gmail.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 13:24:51 -0500
> Asunto: Mouse doesn't open anything in the toolbar any more!
>
> Hi,
> I was putting some applets on my toolbar when an error report showed
> up and froze the system. As I didn't know what to do or which
> application to kill I rebooted the computer. Now I have trouble with
> my mouse. I can see the arrow of the mouse and move it, if I right
> click on the screen or click on something that is on the desktop that
> works but if I try the toolbar nothing happen. Does anybody have any
> idea of what I should do? Right now I am stuck out of my home and
> everything that is on the toolbar.
> I am using ubuntu 6.10
> Thank you
> Meg
>
>
> De: niel <bqz69 at telia.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 19:25:14 +0100
> Asunto: Re: How to filter search results in a google or yahoo
> searchengineresult list
>
> On Monday 12 November 2007 23.15.00 Tipton, Timothy wrote:
> > > I will try to explain a little more detailed, what kind of program I
> >
> > am
> >
> > > looking for:
> > >
> > > First I search in an search engine, and get 7.900 search results split
> >
> > up
> >
> > > on
> > > 79 individual search result pages (1,2,3 etc), all linked from the
> >
> > first
> >
> > > search result page.
> > >
> > > Then I would like to do a free text search on those 7.900 search
> >
> > results,
> >
> > > based on a more specific search term (I know what I am looking for),
> >
> > and
> >
> > > then
> > > end up with maybe 80 search results, specific aimed at what I am
> >
> > looking
> >
> > > for.
> > >
> > > Then again i maybe would like to do another still more specific search
> >
> > on
> >
> > > those 80 search results, and maybe end up with 18 results.
> >
> > I don't know about yahoo, but on Google, if you do a search, for
> > instance, on "gold rings" you get 1 million plus pages, if you scroll to
> > the bottom of the page of the first results, there's a link there that
> > says " Search within results" ... which takes you to a new search page,
> > but only searches within the results of your original search.
> >
> > I would post a screenshot here, but since it's plain text... well...
> >
> >
> > Give that a try.
> > Tim
>
> Strange things happen:
>
> I am now searching for information about getting windows vista to double
> boot
> together with ubuntu 7.10 (my problem is, that vista will not boot when
> double installed together with ubuntu 7.10 - have tried two times).
>
> I searced using firefox, in google on the following phrase:
>
> "how to make vista double boot with ubuntu" (46.100 results)
>
> then I gradually reduced the number of results by adding single words:
>
> "how to make vista double boot with ubuntu -virtual" (10.900 results)
> "how to make vista double boot with ubuntu -virtual -xp" (23.900 results)
> "how to make vista double boot with ubuntu -virtual -xp +7.10" (398
> results)
> "how to make vista double boot with ubuntu -virtual -xp +7.10 -triple"
> (393
> results)
>
> Then I used the "search within results" option, and inserted "+vista"
> and got 935 results (that's a lot more than 393)?
>
> When I searched using konqueror, searching on the same phrase, I ended up
> with 427 search results?
> When I then tried "search within results" and inserted "+vista" I got 2890
>
> results.
>
> I did never use any double quotes in my search.
>
>
> De: "Mark H. Nichols" <ubuntu.prole at gmail.com>
> A: "Ubuntu user technical support,
> not for general discussions" <ubuntu-users at lists.ubuntu.com>
> Fecha: Tue, 13 Nov 2007 12:44:22 -0600
> Asunto: Re: How to filter search results in a google or yahoo
> searchengineresult list
>
>
> On Nov 13, 2007, at 12:25 PM, niel wrote:
>
> Strange things happen:
>
> I am now searching for information about getting windows vista to double
> boot
> together with ubuntu 7.10 (my problem is, that vista will not boot when
> double installed together with ubuntu 7.10 - have tried two times).
>
> I searced using firefox, in google on the following phrase:
>
> "how to make vista double boot with ubuntu" (46.100 results)
>
>
> Try searching for "vista ubuntu dual boot"
>
> http://www.google.com/search?client=safari&rls=en&q=vista+ubuntu+dual+boot&ie=UTF-8&oe=UTF-8
>
> Third of 1,690,000,000 results:
> http://ubuntuforums.org/showthread.php?t=207870
>
> For me at least, relying on Google's relevancy (i.e., ranking) usually
> satisfies and I don't need to go beyond the 4th or 5th result returned.
>
> Mark
> --
> Release 7.10, Kernel 2.6.22-14-generic
> Dual 3.4 GHz Intel(R) Pentium(R) 4 CPU
> 2.2 GB RAM, ATI Radeon X300 Graphics
> Registered Linux User # 458073
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> ------------------------------
>
> Comparte video en la ventana de tus mensajes (y también tus fotos de
> Flickr).
> Usa el nuevo Yahoo! Messenger versión Beta.
> Visita http://mx.beta.messenger.yahoo.com/
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>


-- 
-- 
...veliko lepih trenutkov...
Tereza
http://za-te.net

"A Dream is a Wish...
Much better than any Fantasy...
The only problem...
Is the time it takes to become
a Reality"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071120/af95c98a/attachment.html>


More information about the ubuntu-users mailing list