Click to See Complete Forum and Search --> : Adding modules to PHP/Apache Installation


Anon
11-10-2000, 01:50 PM
I'm currently running PHP4 as an Apache module on UNIX and have just discovered that I don't have either the FTP or GD Libraries installed.

Under my current installation, is it possible to add these libraries without re-compiling/re-installing apache or PHP? If it's not, how complicated a process is it to get the above-mentioned modules up and running? (I really don't feel like screwing up my entire server!)

Thanks in advance for any help that is to follow.

Anon
11-10-2000, 06:17 PM
It depends on how you installed Apache and PHP.

Generally:
Yes, it's certainly possible to have a modular Apache and PHP installation.

The Apache in Red Hat Linux (and all other Linux-distributions, I suppose) is very modular, and you may add/remove modules by simply editing Apache's httpd.conf file and restarting Apache.

In the same way, PHP may be compiled in a modular way. See for example http://rpms.arvin.dk/php/

Anon
11-10-2000, 06:42 PM
Thanks for replying. To be honest, I wasn't the one who installed Apache/PHP so I really have no ideas there. Is there a way I can tell?

I did have to alter the http.conf file to get PHP going, and there are several module files in the Apache modules directory. If this is such an installation, would I just find a binary for the module I want and throw it in? (Instructions/link to such instructions would be greatly appreciated!)

Thanks again.

Anon
11-10-2000, 07:19 PM
What operating system do you use?

About adding binary PHP extensions:
It's important that the exension is built for the same version of PHP (e.g. 4.0.3pl1).

Anon
11-10-2000, 08:16 PM
FreeBSD