bascially i just need to find the settings in httpd.conf to make it so apache will 'look' for certain php files in directorys to autoload.
that, and find why it isn't likeing movebletype's comment system anymore, and why gallery is complaining about some fopen cmd, and not being able to touch a file.
so... i'm closer.
somewhat.
thanks all for the help.
(i'll probably be posting about those problems above later tonight after much banging of the head on desk).
Nathan wrote:
http://everymac.com/systems/apple/powermac/stats/powermac_7200_90.html
that one.
56 megs ram, 2 harddrives totally about 4 gigs of space.
Hey, that's not bad, my first server was a 486/sx, 8 megs ram, 400 meg hdd.
Andrew Graupe wrote:
3 hours for Apache? What kind of machine are you on? I have a '98 G3 Powerbook, and Apache only took about an hour (if that)...
Nathan wrote:
recompiled php last night, doing apache 2 this morning.
dealing with a old machine, the compile times are not fast... /shurgs/
but hey, gets the job done.
just wanting to make sure of that option, so that i didn't waste 3 hours.
Andrew Graupe wrote:
I think --enable-so and --enable-module=so are both valid, so that shouldn't be the cause of the problem. I don't think the distro should matter. Did you add those lines to your httpd.conf? Are there any messages on startup?
Also the LoadModule line should be replaced with the following:
LoadModule php4_module modules/libphp4.so
Nathan wrote:
the main problem i'm finding is the proper 'switch' for the ./configure script for apache 2, to enable it to use dynamically linked objects... like php.
its either --enable-so
or
--enable-module=so
the first came from php.net, second from a different site.
?
Andrew Graupe wrote:
On a non-gentoo system, go to php.net and read the instructions. IIRC, there are two lines that look like this
LoadModule libexec/libphp4.so (or whatever the php module is called) AddType application/x-httpd-php .php
and, optionally,
AddType application/x-httpd-php-source .phps
Hope that helps. I'm not sure what Shawn is talking about. I'm running gentoo, but I would still prefer to compile apache+php from source rather than portage.
Shawn wrote:
Getting PHP running with Apache requires you to make a change to the config
files, so that Apache knows to load the mod_php module when it starts up.
Put this line in your /etc/conf/apache2 file (on a Gentoo server at least -
might be different on other distros)
APACHE2_OPTS="-D PHP4"
(If you need SSL support, then you would also have a "-D SSL")
you'll have to restart Apache for the change to take effect. You might also
need to add the mod_php to your apache2.conf file
(/etc/apache2/conf/apache2.conf on my server).
As for reading your old apache .configure info, if you can get php running
before you upgrade Apache, then you can load a php page into your browser
with the following line in it:
<?php phpinfo(); ?>
This will display what options PHP has access to, and down near the bottom
(or is it the top?) of the page will be the .configure information for
Apache.
HTH
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Nathan
Sent: Thursday, April 08, 2004 1:37 AM
To: CLUG General
Subject: [clug-talk] wanting to install apache 2.0 and php 4.3.5
./configure --enable-so --prefix=/usr/local/apache2 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-ftp
those are the config lines i used to try and install apache 2.0 and php
4.3.5
i got apache running, but it wouldn't use php at all, or seem to find it.
and i'm trying to load php, the 'dynamic' way, so i don't have to recompile apache, each time i upgrade php.
running yellowdog linux 2.3
also, is there a way to have the ./configure script for apache, 'look'
at my old settings for apache 1.3, and use the settings it can to setup
the new server?
thanks.
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

