• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how Run Ci port 8080 on real host

#1
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


#app.baseURL = 'http://localhost:8080/' 

in real host env file

PHP Code:
CI_ENVIRONMENT production


#app.baseURL = 'http://domain:8080/' 



i skipt some settings  i have a  c-panel
Reply

#2
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.
Reply

#3
(02-20-2021, 09:22 PM)iRedds Wrote: 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.

 What should i do 
to run app on  host?!
Reply

#4
If you have cPanel, then, as far as I know, you should already have an environment for work (web server, php, ...)
Reply

#5
(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  ??????????????????????????????????????
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.