Seems for me that everything is OK with PHP settings:
Quote:
phpinfo()
PHP Version => 5.0.4
System => SunOS spinity 5.9 Generic_118559-09 i86pc
Build Date => Jun 8 2006 20:53:03
Configure Command => './configure' '--with-apxs' '--with-zlib' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/lib' '--with-mysql=/usr/local/mysql' '--enable-libxml' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-libxml-dir=/usr/local' '--enable-spl' '--with-regex=php' '--with-apxs=/usr/local/apache/bin/apxs' '--disable-ipv6' '--prefix=/usr/local'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini
Scan this dir for additional .ini files => /usr/local/lib
PHP API => 20031224
PHP Extension => 20041030
Zend Extension => 220040412
Debug Build => no
Thread Safety => disabled
IPv6 Support => disabled
Registered PHP Streams => php, file, http, ftp, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies |
If I press 1 (Exit) from the menu I get the following error:
Quote:
Please Type your Choice: 1
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 252
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 349
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 350
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1189
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1981
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1983
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 2129
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 2236
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/SmartyLight/class.template.php on line 717
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/SmartyLight/class.template.php on line 785
Segmentation Fault in 13642, waiting for debugger
|
I changed php.ini to remove warnings but Segmentation fault still appears.
Quote:
====================
SWIFT CLI Debug
====================
(1) Exit
Please Type your Choice: 1
Segmentation Fault in 14963, waiting for debugger
|
I tried to install it on another server with PHP 4.3.10 under FreeBSD but with the same result calling CLI debug with only another error:
Quote:
====================
SWIFT CLI Debug
====================
(1) Exit
Please Type your Choice: 1
<br />
<b>Fatal error</b>: main(): Failed opening required './swift.php' (include_path='.:/usr/local/share/pear') in <b>/pub/home/quadra10/htdocs/support/cli/index.php</b> on line <b>32</b><br />
quadra10@v41:~#
|
Here is the result of phpinfo.php from second server
Here is the result of phpinfo.htm. I do not know why Server API is "CGI" here instead of "Command Line Interface" like in phpinfo() for PHP CLI with PHP 5.0 as well as I do not know why PHP 5.0 generated .txt file after command /usr/local/bin/php phpinfo.php > phpinfo.htm while PHP 4.3.10 generated a real .htm file
