CodeIgniter Forums
php spark server on production web server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: php spark server on production web server (/showthread.php?tid=81952)



php spark server on production web server - Hamed Zargham - 05-26-2022

Hi,
I'm New to CI.
On my production shared host I've installed CI 4.19 via Composer and then using cPanel Terminal tools I executed 'php spark server' at the terminal ! 
After studying CI documentation here I noticed that I've made a mistake since php spark server is for local development server.
So what should I do now? should I run any command in cPanel Terminal to stop php spark or should i remove something ?


RE: php spark server on production web server - datamweb - 05-28-2022

Hi, @Hamed Zargham  Please read  this


RE: php spark server on production web server - Hamed Zargham - 05-31-2022

Hi,
I studied your post completely but it had nothing to do with my question. perhaps you didn't read my question carefully.
my question was very simple. I've run 'php spark serve' at the cPanel terminal in a shared host !
Does running 'php spark serve' at the cPanel terminal have a negative effect in the operation of my application ?! if yes, now what action should I take to make up for this mistake?
since the documentation says:
" The built-in development server should only be used on local development machines. It should NEVER be used on a production server."