i am on win XP
i installed apache and php..... and followed the instructions i saw on a website.
HTML files run ok , but when i run php files i get this message:
Forbidden
You don't have permission to access /php/php/Gert hough/1/account.php on this server.
Plsss help
Configuring Apache with PHP
Started by arxh, Jul 27 2010 08:53 AM
11 replies to this topic
#1
Posted 27 July 2010 - 08:53 AM
|
|
|
#2
Posted 27 July 2010 - 08:55 AM
The easiest way to set it up is using XAMPP or WAMP.
#3
Posted 27 July 2010 - 09:43 AM
cant it be done without xampp or wamp.........
#4
Posted 27 July 2010 - 11:34 AM
It can, but things get trickier. XAMPP even lets you decide what pieces to install.
#5
Posted 27 July 2010 - 11:47 AM
I might be completely wrong... But usually when I get that type of error on my website it is usually associated with file permissions. I'm not sure what you are working with, but you should either 1. link to the guide you foolowed 2. make sure everything you are installing is compatible with Win XP. 3. Check if the guide you followed has any comment or replies with similar issues.
#6
Posted 27 July 2010 - 02:27 PM
I agree with WingedPanther here, get xampp or wamp or something preconfigured. It just ain't worth the job to do it on your own. me myself run xampp.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#7
Guest_johnny.dacu_*
Posted 28 July 2010 - 08:53 AM
Guest_johnny.dacu_*
Indeed, wamp or other apache,php&mysql pack is preconfigured. But maybe your problem comes from incorect htaccess setup. Did you used a .htaccess file?
#8
Posted 28 July 2010 - 10:36 AM
okk... i installed xampp..
opened the xampp control panel.
now how do i know mysql user and pass.... how can i run phpmyadmin
opened the xampp control panel.
now how do i know mysql user and pass.... how can i run phpmyadmin
#9
Posted 28 July 2010 - 04:40 PM
arxh said:
okk... i installed xampp..
opened the xampp control panel.
now how do i know mysql user and pass.... how can i run phpmyadmin
opened the xampp control panel.
now how do i know mysql user and pass.... how can i run phpmyadmin
Once your server is online, it's usually located in http://127.0.0.1/phpmyadmin by default with no root passwords. For MySQL access you can define the connection as follows:
$conn = mysql_connect("localhost", "root", "");
If you're wanting to add a root password, you will need to look in the phpMyAdmin config area, possibly located in:
(xampp folder)/phpmyadmin/config.inc.php
You would edit the following lines to anything you wish:
$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = '';
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#10
Posted 29 July 2010 - 02:24 AM
Even easier that editing files is to browse the web server from localhost and go to the security tab and change the password with the link there, and there you can also create a special user for phpmyadmin for it's access (pna) in just a few clicks.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#11
Posted 30 July 2010 - 12:38 AM
kkk...
got into. pma.
but it shows php extension: mysqli
how to change it to mysql
got into. pma.
but it shows php extension: mysqli
how to change it to mysql
#12
Posted 30 July 2010 - 02:03 AM
mysqli is a better/newer version of the php library than the mysql-library, so just let it be. It won't do any harm
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account


Back to top









