when viewing php or index file, browser ask to save!

34 posts / 0 new
Last post
#1 Thu, 07/01/2010 - 10:33
gwizzie

when viewing php or index file, browser ask to save!

I have installed Ubuntu 8.04 with Webmin and Virtualmin. I have installed PhPMy Admin with Webmin. I have installed Apache with Webmin. All running ok but when I go to http://localhost I get IT Works

now that is working

But when I go to http://localhost/test/ I get a list of all this files in that folder! If I click on the index file or any file .php it asks me to save it or to open with!

it loads html file ok (displays them ok in browser firefox)

Please HELP. its driving me crazy.

Thu, 07/01/2010 - 10:43
andreychek

Howdy,

It sounds like you may need to create a Virtual Server... if you log into Virtualmin, choose "Create Virtual Server".

Create one, then install phpMyAdmin in it (that'll be in /home/USERNAME/public_html).

After that, you should be able to browse to that Virtual Server, and it should execute your PHP correctly.

-Eric

Thu, 07/01/2010 - 11:06 (Reply to #2)
gwizzie

Hi Eric, many thanks for your quick reply :-). I will try this !!

How do I install phpMyAdmin in it (when I have created a Virtual Server)

Graham

Thu, 07/01/2010 - 11:22
andreychek

Howdy,

Once you have a Virtual Server, you'll have a dir such as "/home/USERNAME/public_html". Any files in that public_html directory become part of your website.

So, actually performing the installation is a matter of following the phpMyAdmin installation instructions, but you'd want to put it somewhere within the public_html dir.

You can find the download link and installation instructions on the phpMyAdmin site:

http://www.phpmyadmin.net/home_page/downloads.php

Thu, 07/01/2010 - 11:30
gwizzie

Hi Many thank I will try this in a few mins and let you know who I get on !

many thanks again for your helpfull replys :-)

Graham

Thu, 07/01/2010 - 12:00
gwizzie

Hi sorry I have had a look and tried to download files but they would not open also cant see how to install? sorry for being so stupid :-(

Thu, 07/01/2010 - 12:31
andreychek

Howdy,

Well, that's one of the reasons some folks enjoy the Pro version of Virtualmin so much... it makes installation of things like phpMyAdmin simple and seamless :-) One click, and it's done!

However, I did some searching on Google, and came up with this wiki link here that contains phpMyAdmin installation instructions:

http://wiki.phpmyadmin.net/pma/Quick_Install

Thu, 07/01/2010 - 13:27
gwizzie

Hi so to get on and be able to install my test websites and learn a lot more but be easier for me you would say to get the Pro Version ?? that way It would do it all for me??

is this the one I would have to get?? http://www.virtualmin.com/catalog/cloudmin/10

Thu, 07/01/2010 - 14:05
andreychek

Howdy,

Well, first off, the link you shared above is for Cloudmin, not Virtualmin... if you do end up purchasing Virtualmin Pro, make sure you buy Virtualmin and not Cloudmin :-)

You can see a list of differences between the GPL and Pro versions of Virtualmin here:

http://www.virtualmin.com/compare.html

Also, you can see a demo of it here:

https://www.virtualmin.com/demo

And it comes with a 45 day money back guarantee.

The thing that you might be particularly interested in are the "Install Scripts". There's 80+ web apps available that you can install just by clicking a button, which makes it all super-easy.

If you have any questions, feel free to ask.

Have a good one!

-Eric

Thu, 07/01/2010 - 14:30
gwizzie

Hi, Thanks again so I will be able to install and run websites for testing and also host them If I desided to do that later when I have picked your brains :-)

I have had a look and if I deside to buy Virtualmin Pro were can I get this as I cant see were ??? am I missing something or just looking to hard??

Also the https://www.virtualmin.com/demo is DOWN not loading..

Graham

Thu, 07/01/2010 - 14:46
gwizzie

Hi one final question I need the Zend engine to work on this does this have this plugin or script to get this to work??

Thu, 07/01/2010 - 15:06
andreychek

Thanks again so I will be able to install and run websites for testing and also host them

Well, just to clarify -- you can host websites and such using the GPL version of Virtualmin. The Pro version comes with some additional features, and tries to make your life a bit simpler by doing some of the hard parts for you.

Also the https://www.virtualmin.com/demo is DOWN not loading..

Nuts... yeah, sometimes some clowns go in there and break things. I believe it's setup to fix itself every few hours. You might just want to try again in a bit.

one final question I need the Zend engine to work on this does this have this plugin or script to get this to work?

The Zend engine will work, though there's unfortunately no plugin/script to do that for you. So that one would need to be installed manually.

-Eric

Thu, 07/01/2010 - 15:18
gwizzie

HI Eric, Thanks again for your quick replys. I think that I will go with it and just get the Pro version that way as you say It will be easier and i can always ask for help if needed?

As for the zend engine I would just need to know were a few things are installed?? Apatche and php directorys I think... Can you assist with this? Sorry just new to linux so lots to learn.....

Thu, 07/01/2010 - 15:34
andreychek

I think that I will go with it and just get the Pro version that way as you say It will be easier and i can always ask for help if needed?

Sounds good! Again, it does come with a money back guarantee, so if you're unhappy, simply say so and you'll be reimbursed the purchase cost.

As far as Support goes -- officially, what you can expect help with is Virtualmin and the related things it sets up. If something Virtualmin sets up doesn't work, let us know! If you're not sure where to find something, we'll help you figure out where it is. You can also make bug reports and feature requests. If you're working with Virtualmin and come up with an idea that you'd like to see in it -- let us know! Jamie is pretty responsive to those sorts of things :-)

While we can't fully administer all aspects of your system for you, we also want you to see you succeed. So if you have questions, just ask away and we'll do our best to help :-)

I'm not familiar with what's involved as part of the installation of Zend... if it's installer is asking you questions you don't know the answer to, go ahead and ask here. I unfortunately don't know off the top of my head how to go about installing it though.

I hope that helps answer your questions!

-Eric

Thu, 07/01/2010 - 15:43
gwizzie

Ok Paid just waiting now!!! also how do I uninstall the other copy???

Graham

Thu, 07/01/2010 - 15:49
andreychek

You can see your license and serial # here:

http://virtualmin.com/serial/

While you could uninstall your current copy, an even simpler way to getting going with the Pro version would be to have it perform an in-place upgrade. There should be an option for upgrading Virtualmin on the bottom-left of the navigation menu when you log into Virtualmin.

-Eric

Thu, 07/01/2010 - 15:51
gwizzie

No Not seeing anything??? cant see license or serial??

Graham

Thu, 07/01/2010 - 15:58
andreychek

Ahh, I see, it looks like it's still waiting for your payment to go through.

So yeah, hopefully that goes through soon and you can do your upgrade!

-Eric

Thu, 07/01/2010 - 16:09
gwizzie

Any idea how long this will take?? Hrs, Days??

Sorry Just want to get going :-)

Thu, 07/01/2010 - 20:58
andreychek

Well, it's often immediate... so if it's not immediate, it's hard to say, it depends on what the problem is.

What payment type did you use?

-Eric

Thu, 07/01/2010 - 20:58
andreychek

Well, it's often immediate... so if it's not immediate, it's hard to say, it depends on what the problem is.

What payment type did you use?

-Eric

Fri, 07/02/2010 - 02:57
gwizzie

Hi Eric, I know it should be immediate as its paypal that i used!! I have checked and it still says pending. Can you please look into this as this has been 12hrs now and funds there ok for payment, so the hold up must be at your end..

I never got a paypal payment statment I only got an email from you guys saying I had ordered it and used paypal to pay. Do you want me to try again or can you not issue a licence seial number untill payment comes through??? as if I am not happy with the software you will be refunding me with in nthe 45days??.

Please advise asap please as getting fedup waiting now :-(

Fri, 07/02/2010 - 04:07
gwizzie

Hi I have seen why this is taking so long!!!! I have used the wrong PayPal account PLEASE CANCELL Order 3283...

I will re-order with the correct account.... SORRY...

Graham

Fri, 07/02/2010 - 08:36
andreychek

Unfortunately, I don't have the ability to check or cancel orders, Joe will need to do that.

What you'll want to do is file a request using the Support link at the top of the site, and in there, mention that you used the wrong Paypal account and would like to cancel order #3283.

-Eric

Fri, 07/02/2010 - 12:36
gwizzie

Hi Thanks, I have emailed Joe direct to deal with this.....

can you please advise me were php.ini file is located also Apatche exe file please.

need detail to install Zend engine

Fri, 07/02/2010 - 13:01
andreychek

Howdy,

When you click the "Support" button above, see where it says "Step #2"? That contains a link labeled "bugs and issues tracker". Click that and you can file a support request.

As far as where the php.ini file goes -- each Virtual Server has an individual php.ini. It's located in $HOME/etc/php.ini.

For example, if your username is "foo", the php.ini for that user would be located in "/home/foo/etc/php.ini".

-Eric

Fri, 07/02/2010 - 15:00
gwizzie

Hi thanks will do that aswell just to be sure it has been dealt with!!

thanks I think I understand now :-)

but were is Apatche stored??

Graham

Fri, 07/02/2010 - 15:10
andreychek

but were is Apatche stored??

That's a trick question :-)

Apache is made up of hundreds of files all across the filesystem... so it's difficult to say "Apache is stored here".

So, rather than answering that, I'll ask you a question... what problem are you trying to solve? :-) If you explain what exactly you're trying to do, I may be of more assistance.

-Eric

Fri, 07/02/2010 - 17:37
gwizzie

HI Eric, this is what I have to get running http://www.linuxweblog.com/blogs/manoj/20080624/zend-optimizer-installat...

you have some ref to it here https://www.virtualmin.com/documentation/webdev/php

but me I need a step by step :-(

also it keeps asking for the installation location of apache executable. the full path to the apatche binary (httpd)

Graham

Fri, 07/02/2010 - 17:36
andreychek

On Ubuntu, the full path to the Apache control utility is:

/usr/sbin/apachectl

Fri, 07/02/2010 - 17:46
andreychek

it keeps asking for the installation location of apache executable. the full path to the apatche binary (httpd)

That's located here:

/usr/sbin/apache2

Fri, 07/02/2010 - 17:50
gwizzie

HUM keeps saying that the directory/file does not exist???

can you not try and install this so that you can see what Im up against??? :-)

Fri, 07/02/2010 - 18:21
andreychek

Well, I'm not really familiar with the installation of Zend, so it's difficult to know what exactly is going wrong...

However, on Ubuntu, the Apache executable is "/usr/sbin/apache2" by default.

At what point is it saying no such file or directory? Which question had you just answered?

-Eric

Fri, 07/02/2010 - 18:30
gwizzie

Hi Eric,

It was me not typing correctly been at this all day looking at the web and tring di things but nothing is working...

I did get it to install but website still saying its not installed...????

will try again tomorrow ZZZZZzzzzzzzz

thansk for your replys...

Graham

Topic locked