We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Help php_fileinfo ini

News and General

Cmagg's avatar
Cmagg
1 posts
5 years ago
Cmagg's avatar Cmagg

Can’t get past error in setup php_fileinfo.ini on Apache Edited my php ini file and uncommented that extension. Restarted Apache and still the error.

Thanks for any help

       
Martin77's avatar
Martin77
1 posts
5 years ago
Martin77's avatar Martin77

r/PHPhelp •Posted byu/Pavlic 1 day ago How to start a vim/nano editor from a running php cli app Hey,

As the title says, how can I start a nano/vim/… (preferably default console editor) from a php script.

I am trying to solve this for few days now. I am on windows. I can start both nano and vim from console without a problem. Please help! 😊

So…to simplify a bit: I have a script that is intended to be run in console. I need to get multiline input from user (with variable length), for which I would like to open a console editor for user and then pipe it’s output back to my script.

Is something like that possible? I guess it should be, as I found SO answer, saying that system(vim > ‘tty’) should work. Well…it doesn’t work for me. It opens editor without any ‘GUI’ (just empty space) and then saves it in file ‘tty’. I think that editor is started, because I can exit it like I normally would (fe. nano is closed with ctrl+x).

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.