Quantcast

Maximum PC

It is currently Sat Jul 26, 2014 9:57 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Installing PHP
PostPosted: Tue Jul 20, 2004 5:59 pm 
8086
8086

Joined: Mon Jul 19, 2004 12:29 pm
Posts: 15
Location: Boston
Hi All,

In a recent decision to learn myself more than HTML and simple Flash, I gained the initiative to teach myself PHP. I was told by a few friends that it wasn't too hard to learn, but at the same time wicked powerful.

Sooooo, I strolled over to php.net, and downloaded the windows binary (I'm on XP) for version 4.3.8 (yes, I know that v5 is out, but I am planning on taking a class from New Horizons that covers v4).

In any event, I read through the readme, installed MySQL and got that up and running, and I have IIS 5.1 running, since I have previously been hosting my own website.

I thought that I had installed all of the PHP stuff correctly, but apparently not. I checked out a couple websites (phpbuilder.com (?), and a page on O'Reilly). According to the walkthroughs that I have read, it appears that I have everything installed correctly. Although, I cannot get any *.php pages to open.

So, what I'm asking is, can anyone help me to install PHP? Post a good link that explains it, or any other help would be more than appreciated!

Thanks guys,

Jon


Top
  Profile  
 
 Post subject:
PostPosted: Fri Jul 23, 2004 10:37 am 
8086
8086

Joined: Wed Jul 14, 2004 2:26 pm
Posts: 25
Location: Great White North
Try this and see if it helps.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Jul 23, 2004 2:39 pm 
Northwood
Northwood
User avatar

Joined: Sun Jul 11, 2004 12:35 pm
Posts: 2039
Location: Houston, TX
i thought the stuff at php.net is only for running servers with php pages. if you're just viewing them, there shouldn't be a problem.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Jul 23, 2004 3:46 pm 
Coppermine
Coppermine
User avatar

Joined: Sat Jul 17, 2004 3:29 am
Posts: 637
Location: MA
Hmmmm. I know on Linux that you have to compile Apache with PHP support...as well as some other config options to let your web server know that .PHP is a valid extension

[From my httpd.conf file]

Code:
<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi
</IfModule>


Code:
#
     # To enable the php content type
     #
     AddType application/x-httpd-php .php


Code:
LoadModule php4_module        libexec/libphp4.so
AddModule mod_php4.c


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jul 26, 2004 9:13 am 
8086
8086

Joined: Mon Jul 19, 2004 12:29 pm
Posts: 15
Location: Boston
cigar3tte wrote:
i thought the stuff at php.net is only for running servers with php pages. if you're just viewing them, there shouldn't be a problem.


I'm able to view other people's php pages on the web with no problem. I'm actually trying to create my own php pages on my personal web server.


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jul 26, 2004 9:14 am 
8086
8086

Joined: Mon Jul 19, 2004 12:29 pm
Posts: 15
Location: Boston
HoOdY wrote:
Hmmmm. I know on Linux that you have to compile Apache with PHP support...as well as some other config options to let your web server know that .PHP is a valid extension

[From my httpd.conf file]

Code:
<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi
</IfModule>


Code:
#
     # To enable the php content type
     #
     AddType application/x-httpd-php .php


Code:
LoadModule php4_module        libexec/libphp4.so
AddModule mod_php4.c


I think that I've already done this....I set up the settings in IIS for php to use php.exe to read the code. But no luck so far. I ordered a book specifically for php and mysql, so hopefully this will help me.

thanks


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group