compile php

#1
Guys, please help me, I'm new here.

I had a cPanel server with php 4 and php 5 (apache 2.2.9) . I purchased a new server, installed lsws. Now trying to get the same php modules as I had been using earlier.

PHP 4
-----
bcmath
calendar
dbase
exif
ftp
gd
ttf
libxml
magic-quotes
mbstring
sockets
xslt
curl
bz2
dom-xslt
freetype
gettext
iconv
imap
mcrypt
mhash
mysql
openssl
swf
ttf
zip
zlib
ffmpeg-php
Zend Optimiser
Ion Cube Loader
Eaccelerator


PHP5
-----
all above plus :
SOAP
sockets
myqsli
pspell


I entered admin interface -> actions -> build php. Please suggest me what config parameters I must give here.

Thanks
 

mistwang

LiteSpeed Staff
#2
try the "build matching PHP" feature in our WHM plugin. Just build apache with cpanel easy apache with the configurations you want to use.
 
#3
Thank you, that works.

I had been using suPHP as it is considered to be the most secure form and I enabled PHPSuexec here. But a test page placed at /usr/local/apache/htdocs/info.php is pulling up fine on browser even if the ownership of the script is changed.

Is it possible to show an error message when the php script's owner/permission is changed from the normal one.
 

mistwang

LiteSpeed Staff
#4
Our suEXEC implementation uses the owner of the document root directory, owner of script does not matter.
Your test script should be served as nobody:nobody.
 
Top