Solved

Installing PHP into Apache 2

Posted on 2003-10-21
5
302 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now