Hello all, i am building my test server and trying to install php 5.3.11 and would like to have suhosin patch installed. So i used steps listed in this guide
options.conf
http://help.directadmin.com/item.php?id=275
versions.txt
Result
/usr/local/etc/php5/cgi/php.ini
when i do php -v i get this message
Any ideas how to get this working. Thanks in advance.
options.conf
php5_cli=no
php5_cgi=yes
http://help.directadmin.com/item.php?id=275
versions.txt
php5:5.2.10:
php5-mail:5.2.10:
./build update_data
./build php n
Result
Wrote PEAR system config file at: /usr/local/php5/etc/pear.conf
You may want to add: /usr/local/php5/lib/php to your php.ini include_path
/usr/local/directadmin/custombuild/php-5.3.10/build/shtool install -c ext/phar/phar.phar /usr/local/php5/bin
ln -s -f /usr/local/php5/bin/phar.phar /usr/local/php5/bin/phar
Installing PDO headers: /usr/local/php5/include/php/ext/pdo/
PHP 5.3.10 with suPHP Installed.
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Rewriting all users httpd.conf files, please wait...
Debug mode. Level 10
dataskq: command: action=rewrite&value=httpd
Restarting apache.
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
/usr/local/etc/php5/cgi/php.ini
include_path = ".:/php/includes:/usr/local/php5/lib/php"
extension=suhosin.so
when i do php -v i get this message
PHP Warning: PHP Startup: suhosin: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.10 (cli) (built: May 11 2012 11:44:37)
Any ideas how to get this working. Thanks in advance.