Official Cpanel Newbie Guide Published: Oct 22, 2003
  • Rating

    4/5

This guide helps walk you through installing PHP on Windows 2003 Web Server Edition with easy step-by-step instructions, PHP and Windows can finally play nice.

Howto: Install PHP on Windows 2003 Web Edition

1) Download latest version of PHP from www.php.net
2) Unzip contents to c:\php\
3) Copy all files from c:\php\dlls\ to c:\windows\system32\
4) Copy all files from c:\php\sapi\ to c:\windows\system32\
5) Copy c:\php\php.ini to c:\windows\php.ini

6) Open IIS, and add a "Web Service Extension"
7) Call the extension "PHP"
8) set the path as c:\windows\system32\php4isapi.dll
9) set the status to "allow"
10) Right click the "Web Sites" folder, and select properties
11) On the "Home Directory" tab, select "Configuration"
12) Click "Add", then browse to c:\windows\system32\php4isapi.dll, set the extension as .php, and deselect "Verify that the file exists".
13) Click Okay
14) Apply the setting to all sites.
15) Restart IIS

Congratulations, you now have a working PHP installation.

Thanks to: Sunmoon on Ev1 forums

  • Rating

    4/5

Related Articles

Comments (27)

  • Gravatar - Christian
    Christian 15:49, November 4, 2003
    I think this is fantastic - thank you very much.
  • Gravatar - Mindlash
    Mindlash 07:29, November 6, 2003
    Very nice compilation.

    What would extend this great list is a similar layout for security... how one should go about securing their server to the best of their ability. Don't be afraid to get a little technical with us. :-)
  • Gravatar - Huhgo
    Huhgo 19:23, November 6, 2003
    Yes, I like this start so far... but it could use more info.

    For instance: I would love to see something more detailed on admining the LOGS.
  • Gravatar - Felxi
    Felxi 03:37, November 19, 2003
    Love all tutorials on here, learnt quite abit, think you should submit loads more!
  • Gravatar - Tony
    Tony 14:19, November 21, 2003
    I would love to see a tutorial on log administration! to compliment this.

    Another thing you might like to add is that you can login to your users cpanel - by using there username with the root password ;)

  • Gravatar - Mean Dean
    Mean Dean 06:10, December 13, 2003
    What a great tutorial. Of course, it would be even better if there were an accompanying WHM tutorial for first time users/owners of dedicated or virtual hosts (esp. as the price continues to drop on these services).
  • Gravatar - John
    John 23:50, December 13, 2003
    Very good info. It would be worth adding how to set up your nameservers when you have multiple servers.

    -- John
  • Gravatar - Ryan
    Ryan 05:26, January 9, 2004
    For most servers, I think the command to restart cPanel is "/etc/init.d/cpanel" Worked for me :)
  • Gravatar - Steve
    Steve 22:30, March 25, 2004
    helped out a lot!
  • Gravatar - conf
    conf 21:42, June 25, 2004
    It's COOL!!!
  • Gravatar - SGHost
    SGHost 08:05, September 14, 2004
    some other stuff that you might want to stop/start/restart<br />
    ==================<br />
    /etc/init.d/cpanel stop<br />
    /etc/init.d/chkservd stop<br />
    /etc/init.d/httpd stop<br />
    /etc/init.d/mysql stop<br />
    /etc/init.d/pure-ftpd stop<br />
    /etc/init.d/exim stop<br />
    /etc/init.d/named stop<br />
    /etc/init.d/antirelayd stop<br />
    /etc/init.d/mdmonitor stop<br />
    /etc/init.d/portsentry stop<br />
    /etc/init.d/apf stop<br />
    /etc/init.d/syslog stop<br />
    /etc/init.d/crond stop<br />
    /etc/init.d/smartd stop<br />
    /etc/init.d/rhnsd stop<br />
    /etc/init.d/ipaliases stop<br />
    /etc/init.d/iptables stop<br />
  • Gravatar - Netstronaut
    Netstronaut 03:22, January 10, 2005
    Kernel Update via WHM:<br />
    <br />
    http://forums.ev1servers.net/showthread.php?s=&threadid=12622&highlight=up2date
  • Gravatar - Net
    Net 00:49, May 12, 2005
    I think they should update this ? Since cPanel has been updated.. and some things are not the same anymore.
  • Gravatar - Mathole
    Mathole 15:21, June 2, 2005
    I highly appreciate the good information and articles on this site. Keep up the good work!!
  • Gravatar - Chris
    Chris 01:20, October 24, 2005
    srry..I dont know how to log on to the root thingy...to type those commands...<br />
    what the crap is ssh and how do I get to where I type the commands...<br />
    help pleas.e.
  • Gravatar - Dilip Bhoromeyo
    Dilip Bhoromeyo 20:22, January 1, 2006
    This tutorial provides very excellent info for Newbies. I appreciate your endeavour through this task.
  • Gravatar - joshua
    joshua 18:23, May 7, 2006
    in-fukin-gredible!! i like that :)
  • Gravatar - tata
    tata 06:58, May 11, 2006
    i love it
  • Gravatar - mike
    mike 01:12, May 22, 2006
    Thank you so much! This explanation is what WHM itself should have included. They should pay you to rewrite the online manual.<br />
    Kind regards,<br />
    Mike.
  • Gravatar - Bobo
    Bobo 01:58, February 8, 2007
    great help.<br />
    <br />
    I have a question:<br />
    <br />
    Can the domain name being used for the hostname be used to host a site on CPanel?<br />
    <br />
    let me clarify. Suppose mu domain name is: "domain.com"<br />
    And suppose I used as server hostname the following: "myhost.domain.com"<br />
    <br />
    Can I, in this case, still use "domain.com" to host a site?<br />
    <br />
  • Gravatar - Roberto Medrano
    Roberto Medrano 14:33, March 10, 2007
    Excelente, me gustaria saber de los alias en los dominios<br />
    <br />
    parked how to?
  • Gravatar - ajujohnkk
    ajujohnkk 21:11, June 6, 2007
    its very helpful
  • Gravatar - Alan
    Alan 00:42, September 2, 2007
    Helps alot thank you for taking the time to help others great job!
  • Gravatar - Tyler
    Tyler 07:46, October 13, 2007
    This still did not help me. I set up site and it will not let me log in. I could not find what I was looking for. http://www.tylerblackwell.net/cpanel
  • Gravatar - corner
    corner 06:32, April 3, 2008
    based on older version but still decent enough intro for a newb like me so i bookmarked it thanks
  • Gravatar - Andrea Trachtenberg
    Andrea Trachtenberg 06:20, September 18, 2008
    i need a cpanel hosting
  • Gravatar - http://www.zamshed.info
    http://www.zamshed.info 08:13, July 19, 2010
    Great! nice tutorial. very helpful. thnx goes to author.

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2018 WebHostGear.com