问题
i am trying to convert .doc
file to .html
file using shell_exec
command php..
for this i have written the below code:
$result = shell_exec("soffice --headless --convert-to html /opt/lampp/htdocs/converter/public/uploads/resume/".$filename." 2>&1");
echo $result;
but i am getting this when i run the project from the browser:
/usr/lib/libreoffice/program/oosplash: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3)
/usr/lib/libreoffice/program/oosplash: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3)
please help i am new to shell_exec
and ubuntu
来源:https://stackoverflow.com/questions/22888096/glibcxx-3-4-9-not-found-ubuntu