Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 08-10-2006, 09:28 AM can't open php pages
Junior Talker

Posts: 3
Trades: 0
After were installed apache server and php I can not browse web pages with extension php ... why so?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
DieHard is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-10-2006, 09:54 AM Re: can't open php pages
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
You must view those pages through the web server, so store the files at the web_root directory (public_html maybe, or htmldocs) and then go to them by http://localhost/name_of_page.php.

Some WYSIWYG editors can use the PHP interpretter, you just point it to the correct path and it can allow you to view the pages within it.

Other than this, it's probably not setup correctly.

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Old 08-10-2006, 03:33 PM Re: can't open php pages
Super Talker

Posts: 111
Name: Jonathan
Location: Arizona, USA
Trades: 0
If you installed on a Windows box, your "public_html" directory mentioned above may be "htdocs". Or, in my case, ours is installed in c:\server\apache2\htdocs
Our test sites are named folders within htdocs.
So, like mastercomputers mentioned, store them in your apache directory, then view them in your browser as mentioned. In our case: http://localhost/test_site1/index.php

You can make a info.php file and drop it into your root directory. Then view it in your browser to see if you have php installed and working correctly.

Also, are you typing in the full path? IE: http://localhost/file.php or are you typing in only the directory (expecting the index.php file to display automatically). If you're doing the second, and file is not showing, you'll need to add that extension to your apache configs. And/Or remove the index.html file that is in the path you're trying to view.
__________________

Please login or register to view this content. Registration is FREE
- Computer Repair over the internet!
pcoptimized is offline
Reply With Quote
View Public Profile Visit pcoptimized's homepage!
 
Old 08-12-2006, 03:01 AM Re: can't open php pages
Junior Talker

Posts: 1
Name: alter ego
Trades: 0
i have a similar problem but everything seems to be set up correctly but it obviously isn't because it's not working. i have my root setup for htdocs. i type the right name in. i think it has to do something with my configuration because all the diffrent tools i loaded for this problem is telling me php is installed and i've test my server already. i think it has to do with the 3 configure lines of codes but everyone i've talked to has told me it was corect too and one have any ideas on this?
atomic is offline
Reply With Quote
View Public Profile
 
Old 08-15-2006, 05:49 PM Re: can't open php pages
Super Talker

Posts: 111
Name: Jonathan
Location: Arizona, USA
Trades: 0
Can you please state exactly what you are typing into the browser?
__________________

Please login or register to view this content. Registration is FREE
- Computer Repair over the internet!
pcoptimized is offline
Reply With Quote
View Public Profile Visit pcoptimized's homepage!
 
Reply     « Reply to can't open php pages
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35163 seconds with 12 queries