17th Jul 03, 05:04 AM
|
Super Moderator
|
|
Join Date: Jul 2001
Posts: 1,124
|
|
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
|
|
17th Jul 03, 05:05 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
c:\program files\apache group\apache\htdocs
|
|
17th Jul 03, 08:42 AM
|
|
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
|
|
17th Jul 03, 01:33 PM
|
|
New Member
|
|
Join Date: Nov 2001
Location: Yeniköy, İstanbul, TR
Posts: 9
|
|
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?
|
|
20th Jul 03, 12:57 AM
|
Super Moderator
|
|
Join Date: Jul 2001
Posts: 1,124
|
|
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
|
|
20th Jul 03, 01:57 AM
|
|
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
|
|
20th Jul 03, 02:27 AM
|
Super Moderator
|
|
Join Date: Jul 2001
Posts: 1,124
|
|
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
|
|
20th Jul 03, 02:30 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
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
|
|
20th Jul 03, 02:51 AM
|
Super Moderator
|
|
Join Date: Jul 2001
Posts: 1,124
|
|
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
|
|
20th Jul 03, 03:15 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Posts: 1,979
|
|
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
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 08:18 AM.
|
|