TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-26-2008, 11:18 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default installation of php

i am on windows, and for a long time now i've been using wamp and now i have decided to do the manual installations.

i installed

php-5.2.5-win32-installer.msi
apache_2.2.8-win32-x86-openssl-0.9.8g.msi
mysql-essential-5.0.45-win32.msi


now when i go to view my localhost and i have a sample php page and when i run it. i am viewing my code as a text file for some reason the php is not running.

i have the apache service running.


what am i doing wrong.
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 01-26-2008, 11:35 PM   #2 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Why did you take this route anyway? Why did you delete WAMP, and decide to do the 'hard' way? WAMP has all three of those.. I don't get some people v_v
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-26-2008, 11:36 PM   #3 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

Quote:
Originally Posted by Orc View Post
Why did you take this route anyway? Why did you delete WAMP, and decide to do the 'hard' way? WAMP has all three of those.. I don't get some people v_v
becaues im sure on the job i wont be using wamp, and im going to have to learn it this way so i will be able to understand it on linux also.
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 01-26-2008, 11:39 PM   #4 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by sarmenhb View Post
becaues im sure on the job i wont be using wamp, and im going to have to learn it this way so i will be able to understand it on linux also.
Err, what job? You got WAMP instantly, and you can work with everything on it. Also, so you can understand it on Linux? Isn't it already configured in the linux distributions? I had it on kUbuntu and Debian.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-26-2008, 11:42 PM   #5 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

ok, currently im doing php on my own not a job thing. but when or if i work with php at an office someplace wouldnt i be required to know how to install php,mysql, and apache manually?
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 01-26-2008, 11:43 PM   #6 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by sarmenhb View Post
ok, currently im doing php on my own not a job thing. but when or if i work with php at an office someplace wouldnt i be required to know how to install php,mysql, and apache manually?
Meh, nah.. I highly doubt it. Besides, I believe companies try the easiest route when doing PHP, or Perl, or whatever...
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
The Following User Says Thank You to Orc For This Useful Post:
sarmenhb (01-26-2008)
Old 01-26-2008, 11:47 PM   #7 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

ok, i guess your right. im unintalling everything and installing wamp. thanks for knocking some sense into me lol.
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 01-26-2008, 11:50 PM   #8 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by sarmenhb View Post
ok, i guess your right. im unintalling everything and installing wamp. thanks for knocking some sense into me lol.
No problem, I could not find anyway in actually manually installing it. Plus theres lampp for Linux also, and that also includes Perl, so.. People make it easier for others to work on in an Environment.
It has been that way for years..
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-26-2008, 11:54 PM   #9 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

This is all irrelevant now that you're going back to xampp/wampp but the fact that you saw a plain text version of the PHP script is a good start. That shows that Apache is up and running just fine! It appears that what you needed to do was configure Apache (in the httpd.conf file) so 'understand' how to deal with PHP pages. The details of which you won't be needing but are available in the installation documentation.
Salathe is offline  
Reply With Quote
Old 01-26-2008, 11:56 PM   #10 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by Salathe View Post
This is all irrelevant now that you're going back to WAMP but the fact that you saw a plain text version of the PHP script is a good start. That shows that Apache is up and running just fine! It appears that what you needed to do was configure Apache (in the httpd.conf file) so 'understand' how to deal with PHP pages. The details of which you won't be needing but are available in the installation documentation.
That's a good reason, but still, WAMP allows you to modify all that. :] I am sorry if I'm just directly to the easiest way, but no sense in setting all this setup for hours, when you could get WAMP/LAMPp/XAMPP and install the executable instantly.

To me, the only reason to install manually, is if the Executable gets exceptions. :P or whatever that be >.<
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-27-2008, 01:21 AM   #11 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

If your on a linux box .msi wont work because .msi is a windows installer format.
__________________

Village Idiot is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:29 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design