buildapache, phpSuExec, 'custom' php?

shannon

Well-Known Member
Mar 25, 2002
48
0
306
Alright, heres the fun, we used to use buildapache's "Advanced" option, and play with the PHP modules a touch (ie: turn on some more)

Now we're running buildapache with option... 2 I think it is (Webroot protect/phpsuexec).. now, I know this means php is no longer running as an Apache module (can I get a "yea less memory hoggin apache children!") but using the php executable... perfect.

And I see that buildapache made me a new php executable. (Timestamp).. good.. now...
Code:
/usr/local/bin#php -m
[PHP Modules]
Zend Optimizer
bcmath
calendar
ctype
ftp
mysql
overload
pcre
posix
session
sockets
standard
tokenizer
xml
zlib

[Zend Modules]
Zend Extension Manager
Zend Optimizer

Segmentation fault
/usr/local/bin#
1) How do I get GD as one of those install modules? If I do "Advanced" in build apache, check GD and "PhpSuExec" will that do it? Or is there some other black magik voodoo ritual? :)

2) What's with the Seg Fault at the end? Entirely possible that it's existed before, coudn't say, never needed to run php -m before today (when I noticed it acted like GD wasn't around)... php scripts are all running properly though.

Anyway, any ideas on either of these, greatly appreciated. Hopefully I didn't leave anything out (been up approx 22 hours at this point, busy day/night).

cPanel.net Support Ticket Number:

cPanel.net Support Ticket Number:

cPanel.net Support Ticket Number:
 

mickeymouse

Well-Known Member
Sep 16, 2003
388
0
166
RE: buildapache, phpSuExec,

Dear shannon,

In \"Advanced\" in build apache, checking GD and \"PhpSuExec\" will be sufficient to install GD.
If you get Seg Fault, try running the following command:

ulimit -n 16384;/scripts/restartsrv httpd

Regards,