Results 1 to 5 of 5
Thread: apache 2 + php???
-
03-15-2003, 10:03 AM #1matt2kjonesGuest
do apache 2 and php still have compatability problems???
the first time i ever tried to get php to compile with apache 2 it failed
then, a newer version of apache 2 came out, and i got php to compile with it, but php didn't function properly and gave loads of errors on sites i hosted, where the errors wern't errors in code, but just errors itself with php
so im wondering, do the newest versions of apache 2 get on with php os should i just stick with apache 1 series for now???
Thanx
-
03-15-2003, 12:34 PM #2matt2kjonesGuest
manually
my own server, with no cpanel installed, just webmin to do odd things here and there
but i always compile apache, php etc manually
-
03-15-2003, 05:38 PM #3
- Join Date
- Feb 2003
- Location
- Virginia
- Posts
- 426
I do all my installs manually too. I actually downloaded apache 2 and php 4 and was about to compile them on another server of mine. I'll get back and let you know my results.
Brian Pauley
:: Harbor Networks ::
http://www.harbornetworks.net
:: SoundSource - Your Online Pro Audio Online Web Resource. ::
http://www.soundsource.info
-
03-15-2003, 07:31 PM #4
- Join Date
- Feb 2003
- Location
- Virginia
- Posts
- 426
Ok everyone!!! I got it working!!!!!! check out My test server
1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install
Now you have Apache 2.0.NN available under /usr/local/apache2,
configured with loadable module support and the standard MPM prefork.
To test the installation use your normal procedure for starting
the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start
and stop the server to go on with the configuration for PHP:
/usr/local/apache2/bin/apachectl stop.
9. cd ../php4-NN
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. make install
13. cp php.ini-dist /usr/local/lib/php.ini
14. vi /etc/init.d/httpd (change location of binares to /usr/local/apache2/bin/[filename]
15. vi /usr/local/apache2/conf/httpd.conf (edit location of php module to /usr/local/apache2/modules/[modfilename]
16. Restart Apache.Brian Pauley
:: Harbor Networks ::
http://www.harbornetworks.net
:: SoundSource - Your Online Pro Audio Online Web Resource. ::
http://www.soundsource.info
-
03-21-2003, 01:04 PM #5matt2kjonesGuest
ok guys i compiled php 4 with apache 2 and it works perfect
really easy
looks as if php + apache 2 are finally getting close to complete compatability
compiled easily with no problem :P
Bookmarks