Menu
After more investigating, I found that the problem goes away if I remove this from php.ini:
35 rows Loaders for ionCube Secured Files. PHP can use the Loader with one line added to a PHP. For Clientexec 5.4.5 and higher, we erquire at least ionCube 5.0.1. For Clientexec 5.4.4 and lower, we require at least ionCube 4.4.1. There are three methods you can utilize to resolve this.
In other words, ioncube 'sometimes' bombs out and php process that is executed from the command line.
So again, no matter what the contents of the php file, if I have ioncube loader enabled as above, it just dies when I run command line php like so:
- Does anyone know where I would see php module errors being logged?
- Has anyone come across this or knows a way around it?
![Php Php](http://www.hostingformula.net/wp-content/uploads/2012/02/upgrade_ampps_3.png)
ORIGINAL REQUEST
Randomly, out of the blue, the 'shell_exec' parts of my code, stopped working. After some investigating, I noticed just running php from the command line is causing random behaviour. I added this to a text file, myfile.php:
I then went to the command line and typed:
The first time I typed it, it shows me a random number. The second time, nothing. Then the third time, it shows me nothing, fourth time nothing, and then fifth and 6th time it works again. Then 7th it stops. Completely random.
What could possibly be causing this?
And to make it even weirder... this problem started at the same time for myself and another developer. WE both use AMPPS but we didn't upgrade recently.
Any ideas?
coderama
coderamacoderama