Hi ,
Situation as follows, i need to have php5-cgi with zend,ioncube libxslt. PHPSuExec / suPHP. (would be nice to have also more phps versions)
i set the options.conf php5_cgi=yes and php5_cli=no
The current php5-cli before the build:
This is the log after ./build php n
After the ./build php n i get a still double php (although i configured php5-cgi only).
currently:
and
I've tried to ./build zend and i still have the same zend engine v2.1.0 (insted of 2.2.0)
is it possible to update the php5-cgi to 5.2.2?
how to update to zend 2.2.0?
is it possible to specify a subdomain to be php5-cgi (or just php5-cli?)
i made ./build libxslt but i still dont see it in phpinfo.
At site, seems its php5-cgi wich is effective and working:
I discovered that editing /usr/local/lib/php.ini effects on php5-cli
while /etc/php.ini & /usr/local/etc/php5/cgi/php.ini works for php5-cgi.
I'm also trying to open a php script on my site and i get "500 internal server error" while i dont have any issue opening phpinfo page..
as well on directadmin the plugins look weird with some errors, i think under php5-cli they were still ok.
example:
Its getting too complicated for so simple thing
I appreciate your support.
Thanks.
Situation as follows, i need to have php5-cgi with zend,ioncube libxslt. PHPSuExec / suPHP. (would be nice to have also more phps versions)
i set the options.conf php5_cgi=yes and php5_cli=no
The current php5-cli before the build:
Code:
php -v
Code:
PHP 5.2.6 (cli) (built: Aug 27 2008 23:56:55)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd., and
with NuSphere PhpExpress v2.0.0, Copyright (c) 2002-2008 NuSphere Corp, by Dmitri Dmitrienko
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
This is the log after ./build php n
Code:
Make Complete
Copying php.ini..
/usr/local/etc/php5/cgi/php.ini already exists, skipping.
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module: cgi
Installing PHP CGI binary: /usr/local/php5/bin/
Installing PHP CLI binary: /usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing build environment: /usr/local/php5/lib/php/build/
Installing header files: /usr/local/php5/include/php/
Installing helper programs: /usr/local/php5/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php5/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] Archive_Tar - already installed: 1.3.2
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] PEAR - already installed: 1.7.1
Wrote PEAR system config file at: /usr/local/php5/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing PDO headers: /usr/local/php5/include/php/ext/pdo/
Installing ZIP headers: /usr/local/php5/include/php/ext/zip/lib
PHP 5.2.6 with suPHP Installed.
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Rewriting all users httpd.conf files, please wait...
In debug mode
Debug set to level 10
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
done queue
Restarting apache.
After the ./build php n i get a still double php (although i configured php5-cgi only).
currently:
Code:
php -v
PHP 5.2.6 (cli) (built: Aug 28 2008 00:58:47)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with NuSphere PhpExpress v2.0.0, Copyright (c) 2002-2008 NuSphere Corp, by Dmitri Dmitrienko
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
and
Code:
php-cgi -v
NuSphere PhpExpress requires Zend Engine API version 220060519.
The Zend Engine API version 220051025 which is installed, is outdated.
PHP 5.1.6 (cgi-fcgi) (built: Jul 16 2008 19:49:06)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
I've tried to ./build zend and i still have the same zend engine v2.1.0 (insted of 2.2.0)
is it possible to update the php5-cgi to 5.2.2?
how to update to zend 2.2.0?
is it possible to specify a subdomain to be php5-cgi (or just php5-cli?)
i made ./build libxslt but i still dont see it in phpinfo.
At site, seems its php5-cgi wich is effective and working:
Code:
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/etc/php5/cgi
Loaded Configuration File /usr/local/etc/php5/cgi/php.ini
I discovered that editing /usr/local/lib/php.ini effects on php5-cli
while /etc/php.ini & /usr/local/etc/php5/cgi/php.ini works for php5-cgi.
I'm also trying to open a php script on my site and i get "500 internal server error" while i dont have any issue opening phpinfo page..
as well on directadmin the plugins look weird with some errors, i think under php5-cli they were still ok.
example:
Code:
# AwStats Statistics END; if (strlen($data) > 1) { echo <<
email
AwStats Statistics
END; } $data = <<PHP Version Selector END; if (strlen($data) > 1)
Its getting too complicated for so simple thing
I appreciate your support.
Thanks.