[resolved] CLI PHP Won't run |
Guru master
|
Just a (perhaps related) remark regarding encoders in general: On some linux variants there is a different php.ini for the CLI as for the Webserver (Debian for instance). I've encountered the "encoded files don't work on the CLI"-problem in the past as well and it was because under CLI the encoder-extension wasn't even loaded.
If that is not the case, I personally don't have an idea whether it actually is an incompatibility with the CLI, so sorry. |
||||||||||||
|
[resolved] CLI PHP Won't run (WAMP5) |
|
Hi Blizzz,
Thanks for the tip. I thought I was using the ini file in my PHP directory, but this was not the case. I knew it wasn't in the WINDOWS dir. I'm playing with WAMP5, and it turns out it defaults to the Apache2/bin dir, so I just copied it over to the PHP dir and all is well. |
||||||||||||
|
Guru master
|
Hehe, well it's close enough to what I said
You might want to consider launching php with the -c option to avoid having ini files all over the place. FYI (in case you didn't knew yet), run php with -i and checkout the first lines, it tells you which ini it is using. |
||||||||||||
|
Site Admin
|
PhpExpress is of course compatible with CLI version of PHP, but in combination only loader functionality is available, in other words it won't accelerate your code.
|
||||||||||||
_________________ The PHP IDE team |
[resolved] CLI PHP Won't run |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by