Opened 13 years ago
Last modified 13 years ago
#265 new defect
PHP dl() doesn’t work
Reported by: | andersk | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web | Keywords: | |
Cc: |
Description
<?php dl('gd.so'); phpinfo(); ?>
[Tue Nov 08 03:24:15 2011] [error] [client 65.96.60.73] PHP Fatal error: (andersk) Call to undefined function dl() in /afs/athena.mit.edu/user/a/n/andersk/web_scripts/test/dl/phpinfo.php on line 2
Change History (2)
comment:1 Changed 13 years ago by quentin
comment:2 Changed 13 years ago by ezyang
From zephyr:
https://bugs.php.net/bug.php?id=48819 http://www.mail-archive.com/php-cvs@lists.php.net/msg39628.html
You can reproduce on CLI if you do
SCRIPT_FILENAME=dl.php GATEWAY_INTERFACE=CGI/1.1 php dl.php
Note: See
TracTickets for help on using
tickets.
Look at the docs. It's deprecated: http://us3.php.net/dl
That said, they say it should still work in the CLI and CGI SAPIs. Are you running a FastCGI PHP perhaps?