Jump to content
Larry Ullman's Book Forums

Recommended Posts

For some years I have used a server when developing php scripts but now need to use resident php/MySQL on my laptop. I have changed passwords as instructed on pp 594 using phpMyAdmin from the Control Panel, and in config.inc.php. Oddly, MySQL allows me into tables and the like but now refuses access to the home page:...

 

localhost / phpmyadmin / index.php?db=db etc. etc. Any explanation?

(Spaces are to prevent the forum from creating a link)

 

I have installed the whole kaboodle via Apache friends and php scripts work fine. However, when I use the 1and1 server, I can program it to automatically look at a subdirectory (e.g. main/index.php) when a URL is called (e.g. www.sonningmowers.com).

 

The question is - how can I do that in php on the laptop? Is it the line in config.inc.php:

 

$cfg['Servers'][$i]['user'] = 'root';

 

and should I change it to:

 

$cfg['Servers'][$i]['user'] = 'main/root';...or the like?

 

Thanks for the support.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...