Web Hosting Talk







View Full Version : recompile PHP


md2001
02-12-2002, 10:36 PM
Hi,

I need to add support for dBase functions to PHP. In the docs it says I need to recompile PHP with --enable-dbase.

At the same time I would like to install PHP as DSO module. It is currently installed as static module.

Apache has mod_so.c installed.

So this should work, right:

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-dbase .......and so on

make
make install

and then stop and start apache.


But nothing happens. The configuration is still the same.


Do I need to recompile Apache? What options should I use? The server has CPanel.


Thanks

JayPee
02-13-2002, 02:46 AM
Hey!

Yes, you will need to recompile Apache without compiling in PHP. Right now, you have PHP both statically compiled into Apache, and also loaded as a DSO. Apparently that's "not good" according to the docs.

I don't use CPanel, so I can't help you with that part of the problem, sorry.

Good luck.

Jason