Solved

Installing PHP into Apache 2

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

628 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