Thread: PHP Installation
Results 16 to 30 of 49
Related
-
Need help on Apache Installation Please Forum: PHP Forum
Replies: 2 -
skins/templete installation prob. Forum: HTML Forum
Replies: 2 -
Installation Problem in perl dbi on windows-xp using DBI-1.38.tar Forum: CGI Perl Forum
Replies: 0
-
08-18-2001, 08:35 PM #16
Well..
If you on windows, you need to lick shift + rightclick on a .php file, and click Open With, select Internet Explorer and check the box that say all the time
-
08-19-2001, 05:47 AM #17
Heres how to setup a file type
To setup .php -
Start Button -> Settings -> Folder Options
Then choose File Types
That brings up all your extensions.
Choose Create New Type, asks for extension and name.Give it a name etc
There is a box called Actions. Below that, choose New.
Call the new action Open. Then it asks for a program to perform the Action. Browse to
C:\Program Files\Internet Explorer\iexplore.exe
Done. Now Create another New Action. Call it Edit (or whatever) and browse to C:\windows\notepad.exe or your favourite text editor.
Choose Apply and your done. Windows should even give it a nice IE icon, but if it doesnt, just choose one.
For looking at the files in PHP, then -
You should have, somewhere, a document root for your server software. This is where the page comes up when you type in localhost in the browser.
If you put a folder in there, call it practice, then put one of your php scripts in that folder, you can see it with
http://localhost/practice/yourpage.php
And thats how it works
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
08-19-2001, 09:15 AM #18
Re: Heres how to setup a file type
Originally posted by QuietDean
To setup .php -
Start Button -> Settings -> Folder Options
Then choose File Types
That brings up all your extensions.
Choose Create New Type, asks for extension and name.Give it a name etc
There is a box called Actions. Below that, choose New.
Call the new action Open. Then it asks for a program to perform the Action. Browse to
C:\Program Files\Internet Explorer\iexplore.exe
Done. Now Create another New Action. Call it Edit (or whatever) and browse to C:\windows\notepad.exe or your favourite text editor.
Choose Apply and your done. Windows should even give it a nice IE icon, but if it doesnt, just choose one.
For looking at the files in PHP, then -
You should have, somewhere, a document root for your server software. This is where the page comes up when you type in localhost in the browser.
If you put a folder in there, call it practice, then put one of your php scripts in that folder, you can see it with
http://localhost/practice/yourpage.php
And thats how it works
-Eric
-
08-19-2001, 09:27 AM #19
Yes, but
It's always useful to know where to change these things if the need arises.
Plus, I have three options for every web extension I use,
Open IE
Open NN
Edit
Can't setup stuff like that without knowing where the filetypes are managed from.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
08-19-2001, 09:51 AM #20
True......
(I don't care anywayz.. GO LINUX!)
-
08-19-2001, 10:19 AM #21
Agreed!
I will!
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
08-19-2001, 06:35 PM #22
LAST problem
I'm havin trouble understanding the part about making a folder in the localhost root directory?
You should have, somewhere, a document root for your server software. This is where the page comes up when you type in localhost in the browser.
-
08-19-2001, 07:15 PM #23
If you installed foxserv, i believe your root folder is c:\foxserv\www\
Thats where u put ur files, say c:\foxserv\www\test.php
would be localhost\test.php
If your using netscape, try localhost.localdomain\test.php
-
08-19-2001, 09:00 PM #24
problems
ok, I have more problems now.
I installed the php and everythin in program files and a folder called php, I don't know if that's a problem so that may have somethin to do with it. I went to the localhost,www, I have apache runnin and it says the php is runnin, and I have mysql runnin (with the green light of course), but when I click on any php document, a quick download thing comes up then disappears and that's all that happens. I dont' know what I did wrong. I even tried yoru way zaire of making the documents open through internet explorer. I'm really confused now.
-
08-19-2001, 09:22 PM #25
ok
I just made my own page called "hello.php" in the www folder, and it displayed! Problems over, right? No. Now I tried two simple scrips from the intro tutorial at php.net, but they wouldn't work! Any suggestions?
-
08-19-2001, 09:49 PM #26
what scripts would they be?1?1?1
-
08-19-2001, 11:09 PM #27
scripts
<html><head><title>PHP Test</title></head>
<body>
<?php echo "Hello World<p>"; ?>
</body></html>
Nothin showed up, html will show up but not php.
<html><head><title>PHP Test</title></head>
<body>
<?php echo $HTTP_USER_AGENT; ?>
</body></html>
And this, both from the intro on the php.net page.
-
08-20-2001, 01:09 PM #28
Are you looking at the page through localhost/www/yourpage.php or are you just viewing the page through your browser, C:\php\www\yourpage.php?
basically, whats it say in the address bar?If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
08-20-2001, 01:15 PM #29
OOPS!
Sorry, Z. didn't see all your posts above explaining this already.
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
08-20-2001, 02:37 PM #30
it's cool
I put it where you said dean
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum