Hi all,
I am new to PHP and working through some tutorials, being fairly ok with html i'm understanding wher ei'm going and if something goes wrong in the page I can normally find it.
But here is my problem, mt test server has decided to throw a benny.
Apache2.2 php5.2 and mysql5.1 the server is running and i get that test page back it works a ok
but when i now execute any php file it is asking me to open or save it, open and it opens dreamweaver and svae well speaks for its self.
Has anybody any idea what has gone up the wall, or do i have the mundain task of trying to find it. only thing i have done since loading my serverside and php ect is then install dreamweaver.
Thanks for any help its really appreciated.
keith
Something gone wrong
Moderator: General Moderators
Re: Something gone wrong
Ok an update on my problem
When i first installed all programs i made a test.php with the following line <?php phpinfo(); ?>
this worked as it should and returned the data in it, that has since stoped working as well, open the pages with IE and they come up as a downlaod file to save open or cancel
the only thing i have done since installing php5 apache2,2 mysql5.1 and myphpadmin, is install my dreamweaver.
This was all installed on a formatted drive i made a few webpages php pages in programers notebook before i installed dreamweaver and they worked they have now stopped as well.
Could this be a dreamweaver problem
When i first installed all programs i made a test.php with the following line <?php phpinfo(); ?>
this worked as it should and returned the data in it, that has since stoped working as well, open the pages with IE and they come up as a downlaod file to save open or cancel
the only thing i have done since installing php5 apache2,2 mysql5.1 and myphpadmin, is install my dreamweaver.
This was all installed on a formatted drive i made a few webpages php pages in programers notebook before i installed dreamweaver and they worked they have now stopped as well.
Could this be a dreamweaver problem
Re: Something gone wrong
Sorry Guys
I said i was new to php, what a dumba$$ i am
was loading from c:/progetc/indeex.php rather than localhost/index.php
so that is that sorted all working again
i think
I said i was new to php, what a dumba$$ i am
was loading from c:/progetc/indeex.php rather than localhost/index.php
so that is that sorted all working again
i think
Re: Something gone wrong
You will have much better luck getting a response if you change your post title to something a little more descriptive. "Something gone wrong" doesn't get prospective helpers anything to go by. That could mean anything. Also, please don't use symbols to get past our language filters. They are there for a reason. Thanks! 
-
Goldwinterrain
- Forum Newbie
- Posts: 4
- Joined: Sun Mar 13, 2011 9:15 pm
Re: Something gone wrong
Ok an update on my problem
When i first installed all programs i made a test.php with the following line <?php phpinfo(); ?>
this worked as it should and returned the data in it, that has since stoped working as well, open the pages with IE and they come up as a downlaod file to save open or cancel
the only thing i have done since installing php5 apache2,2 mysql5.1 and myphpadmin, is install my dreamweaver.
This was all installed on a formatted drive i made a few webpages php pages in programers notebook before i installed dreamweaver and they worked they have now stopped as well.
Could this be a dreamweaver problem
When i first installed all programs i made a test.php with the following line <?php phpinfo(); ?>
this worked as it should and returned the data in it, that has since stoped working as well, open the pages with IE and they come up as a downlaod file to save open or cancel
the only thing i have done since installing php5 apache2,2 mysql5.1 and myphpadmin, is install my dreamweaver.
This was all installed on a formatted drive i made a few webpages php pages in programers notebook before i installed dreamweaver and they worked they have now stopped as well.
Could this be a dreamweaver problem
-
jim.barrett
- Forum Newbie
- Posts: 20
- Joined: Tue Mar 01, 2011 5:47 am
Re: Something gone wrong
Sorry if this is a stupid question...but how are you opening the files? Are you navigating the file system to where your localhost is and selecting 'open' or typing the url to your localhost into the browser?
on windows I think your localhost resides at something like c:/wamp/www ... correct? well, if you navigate to that folder in the file system and select to open a particular file, it will generally open with the default program..and as it happens Dreamweaver (unless you tell it not to during installation) sets itself to be the default program to open all sorts of file types.
try opening a browser and entering "localhost/" and the name of your local site and see if that helps?
on windows I think your localhost resides at something like c:/wamp/www ... correct? well, if you navigate to that folder in the file system and select to open a particular file, it will generally open with the default program..and as it happens Dreamweaver (unless you tell it not to during installation) sets itself to be the default program to open all sorts of file types.
try opening a browser and entering "localhost/" and the name of your local site and see if that helps?