Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing PHP into Apache 2

Posted on 2003-10-21
5
Medium Priority
?
308 Views
Last Modified: 2010-03-04
I have downloaded and installed Apache2 but can't seem to get PHP to install.

I want all the XML functions and obviously mySQL.

Each time on php install I put
./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs --with-xml

but I don't get anything in the modules directory ?

How do I install it !
0
Comment
Question by:tombentley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 4

Expert Comment

by:kalosi
ID: 9594002
Do you run make and make install after configure ??

Just to make thing clear I don't know how familiar are you with the UNIX build environment but theese are the steps you should follow.


1) run the configure script with the options you want to enable, eg ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs --with-xml

2) type make to compile and build the php library
3) make install installs the libraries and configuration files.

david.
0
 

Author Comment

by:tombentley
ID: 9597757
I have done that make and configure in PHP.

I then start Apache2  /usr/local/apache2/bin/apachectl start

But it won't run PHP. I have tried altering the httpd.conf to run PHP - but the advice I was following didn't seem to work. It referenced the modules folder - which I assume is the one in the apache dir. This didn't have any php module in after the make and build. I still have the old copy of apache 1.3 somewhere - do you think it is installing into that ?
0
 

Author Comment

by:tombentley
ID: 9605662
done it now - for some reason it didn't build properly. A make clean did the job
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12119246
PAQed, with points refunded (250)

Computer101
E-E Admin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question