Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php cli no apache?

The way I understand PHP CLI is: it's no longer using a webserver ( which apache in most common setup)? Am I right about this? so if I run a php via CLI it will no longer call apache to trigger PHP, it instead calling the PHP directly.

Thanks for the help!

like image 336
dmb Avatar asked Feb 11 '26 15:02

dmb


1 Answers

Yes that's correct PHP-CLI will not use apache, apache is a webserver to server web pages, but here we are running PHP directly in CLI so we don't need apache

like image 139
Saket Patel Avatar answered Feb 15 '26 21:02

Saket Patel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!