473,396 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Compile Apache 2.0.59 with PHP4.4.5?

15
Hi Everyone!

Is there a need to compile my Apache 2.0.59 if I will use PHP4.4.5?
How can I apply my Apache to PHP4.4.5 or I might ask how will I use my Apache properly with PHP4.4.5?

This is my first time to use Apache with PHP.

Please help me.


Thanks in advance.

Jon
Aug 23 '07 #1
7 2114
Atli
5,058 Expert 4TB
Why would you want to use PHP4 ?

What OS are you using?
Aug 23 '07 #2
pbmods
5,821 Expert 4TB
Heya, Jon.

PHP installs as a shared module for Apache. You have to compile PHP with Apache already installed, but you do not have to recompile Apache to install PHP.

All you have to do is add this to your configure string for PHP:

./configure ... --with-apxs2=/path/to/apxs/usually/usr/local/apache2/bin/apxs
Aug 23 '07 #3
jrefran
15
Why would you want to use PHP4 ?

What OS are you using?
I heard from my collegue that PHP4 has no bug and compatible with Apache 2.

Solaris 9.
Aug 23 '07 #4
jrefran
15
Heya, Jon.

PHP installs as a shared module for Apache. You have to compile PHP with Apache already installed, but you do not have to recompile Apache to install PHP.

All you have to do is add this to your configure string for PHP:

./configure ... --with-apxs2=/path/to/apxs/usually/usr/local/apache2/bin/apxs
Hi thanks for this. Cheers ü
Aug 23 '07 #5
Atli
5,058 Expert 4TB
I heard from my collegue that PHP4 has no bug and compatible with Apache 2.

Solaris 9.
PHP 5 has been in development for quite some time and the PHP developers have done an excellent job of debugging it.
It to is indeed very compatible with Apache 2.

I would strongly recommend using PHP 5, unless you have a very good reason to use PHP 4.

Check this out GoPHP5.org
Aug 23 '07 #6
pbmods
5,821 Expert 4TB
Note that PHP 4 has been DISCONTINUED.

I'd recommend going with PHP 5. If you `make test`, and you get lots of FAILs, you can always change your configuration parameters, or even downgrade, before you install anything.

P.S., running PHP 5.2.3 with Apache 2.2.4 on a MacBook (*n?x) just fine over here :)
With GD!
Aug 23 '07 #7
Atli
5,058 Expert 4TB
Just ran into this article while checking out Solaris...
SAMP (Solaris, Apache 2, MySQL 5, and PHP 5) Setup for Solaris 10 OS and Solaris Express
Aug 23 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: lok | last post by:
hi all, i have installed oracle9i client tools on RedHat7.3 (x86 machine) and i compiled php4.1.2 & apache1.3 successfully but when i execute php script in browser, error occured: "Fatal error:...
2
by: Johan den Boer | last post by:
Hi, Tried installation with apache 2.0.47. But nothing is working. Copied all the dll's and .ini file to the right locations. Changed the httpd.conf file as well. Here is what I added in...
1
by: dave | last post by:
Hello, I have a very urgent problem! The situation is i have an rh 7.1 box, i know it's not mine though, that has apache 1.3.27 on it in the form of what i presume is an rpm, it's actually on a...
0
by: Kurt | last post by:
Hi, I tried to compile my php 4.3.9 with snmp support but it won't work. Compiling Net-SNMP always worked good --> I tried the 5.2rc4 and also the older version 5.1.2 successfully so far. I use...
0
by: Dave Pham | last post by:
I just cleaned my comp, and I am trying to re-config my webserver... I am trying to setup apache 2 so it runs both php4 and php5, I also have two instances of mysql running. I know this can be...
3
by: 99m | last post by:
I used to have Apache and PHP4 working perfectly in Ubuntu Hoary Linux. I upgraded to Ubuntu Breezy Linux and I either get one of the following problems: "You don't have permission to access...
0
by: mchristopher | last post by:
I'm having trouble compiling DOM XML support into PHP 4.4.2 on CentOS 4.3. Everytime I attempt to compile, it spits back this: .... chmod 755 /usr/lib/apache/libphp4.so Installing PHP CLI...
1
by: Randell D. | last post by:
Folks, I consider myself well versed with Apache 1.3 and PHP4 - I found drupal and wanted to try it out - I had problems getting it working with Apache2/PHP5/MySQL5 so I downgraded... Note: I...
1
by: jrefran | last post by:
Hi Everyone! Does anyone knows if there's a need to compile my installed Apache 2.0.59 if I'll gonna install PHP4.4.5? I am a complete neophyte in PHP and Apache. Please help. Thanks in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.