aspose file tools*
The moose likes PHP and the fly likes Deploying a php on apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "Deploying a php on apache" Watch "Deploying a php on apache" New topic
Author

Deploying a php on apache

vamsi acharya
Ranch Hand

Joined: Jun 28, 2009
Posts: 55

Hey guys , Am kind of noob when it comes to server-side scripting , i have downloaded and installed PHP,apache and Mysql and am following w3schools for my tutorial on php , now i want to know how to deploy a php application in the apache server , i tried googling it and felt kinda complicated , A brief explanation on how to begin with is appreciated , thank you !!


"Known is a drop , unknown is an ocean " !
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
You need to install the mod_php module in Apache if it isn't installed already. I'm sure there's documentation available for it that tells you how to do that, and how to run your first PHP script.
Aniket S. Kulkarni
Ranch Hand

Joined: Jun 15, 2011
Posts: 87

If you just want to start with PHP as quickly as possibly, then you're better off installing preconfigured Apache + PHP + mysql stack like WAMP-it'll have everything already configured.


Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
Hi,
For deploying your php application , if you have installed XAMPP then just put your code inside the htdocs folder of xampp installed directory ,then access that from your browser.
vamsi acharya
Ranch Hand

Joined: Jun 28, 2009
Posts: 55

I don't have a XAMPP , i installed each of them separately !!
Sameera Jayasekara
Greenhorn

Joined: Mar 06, 2011
Posts: 5

vamsi acharya wrote:I don't have a XAMPP , i installed each of them separately !!

For development purposes using XAMPP or WAMP is easy. But for production purposes that is not recommended.


Bachelor of Computer Science | SCJP 5(97%) | SCWCD 5(100%) | SCBCD 5(100%) | http://codesstore.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying a php on apache