473,788 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
9 2245
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
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
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*******@attgl obal.net
=============== ===

Dec 17 '07 #4
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*******@attgl obal.net
=============== ===

Dec 17 '07 #5
On 17 Dec, 12:34, Jerry Stuckle <jstuck...@attg lobal.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...@attgl obal.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
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
In article <O_************ *************** ***@comcast.com >,
js*******@attgl obal.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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5398
by: joemyre | last post by:
Hi everyone, What I'm trying to do is take php variables i got from user input, and pass them as the MySQL query terms. $query = "select * from ident where ".$searchtype1."=".$searchterm1.""; ERROR: Invalid query: You have an error in your SQL syntax near '=' at line 1
3
6614
by: Armin Irger | last post by:
Hi, i'am running a debian sarge with the delivered apache2 mysql and php4. The file "mitarbeiter_eingabe.php" gets the data over a html <FORM> and send it to "mysql_mitarbeiter_daten_hinzufuegen.php" to write it in an mysql database. These already worked on php3 and mysql-3 and now on php4 and mysql4 it doesn't work. I can't found any changes between php3 and php4, mysql3 and mysql4 that explained the fact that only empty spaces are...
9
2021
by: Lad | last post by:
I use XP windows and Python 2.3. How can I install MYSQL on my computer? I could not find any installer for MYSQL and Python 2.3 Thanks for help Lad.
0
2691
by: Philip Stoev | last post by:
Hi all, Please tell me if any of this makes sense. Any pointers to relevant projects/articles will be much appreciated. Philip Stoev http://www.stoev.org/pivot/manifest.htm ===================================
0
624
by: Gary Cote | last post by:
>Description: I've recently compiled mysql 4.0.14 on redhat 8.0. The installation fails, however, when running mysql_install_db. I've attached a transcript below. I gather from searching the 'net that this isn't an entirely unusual thing to happen, and is likely the result of some misconfiguration on my part, or perhaps a version incompatability with my libc. Unfortunately, I haven't seen any concrete suggestions on how to get past it.
2
2362
by: Shaun | last post by:
I've attempted to upgrade to MySQL 3.23 to 4.0. MySQL 4.0 server is working great, buy I couldn't get MySQL 4.0 client to install properly. Any help would be greatly appreciated. Here are the steps I followed: 1. Downloaded the server, client, and "Dynamic client libraries (including 3.23.x libraries)" rpms. 2. rpm -Uvh --nodeps MySQL-server-4.0.20-0.i386.rpm
1
2390
by: Maxim. V. | last post by:
Hello to everone, As mentioned in this *guide(1), i've compiled mysql on my fedora Core 2 system, with the following spec's : *(1) http://hulan.info/blog/index.php?itemid=576 --------------- bash START -------------- $ uname -a Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
3
13957
by: auron | last post by:
Hi there, I have a really stupid and banal problem with showing the results of a MySQL query in PHP, preciselly with MySQL count() function that gives to a variable in PHP the result. NOTE: The problem here is PHP not MySQL, in MySQL everything works just fine. Here is the query that I wrote for getting the number of how much
4
3707
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. Environment: Solaris 9 php 5.2.1 GNU Make 3.81 gcc 4.1.1
221
367743
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application needs to store entire files, the preferred method is to save the file onto the server’s file-system, and store the physical location of the file in your database. This is generally considered to be the easiest and fastest way to store files. ...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.