473,396 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Installing an configuring PHP

saz
Hi,
I am new to PHP. I also have Dreamweaver installed on my Windows PC.
I'd like to start writing some simple PHP files. I just installed IIS
which is part of Windows XP. I verified that it works fine.

Now when I installed PHP from the www.php.net site, it asks me what
server I am using. There are 4 versions of IIS as choices. Which one do
I choose ?

Why is it that when I create a simple php file and place it in
c:/inetpub/www, when I double-click on the file it opens Dreamweaver.
How to I make it go to my IIS server and PHP application and not to
Dreamweaver ?

My .php file contains:
<pre>&lt;p&gt;This page was created at &lt;b&gt; &lt;?php echo
date(&quot;h:i:s a&quot;, time()); ?&gt; &lt;/b&gt; on the computer
running PHP.&lt;/p&gt; </pre>
Any help would be greatly appreciated.
Thanks,
Steve

Jan 5 '07 #1
2 1294
See below for answers

Hendri Kurniawan

saz wrote:
Hi,
I am new to PHP. I also have Dreamweaver installed on my Windows PC.
I'd like to start writing some simple PHP files. I just installed IIS
which is part of Windows XP. I verified that it works fine.

Now when I installed PHP from the www.php.net site, it asks me what
server I am using. There are 4 versions of IIS as choices. Which one do
I choose ?
I'm not sure about the ISS, but for win XP (I think... please confirm
with others) it's IIS4.
>
Why is it that when I create a simple php file and place it in
c:/inetpub/www, when I double-click on the file it opens Dreamweaver.
How to I make it go to my IIS server and PHP application and not to
Dreamweaver ?
Because Dreamweaver is the default app to open the file.
Not to worry though.... Navigate through VIA your browser, and type the
following address.
http://localhost/ following the name of your PHP file.
My .php file contains:
<pre>&lt;p&gt;This page was created at &lt;b&gt; &lt;?php echo
date(&quot;h:i:s a&quot;, time()); ?&gt; &lt;/b&gt; on the computer
running PHP.&lt;/p&gt; </pre>
Any help would be greatly appreciated.
Thanks,
Steve
Jan 5 '07 #2
saz wrote:
Why is it that when I create a simple php file and place it in
c:/inetpub/www, when I double-click on the file it opens Dreamweaver.
How to I make it go to my IIS server and PHP application and not to
Dreamweaver ?
Windows file associations, which can seen in any explorer (not IE, the
file explorer) window by choosing Tools/Folder Options/File Types.
Scroll down until you see "PHP", click "Change", then "Browse" to point
it to php.exe instead.

FWIW, IIS is OK, but in the minority so far as web server usage. If you
want to develop locally you may wish to try an all-in-one package like
XAMPP, which will install PHP/Apache/MySQL for you. Once it's up &
running you can examine the relevant config files (php.ini, httpd.conf,
my.cnf, etc.) to learn how to perform upgrades yourself in the future.

While DreamWeaver is a good app, I personally find it to be overkill for
editing PHP source code. A text editor is all you really need.
Consider getting a "programmer's" editor. I've used TextPad for some
years (costs around $30); there are also freeware editors such as PSPad.
A good one should support code hilighting (color-coding the words),
printing with line numbers, macros, and so on.

There are also PHP IDE's such as Komodo which will let you step through
code, for personal use they're not that expensive.
Jan 6 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
1
by: Ron Weldy | last post by:
So far, every book I have looks at on ASP.NET jumps right into creating a project. There is no discussion about setting up the environment, using a local IIS install (I think it can all be ran on...
8
by: Jeff B | last post by:
Hello, Im learning PHP along with MySql. I installed MySql with no problem and have completed several tutorials to learn it. Now when trying to use PHP code within an html page it dosn't...
4
by: Fensic | last post by:
Hello everyone. I am having a problem installing and configuring PHP 5.1.6. Initially I had it installed and working with Apache 2.2.3 and MySQL 5.0.24 but decided to abort and redo the...
0
by: vishalp79 | last post by:
Hi, I am trying to install DBD::Informix module on perl on hpux 11.23 machine. but i get this weird error ...... Set up gcc environment - 4.1.1 *** ExtUtils::AutoInstall version 0.61 ***...
1
by: vijaykumars | last post by:
+-----------------------------------------------------------------------------+ Summaries: +-----------------------------------------------------------------------------+ Installation...
2
by: liyankka | last post by:
I'm installing apache and php on a Fedora linux OS where while configuring Apache following error occured: configure: error: Cannot use an external APR-util with the bundled APR Please help.
0
by: =?Utf-8?B?U2ltb25EZXY=?= | last post by:
Hi All I would like to install the same Windows Service project on the same server under different names, one for each customer. I have been able to do it but I would like an expert opinion as...
0
by: spmanoj78 | last post by:
Hi, I am trying to install DB2 v8.2 on RHEL 5 in silient mode. Can anybody help me out. The Same DB2 v8.2 works fine on SUSE 10. ##################################################### ...
1
by: sanjeev1984chadha | last post by:
Hi I am facing trouble in calling PDFlib class i have a file called "export.php"and while running it from command prompt i get an error Fatal error: Class 'PDFlib' not found in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.