GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Apr-2005, 18:01
tutumom tutumom is offline
New Member
 
Join Date: Apr 2005
Posts: 4
tutumom is on a distinguished road

Extremely new to php - need help!


Hi, Although I've done lots of programming in other languages (java, jsp, javascript, c, c++,) I've never worked with php and need to get into it quickly. I want to know - how can I view the php files (not the code part) but what it would look like in a browser? I've got apache and php set up so that I can view some files, but if I go to a particular directory, it tells me I don't have permission to view that file - which file (e.g php.ini etc) and what directives do I need to change to allow viewing of this file?
Thanks!
  #2  
Old 24-May-2005, 15:13
anjanesh anjanesh is offline
New Member
 
Join Date: Mar 2005
Location: Mumbai, India
Posts: 16
anjanesh is on a distinguished road
edit the httpd.conf file.
# is comment in the conf file - remove the comment - depending on the version you have.
Code:
# For PHP 4 # LoadModule php4_module "C:/php/sapi/php4apache2.dll" # For PHP 5 # LoadModule php5_module "c:/php5/php5apache2.dll"
Search for DirectoryIndex and add index.php
Code:
DirectoryIndex index.php index.html index.htm
Add
Code:
AddType application/x-httpd-php .php

http://www.php.net/manual/en/install.windows.apache2.php
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help ! I need help starting up on Php ! onauc MySQL / PHP Forum 11 05-Jan-2005 00:57
PHP 5 released jrobbio MySQL / PHP Forum 3 19-Jul-2004 11:21
uisng php to display php dopee MySQL / PHP Forum 6 14-May-2004 19:40
php software dopee MySQL / PHP Forum 0 04-May-2004 12:26
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 17:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:40.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.