HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux dev1 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64
User: safarimaris (1000)
PHP: 7.2.34-54+ubuntu22.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //opt/php-5.6.40/sapi/roxen/TODO
BUGS:

- fix backtraces
- exit in PHP exits Roxen
- POST newline added?
- Rewriting header handling so that more than one header with the same
  name can be set (most importantly, cookies).
- Recursive mutex lock problem:

    And another error (when trying to include a class)
    
    Recursive mutex locks!
    /Usr/local/pike/7.0.54/lib/modules/PHP5.so.Interpreter:
    run("/home/www/www.tx.pl/news/test.php",mapping[3],modules/scripting/php5.pike.PHPScript(),modules/scripting/php5.pike.PHPScript.done)
    modules/scripting/php5.pike:169: run()
    base_server/roxen.pike:569: handler_thread(3).
    
    And after this every access to any php script (on other virtual sites
    also) ends (of course there is no proper output) with this error:
    
    Php4.Interpreter->run: Tried to run a PHP-script from a PHP
    callback!/usr/local/pike/7.0.54/lib/modules/PHP5.so.Interpreter:
    run("/home/www/biall.com.pl/index.php3",mapping[2],modules/scripting/php5.pike.PHPScript(),modules/scripting/php5.pike.PHPScript.done)
    modules/scripting/php5.pike:169: run()
    base_server/roxen.pike:569: handler_thread(3).
    

ADDITIONS:

- use th_farm
- change cwd in single threaded mode
- per-virtual-server configuration