Goaskle.com Help Desk
Goaskle.com Support Department Goaskle.com Help Desk Knowledgebase Web development PHP
How to run / print / execute php command from / in / using ssh console / cli console?
Suggested knowledgebase articles:

How to run / print / execute php command from / in / using ssh console / cli console?

Just use this example if you want to know How to run / print / execute php command from / in / using ssh console / cli console?

 

php -r "echo ini_get('memory_limit').PHP_EOL;"   
Was this article helpful? Yes | No

Article Details

Article ID:
111
Category:
PHP
Date added:
11.10.2023 21:19:52
Views:
690
Rating (Votes):
(0)
Go back

Related articles

  • How to change main ( native ) php ( used by Magento 2 for Cli commands in ssh ) version in linux OS ( Debian, Centos, RedHat etc ... ) for only one Magento 2 installation on your server?
  • How to print any variable or text using php into log file in Magento 2 ( Adobe commerce )?
  • How do I execute jQuery / JavaScript code after query completed? (Using jQuery load with promises)
  • How to fix error: Magento 2.4 : Missing required argument $engines of Magento\Search\Model\EngineResolver?
  • How to fix error cannot instantiate interface Magento\Theme\Model\Theme\StoreThemesResolverInterface#0 <magento root>/vendor/magento/framework/ObjectMa nager/ObjectManager.php(70)?
  • How to calculate (show, print) people (human) age using php?

Powered by Help Desk Software HESK
More IT firepower? Try SysAid