Changes between Version 29 and Version 30 of howto/PHP
- Timestamp:
- Apr 12, 2023, 5:35:09 PM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/PHP
v29 v30 141 141 }}} 142 142 143 In your browser open `localhost/phpmyadmin`, and you will see phpMyAdmin's inlog page. Try to login as root with the MySQL password for root.\\ 143 144 To check your phpMyAdmin installation, point your browser to http://localhost/phpmyadmin and verify that phpMyAdmin loads and you see it's login page. 145 Try to login as root with the MySQL password for root.\\ 144 146 There is a fair chance you can't login and will see two pink colored squares with cryptic error codes in it. The reason for it is that mySQL uses strong encryption,\\ 145 147 that phpMyAdmin can't handle. So let's change the encryption for the user root in mySQL to a lower level: … … 151 153 }}} 152 154 155 Now accessing databases in MySQL with phpMyAdmin should work. So installing a CMS like Drupal or WordPress should be a piece of cake. 156 First step is to create a new user in mysql and his database. Download for example WordPress and copy it's files in your DocumentRoot. 157 When installing it, you will see that macOS prevents WordPress from creating a config file in the DocumentRoot. Create that file manually and copy the contents provided by WordPress in it. 158 Within a minute your Wordpress website is up and running. **Excellent job done !! ** \\ 159 153 160 154 Next, Edit that file, and locate the line: 161 If you want to consult the phpMyAdmin manual, we should copy it into your DocumenRoot : 162 {{{ 163 $ cp -R /opt/local/www/phpmyadmin/doc/html /Users/username/Sites/phpmyadmin-doc 164 }}} 165 166 Just open localhost/phpmyadmin-doc in your browser et voilà! There it is. 167 168 There is no need to edit the config.inc.php file, so feel free to skip the following:\\ 169 170 However if you are curious, check the following: locate the line: 155 171 {{{ 156 172 $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? - default is Cookie. … … 171 187 However, as this is to simply get you "up-and-running," details for configuring those two authorization options are not given here. 172 188 Details on "Using Authentication Modes" can be found at "''https://docs.phpmyadmin.net/en/latest/setup.html#using-authentication-modes''." 173 174 To check your phpMyAdmin installation, point your browser to http://localhost/phpmyadmin and verify that phpMyAdmin loads and can access your database (by providing a username and password, depending on the authentication method you selected).175 176 Consult the documentation on your server at ''"/opt/local/www/phpmyadmin/doc/html/config.html"''177 178 NOTE: This option expects ''"/opt/local/www/phpmyadmin/doc/html"'' to be accessible under "<Document Root>." This can be accomplished by179 {{{180 $ cd <Document Root>181 $ ln -s /opt/local/www/phpmyadmin/doc/html/ phpmyadmin-doc182 }}}183 and then accessing ''http://<servername>/phpmyadmin-doc/''184 185 189 186 190 = Step 6: Install pmadb = #pmadb