how Run Ci port 8080 on real host |
in local host i can run this script php spark serve then ci fire but on real host
how can run php spark serve env file in local host PHP Code: CI_ENVIRONMENT = development in real host env file PHP Code: CI_ENVIRONMENT = production i skipt some settings i have a c-panel
Enlightenment Is Freedom
spark serve not for work on a production server.
It is for local development only. What you are trying to do wrong. https://www.php.net/manual/en/features.c...server.php Warning This web server is designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network. (02-20-2021, 09:22 PM)iRedds Wrote: spark serve not for work on a production server. What should i do to run app on host?!
Enlightenment Is Freedom
If you have cPanel, then, as far as I know, you should already have an environment for work (web server, php, ...)
(02-21-2021, 03:11 PM)iRedds Wrote: If you have cPanel, then, as far as I know, you should already have an environment for work (web server, php, ...) you don't see problem program work corectlly when url is like that http:localhost:8080 how run it this port it with out that it gose to http:/localhost/public then middelweare are not working at this mode i m so confused my app is restfull api i have angular too should i change htaccess file to get what i want ??????????????????????????????????????
Enlightenment Is Freedom
|
Welcome Guest, Not a member yet? Register Sign In |