By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 860 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

How to install PHP + MySQL on pre-installed Apache ?

P: n/a
Hello.

I would like to add PHP and MySQL yo me local Apache server.

So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).

What can I do to preserve my Apache and install PHP + MySQL the simple
way ?
Dec 17 '07 #1
Share this Question
Share on Google+
9 Replies


P: n/a
On 17 Dec, 11:48, YoLed <inva...@nospam.orgwrote:
Hello.

I would like to add PHP and MySQL yo me local Apache server.

So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).

What can I do to preserve my Apache and install PHP + MySQL the simple
way ?
You could install one of teh packages and copy your apache config to
them.
Dec 17 '07 #2

P: n/a
YoLed wrote:
Hello.

I would like to add PHP and MySQL yo me local Apache server.

So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).

What can I do to preserve my Apache and install PHP + MySQL the simple
way ?
Dunno.

I just installed the relevant (debian linux) packages and struggled
through the few config file tweaks needed to make it all spring to life.

Dec 17 '07 #3

P: n/a
YoLed wrote:
Hello.

I would like to add PHP and MySQL yo me local Apache server.

So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).

What can I do to preserve my Apache and install PHP + MySQL the simple
way ?
You can install the packages separately. Once you've done it a few
times, it goes pretty quickly. It's just the first few times can be
difficult.

But it is easier to do in Apache than it is in IIS. So my recommendation
would be to go ahead and download the packages and read the directions.
Only a couple of modifications are required for your httpd.conf file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Dec 17 '07 #4

P: n/a
Captain Paralytic wrote:
On 17 Dec, 11:48, YoLed <inva...@nospam.orgwrote:
>Hello.

I would like to add PHP and MySQL yo me local Apache server.

So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).

What can I do to preserve my Apache and install PHP + MySQL the simple
way ?

You could install one of teh packages and copy your apache config to
them.
Except that will wipe out the changes needed to make PHP run...

Rather he'd need to modify the supplied httpd.conf to include his
virtual hosts.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Dec 17 '07 #5

P: n/a
On 17 Dec, 12:34, Jerry Stuckle <jstuck...@attglobal.netwrote:
Captain Paralytic wrote:
On 17 Dec, 11:48, YoLed <inva...@nospam.orgwrote:
Hello.
I would like to add PHP and MySQL yo me local Apache server.
So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm afraid to loose my
current Apache configuration (several vitual hosts configured).
What can I do to preserve my Apache and install PHP + MySQL the simple
way ?
You could install one of teh packages and copy your apache config to
them.

Except that will wipe out the changes needed to make PHP run...

Rather he'd need to modify the supplied httpd.conf to include his
virtual hosts.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
Yeah that's what I meant. In my mind copying the config isn't the same
as just copying the file, but what you said is much clearer.
Dec 17 '07 #6

P: n/a
I would like to add PHP and MySQL yo me local Apache server.

Apache is not an operating system. Do you have one? Distribution?
Dec 17 '07 #7

P: n/a
In article <O_******************************@comcast.com>,
js*******@attglobal.net says...
You can install the packages separately.
I think it's the way I'll go. And if I find it too complicated, I'll
switch to you second solution (you said : "Rather he'd need to modify
the supplied httpd.conf to include his virtual hosts.")

Thank you and to Captain and Philosopher too :)

Dec 17 '07 #8

P: n/a
On 17 Dec, 13:02, Jonas Werres <jo...@example.orgwrote:
I would like to add PHP and MySQL yo me local Apache server.

Apache is not an operating system. Do you have one? Distribution?
I don't think he suggested that Apache was an operating system.
And he effectively told us that he is using Windows in his first post.
Dec 17 '07 #9

P: n/a
I don't think he suggested that Apache was an operating system.
And he effectively told us that he is using Windows in his first post.
OK, there is WAMP. But this question is so obviously OS-dependend, that
one should always put it direktly right into the first post.

OK, Windows. Then my answer is: Save your config, install a package.
Or better: Install VMWare or Virtualbox and use a virtual *n*x-server.
Dec 17 '07 #10

This discussion thread is closed

Replies have been disabled for this discussion.