please choosego to mobile | Continue to access the PC version
View: 7940|Reply: 39

php exec, shell_exec

[Copy link]

5

threads

10

posts

57

credits

Registered member

Rank: 2

credits
57
Published in 2016-12-22 20:05:47 | Show all floors |Read mode
hello,

I have orange pi one. I have installed php and it is working ok. the only problem is that I cant run commands using exec(), shell_exec().
I have tried simple commands like exec("ls"), exec(" echo 'hello' ") but it will not show it.
i have tried to clear all the disabled_functions in the php.ini in /etc/php5/apache2/php.ini

nothing worked for me.

what can I do?

5

threads

10

posts

57

credits

Registered member

Rank: 2

credits
57
 Author| Published in 2017-1-20 00:45:19 | Show all floors
I think I know how to solve this problem but I am not shure it is possible.

I think if I could update th PHP to version 5.6 the system calls will work.

I managed to build and install PHP 5.6 on raspbian from http://stackoverflow.com/questions/31280912/how-to-install-php-5-6-on-raspbian-wheezy

the problem is that I'm missing libapache2-mod-php5 version 5.6 .. which not exist. I dont know where is the source for this..

I managed to use systen calls with php 5.6 / php 7 on armbian..


Published in 2024-6-4 23:10:04 | Show all floors
Enter the 1win bonus code MAXVIP500 when signing up to receive a generous 500% bonus on your initial four deposits.        1Win Bonus Code Türkiye
Published in 2024-6-5 20:20:36 | Show all floors
Quel est le code promo 1xBet ? C'est une combinaison de chiffres et/ou de lettres qui, lorsqu'elle est utilisée, vous donne droit à certains avantages ou bonus.        code promo 1xbet rdc innoss'b
Published in 2024-6-6 00:05:35 | Show all floors
Condense! I believe it will be a lot more efficient if presented better.        rent bounce houses kissimmee
Published in 2024-6-8 16:34:16 | Show all floors
I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this increase.        xem trực tiếp bóng đá
Published in 2024-6-16 21:40:06 | Show all floors
Everything you need to know about News means much to us.        https://bk8vn.ink
Published in 2024-6-18 01:09:55 | Show all floors
Fine, I saw your site in digg and the posts really helped me ~        https://kakalive.fun/
Published in 2024-6-18 03:33:02 | Show all floors
I’m a blog crazed person and i love to read cool blog like yours.~’,\'”        https://thabet77.ink/
Published in 2024-6-20 19:31:45 | Show all floors
An adrenaline-fueled adventure that captivates you without a single explosion and leaves you completely satisfied.        Salesforce admin training in Chennai
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list