This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes PHP and the fly likes Deploying a php on apache Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » PHP
Reply 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: 2407
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: 86

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://jrebel.com/download
 
subject: Deploying a php on apache
 
Similar Threads
Send requsts to a php file using AJAX
Interface between PHP and java
IBM WSAD and PHP/MySQL...
Interface between PHP and java
Apache Containers Question