Skip to content

Commit ff5e771

Browse files
committed
Specify extension_dir on command line
So it doesn't need to be specified in php.ini.
1 parent 8dedbe7 commit ff5e771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function start_webserver() {
1515
// exec the command
1616
$HANDLER = getenv('_HANDLER');
1717
chdir('/var/task');
18-
exec("php -S localhost:8000 -c /var/task/php.ini '$HANDLER'");
18+
exec("php -S localhost:8000 -c /var/task/php.ini -d extension_dir=/opt/lib/php/7.1/modules '$HANDLER'");
1919
exit;
2020

2121
// return the child pid to parent

0 commit comments

Comments
 (0)