PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 21, 2022

[FIXED] how to change the localhost to machine name?

 April 21, 2022     connection, localhost, mantis, mysql, webserver     No comments   

Issue

I am running a webserver for Mantis BT. I have configured it on my laptop for test phase. The user's which I have created manually receive a URL for initial sign-up. they can only connect to me by replacing the localhost in the URL with my laptop name. is there any way to replace the localhost with my machine name in MySQL?


Solution

Set g_path in config_inc.php. For example:

$g_path = "http://my-hostname/demo/mantis";


Answered By - libregeek
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing