Menu

PHP 4.2 and pass_by errors

Help
2003-03-02
2012-10-11
  • Robert Neuschul

    Robert Neuschul - 2003-03-02

    On my dev server PHPWiki works faultlessly. On my deployment server a near identical apache/php/mysql config produces the error shown below many times over at the head of each page: each such error mentions a different line in stdlib and other files. I've looked at all the configs I can think of in PHP.ini - and somehow can't quite believe that I would need to edit the functions mentioned in each of the lines in the error messages.

    Any pointers to what I'm doing wrong would be gratefully accepted.

    ***************************************

    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/local/home/httpd/vhtdocs/virtual-access/phpwiki/lib/stdlib.php on line 1096

    ****************************************

     
    • Anonymous

      Anonymous - 2003-04-21

      Hi Robert,

      I'm having the same problem. Solution should be found at your php.ini.

      The line says:
      allow_call_time_pass_reference = Off

      and error message says it should be turned to 'on' in order to work. Though I'm not going 'that far' :-), as the commented prior lines in php.ini say:

      ... You're encouraged to try and turn this option Off and make sure your scripts work properly with it in order to ensure they will work with future versions of the language ...

      There may be a smarter solution to this. Hopefully someone knows and answer us.

      Using:
      -PHP Version 4.2.3
      -Apache/1.3.24
      -on Windows2000 (Windows NT 5.0 build 2195)
      --------------------------------------------------------------------

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.