Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-12-2005, 12:06 PM   #1 (permalink)
In The Zone
 
Join Date: Mar 2005
Location: Right behind you...
Posts: 218
Default How to load php scripts in apache


hi guys
I have recently setup apache server on my pc with all necessary modules like mysql, php4.1 etc.
Now i want to load php scripts on my apache server.
Can anybody guide me step by step how to setup scripts like contact form etc in apache server (I want to create online database).
I am novice in php.
Techmastro is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 04-12-2005, 09:43 PM   #2 (permalink)
In The Zone
 
Join Date: Mar 2005
Location: Right behind you...
Posts: 218
Default

come on guys have no body ever used apache server or installed php scripts.
Techmastro is offline  
Old 05-12-2005, 10:23 AM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

hmm there is nothing to setup basically...
to check if your script is running properly or not, create a file in htdocs folder with name phpinfo.php (or any name u want)

put this code in that

Code:
<?php
phpinfo();
?>
so if you find php info when you visit the page, that means PHP is installed and you can play with it...

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 05-12-2005, 10:49 AM   #4 (permalink)
Broken In
 
Join Date: Apr 2004
Location: Bombay
Posts: 147
Default

I don't know what you are having problems with, just put php files in root and they will be executed upon access (since you have php installed). If you need scripts just go to hotscripts.com and find any form to mail script to create a contact form.
wORm is offline  
Old 05-12-2005, 11:11 PM   #5 (permalink)
Alpha Geek
 
NikhilVerma's Avatar
 
Join Date: May 2004
Location: India
Posts: 930
Default

Quote:
Originally Posted by Deep
hmm there is nothing to setup basically...
to check if your script is running properly or not, create a file in htdocs folder with name phpinfo.php (or any name u want)

put this code in that

Code:
<?php
phpinfo();
?>
so if you find php info when you visit the page, that means PHP is installed and you can play with it...

Deep
And to execute it ... Type

localhost/phpinfo.php

In your browser and make sure that apache is running...
NikhilVerma is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by Sujeet
- by gforz

Advertisement




All times are GMT +5.5. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2