New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

my local host and php are not playing nice?


Post Reply New Thread Subscribe

 
Thread Tools
este
Guest
 
Posts: n/a

well i finally got y hands on a copy of tiger...
its nice and all but i seem to have wiped out the php and web server install i enabled on my old panther OS.

I had Panther, and i could preview my php and mysql pages without a problem... then after i installed tiger i realizes that my php paged did not come up right, **** IE. Firefox nore Safari can open any of my php pages..

I get the foloowing error:

Unable to Access URL: "htp://localhost/~este/phptest/w0rd.php"

I can see the apache web server running properly at http://127.0.0.1

I am running Dreamweaver mx2004 and it still will not preview my pages properly, i can see them withn the applicaiton but if i want to preview my pages using IS FireFox, or safariu i get squat!!!

the instrucitons i had go as follows:
on the terminal these are the comments to enter... :
$ cd /etc/httpd
$ sudeo pico httpd.conf

this brings up the pico text editor:
on there i uncommented the following lines:
# LoadModule php4_module libexec/httpd/libphp4.sp
which now lokslike:
LoadModule php4_module libexec/httpd/libphp4.sp

and:
# AddModule mod_php4.c
which now looks like:
AddModule mod_php4.c

i used ctrl-o to save as and hit enter to save.
exit to quit the teminal
command+W closed the terminal

is thei correct? any other ideas as to why my php pages are not wrkign properly?

thanks
-este
QUOTE Thanks
este
Guest
 
Posts: n/a

:doh:

nevermind i figured out a work around..
it appears everyting is working properly now...

I am able to see the apache webpage 127.0.0.1 so instead of entering http://localhost on dreamweaver when it asks to specify a url to be used when looking at my sites, I replcaed localhost with the ip address of the apache webserver it looks like this: http://127.0.0.1/~este/sites/phptest/

it works like a charm...

*im sure mostofyou already know that but for a pc user im pretty proud of myself for figuring this out lol


--este
QUOTE Thanks
nathaniel
Guest
 
Posts: n/a

that is not your router ip if you use dsl or cable you must configure your router to allow connection through port 80 and reroute the connections to your computer very simple good luck
QUOTE Thanks

Post Reply New Thread Subscribe


« dreamweaver beginner | Playing a movie in a page within the browser? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
local host vic one Web Design and Hosting 8 02-06-2005 02:21 PM

All times are GMT -4. The time now is 08:01 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?