Click to See Complete Forum and Search --> : Apache 1.3.14, MySQL-current and PHP-4.0.4


dr4ma
01-13-2001, 06:53 AM
hi! I suck!
ok, i can get MySQL and php to configure,compile and install, right? ok i have to make apache binarys and blah blah blah to get php4 support, apache wont compile though with the extra options i give it.
basically is this, I read every fsckin README & INSTALL file in all of these programs. did what every one of them said, looked for help, asked for help, nothing... im just stuck on the apache part, thats it.
if someone can point me somewhere on the web, so i can fsckin get apache working with PHP so i can fsckin run phorum then ill love you!
I know more about the kernel then i do about running web server modules.. Im a security man!
HELP ME PLEASE!!!!
=)
thank you

Choozo
01-13-2001, 12:42 PM
You may want to hop over to http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml
for a quite good instruction on this http://www.linuxnewbie.org/ubb/smile.gif

dr4ma
01-13-2001, 03:51 PM
thanks ill go check it out now!

dr4ma
01-13-2001, 04:20 PM
I appreciate you tossing in that link, but the same thing happens when i follow his instructions, plus he is on a redhat system, so i hacked it a bit. but apache still dosnt fsckin compile!!!
SOMEONE PLEASE HELP ME!!!
=(

Choozo
01-13-2001, 06:28 PM
Okay, cool down .....
Which distro are you running, and what exactly are the error messages you get when trying to compile Apache?

I followed those instructions successfully, on a Mandrake 7.2 system. Just tossed out the Mandrake RPMs for Apache and PHP4, and compiled from source according to the suggested directory structure. Didn't bother about MySQL though, since I use Oracle 8.1.6.

Choozo
01-13-2001, 06:29 PM
Some freak action in Mozilla 0.7 posted this twice?

[This message has been edited by Choozo (edited 13 January 2001).]

dr4ma
01-13-2001, 08:46 PM
i am running this on a slackware 7.1 install.
I made some progress, im recompiling apache again right now, but what happened was after compiling apache, it was giving me an error saying that it could not load a module from the config file or something and so i commmented it out and then next few lines and it kept on erroring...
now apache is broken again..
this is the output:
make[4]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/php4
make[4]: *** No rule to make target `all'. Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/lib/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/lib/apache'
make: *** [build] Error 2
(root@slakin.net)~{/var/lib/apache} #

Choozo
01-14-2001, 08:56 AM
Seems like you haven't got the PHP module available when compiling Apache?

Have you tried the instructions on e-gineer.com again from scratch?
Start with 'plain' Apache build, then MySQL and PHP, then do the recompile of Apache (with the now available PHP module). Those instructions should work on any distro.

As said previously, I have succeeded in this both on a Gentus and Mandrake distro (both derivates of RedHat, but they use different file structures/locations).

Sweede
01-14-2001, 01:35 PM
bah,

apache:
./configure \
--with-layout=RedHat \
--enable-module=most \
--enable-shared=all \
--enable-suexec \
--suexec-caller=nobody

and whatever else you want, DONT ADD --with-mdoule=src/modules/php4/libphp4.a
this is pointless

make and make install apache

PHP4:
./configure --with-apxs=/usr/sbin/apxs \
[whatever else you want]
make
make install

then edit apaches /etc/httpd/conf/httpd.conf file and your all set.