私はこの問題に直面しています。
私のファイルabc.phpは
<?php 
 ini_set ( 'max_execution_time', 300);
$filename = "d:\abhi.xlsx";
$sheet1 = 4;
$arr=array(1=>'a','b','c','d');
$excel_app = new COM("Excel.application") or Die ("Did not connect");
    私はこの問題に直面しています。
私のファイルabc.phpは
<?php 
 ini_set ( 'max_execution_time', 300);
$filename = "d:\abhi.xlsx";
$sheet1 = 4;
$arr=array(1=>'a','b','c','d');
$excel_app = new COM("Excel.application") or Die ("Did not connect");
    これで解決しました
IIS が構成されている場合は、これを試してください。
Excel.applicationからに変更しますExcel.Application