BetaONE will rise again!


Reply
  #1  
Old 17th Jul 03, 04:04 AM
adams adams is offline
Super Moderator
 
Join Date: Jul 2001
Posts: 1,124
adams is an unknown quantity at this point
ok decided to give it a try on my laptop since i was having to many problems with the desktop. this time i decided to download and install php, apache, and mysql individually.

well i have php 4.3.2 and apache 1.3.27 installed, (haven't done mysql yet). anywas i installed both of them in the default directories, but then my book said to make a file named phpinfo.php and put it in the root of the web server. I thought I did that but i guess not since it won't work. Can anyone tell me where the root might be? (I installed everything on C:, and either in the php directory or the apache directory).

Thanks.
__________________
Camera Equipment:
Canon 40D & Digital Rebel XT
Canon 500mm L IS USM
Canon 100-400mm L IS USM
kit lens
Sigma 70-300mm APO DG
Canon 430 EX Speedlight
Dynatran Tripod
Lowepro Mini Trekker AW backpack
Reply With Quote
  #2  
Old 17th Jul 03, 04:05 AM
Sephiroth Sephiroth is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 1,979
Sephiroth is an unknown quantity at this point
Send a message via MSN to Sephiroth
c:\program files\apache group\apache\htdocs
Reply With Quote
  #3  
Old 17th Jul 03, 07:42 AM
cappaberra
 
Posts: n/a
I agree with Sephiroth. There's lots of great help here:http://httpd.apache.org/docs/ and else where on the internet if you don't find what you need from your local install's manual. www.php.net also has great docs on installs and what not.

enjoy... so basically, :P

not to be insensitive or anything, but I have faith that you'll find what you need from doing a tiny bit of reading.

have fun,
CaP
Reply With Quote
  #4  
Old 17th Jul 03, 12:33 PM
SubZero's Avatar
SubZero SubZero is offline
New Member
 
Join Date: Nov 2001
Location: Yeniköy, İstanbul, TR
Posts: 9
SubZero
Send a message via ICQ to SubZero Send a message via MSN to SubZero
look for an "htdocs" folder under "apache" folder. You should see it.
Have you done any changes under httpd.conf? How did you install php? as a module or what?
Reply With Quote
  #5  
Old 19th Jul 03, 11:57 PM
adams adams is offline
Super Moderator
 
Join Date: Jul 2001
Posts: 1,124
adams is an unknown quantity at this point
sub, yea as a module.

Sep, that works after i changed the ip addy in the httpd file from 24.xxx.xxx.xxx to 127.0.0.1

but now how can i access this from school? i have to have a working example for my teacher, but i can't get it to work with my ip addy. ( i could on my desktop using phpdev).
__________________
Camera Equipment:
Canon 40D & Digital Rebel XT
Canon 500mm L IS USM
Canon 100-400mm L IS USM
kit lens
Sigma 70-300mm APO DG
Canon 430 EX Speedlight
Dynatran Tripod
Lowepro Mini Trekker AW backpack
Reply With Quote
  #6  
Old 20th Jul 03, 12:57 AM
cappaberra
 
Posts: n/a
you might need to get a dynamic dns setup assuming that your ip is dynamic... then what's your network topology on the LAN side of things? English: what's you setup? router? firewall? what kinds? what port is apache setup on?

it'll work soon, i promise.

-CaP
Reply With Quote
  #7  
Old 20th Jul 03, 01:27 AM
adams adams is offline
Super Moderator
 
Join Date: Jul 2001
Posts: 1,124
adams is an unknown quantity at this point
ok let me explain things a little more.

on my desktop i installed phpdev which will configure php, mysql, and apache for you. but i kept having problems with some scripts not working. but also, i could enter my ip addy from school and view the working scripts in action.

so i decided to install php, apache, and mysql on my laptop individually to see if i could get things working better. well what i have tried works, except for connecting to it with a different computer.


now, i am behind a router, but i didn't have to change anything to connect to the desktop so i figured it would work just fine on the laptop.

now i hope everyone understands that.
__________________
Camera Equipment:
Canon 40D & Digital Rebel XT
Canon 500mm L IS USM
Canon 100-400mm L IS USM
kit lens
Sigma 70-300mm APO DG
Canon 430 EX Speedlight
Dynatran Tripod
Lowepro Mini Trekker AW backpack
Reply With Quote
  #8  
Old 20th Jul 03, 01:30 AM
Sephiroth Sephiroth is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 1,979
Sephiroth is an unknown quantity at this point
Send a message via MSN to Sephiroth
if you leave your laptop at home, on your lan, forward port 80 to your laptop, then you should be able to access it fine over ip from anywhere, if your ip is dynamic though, get a dynamic dns thing, and stick that in httpd.conf instead of an ip
Reply With Quote
  #9  
Old 20th Jul 03, 01:51 AM
adams adams is offline
Super Moderator
 
Join Date: Jul 2001
Posts: 1,124
adams is an unknown quantity at this point
my ip stays the same. i don't know which that is, just know it has been the same for over a year now.
__________________
Camera Equipment:
Canon 40D & Digital Rebel XT
Canon 500mm L IS USM
Canon 100-400mm L IS USM
kit lens
Sigma 70-300mm APO DG
Canon 430 EX Speedlight
Dynatran Tripod
Lowepro Mini Trekker AW backpack
Reply With Quote
  #10  
Old 20th Jul 03, 02:15 AM
Sephiroth Sephiroth is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 1,979
Sephiroth is an unknown quantity at this point
Send a message via MSN to Sephiroth
ok, first, check your pm for your IP :P

open httpd.conf, and change 127.0.0.1 to your ip, then restart apache

in your router, forward port 80 to your laptop with apache running on it, and then it *should* work fine
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Forum Jump


All times are GMT +1. The time now is 11:39 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.