[請益] 用passthru()執行C++compile的執行檔, …
執行檔我測試過是可以執行的
權限也有開
但是兩個執行檔,一個可以執行,一個不能執行
我找不到原因
如:
$command = "./phptest one two three"; <--phptest是執行檔
passthru($command);
不知道是不是有什麼限制
還有,執行檔是不是一定要和網頁放在一起呀?
我的OS是fedora
$command = "./usr/local/phptest one two three"
passthru($command);
沒辦法執行
似乎執行檔一定要和網頁放在一起
請高手幫幫忙,謝謝
--
※ 編輯: terry01333 來自: 140.113.216.63 (02/26 00:04)
→
02/26 00:09, , 1F
02/26 00:09, 1F
→
02/26 00:20, , 2F
02/26 00:20, 2F
→
02/26 01:06, , 3F
02/26 01:06, 3F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
-4
11