When I download XAMPP, the installation wizard doesn't give me the opportunity to download any of the programs (apache, MySQL, etc.) as services. So then when I open the XAMPP control panel, I am not able to check any of the service boxes.Please help, I have no idea why this is happening!Thanks
When you download XAMPP, those services should be what you are actually downloading - no need to select anything else.
When you open the XAMPP control panel, have you tried clicking "start" to the right of the programs?
I assume you installed Xampp correctly.
goto Xampp installation directory
Path : C:\xampp
Click to xampp-control.exe(Showed in image)
Open that. Then you find this kind of window
Click Starton Apache and MySQL front of there names
Related
I'm trying to set up a PHP server. We have an old server that runs a bunch of in house forms over an intranet that is coded in ASP, and I'm trying to rebuild that into a better system using PHP.
I'm starting fresh, as have been given a Win 2012 r2 server.
I first tried installing IIS 8. I installed downloaded the files for php (version 7). I was successful in being able to access index.html and any other files placed in the c/inetpub/wwwroot folder from a different PC via a browser (http://servername/file.php). However, I installed MariaDB and phpmyadmin. phpmyadmin gave the the message the mysqli extension is missing.
I ultimately uninstalled IIS, and PHP, and the MariaDB. I wanted to start from scratch, and tried with Apache
I was able to get Apache and PHP to work together, but I could not access files in the htdocs folder from a different PC (going to http://<servername>/file.php). I could only access it via localhost.
I had the same problems with phpmyadmin and mysqli.
I also noticed there was no php.ini file... rather I saw a php-ini-production and php-ini-development files.
How to I fix the phpmyadmin problem? Any advice for configuring apache so that I can access files place in the htdocs folder from a device other than the server itself (non-localhost)?
I recommend using XAMPP, then you'll have MySQL, and may be you could configure to use MariaDB as well.
If you use XAMPP, phpmyadmin is not available other than localhost, but that is configurable. If you want i can help you find a good video for that.
take the php-ini-production file and rename it to php.ini and find the line
;extension=php_mysqli.dll
and just remove the leading semicolon (;), save and restart apache.
Also you need to open the firewall on your machine to allow port 80 to accept all connections.
xampp v3.2.1 do I need to check the service module first so that I can view it on localhost?, because I can't see my sample.php in localhost.
I noticed the checkbox is disabled:
and another one how do I normally open my sample.php. the localhost in the browser always
redirect me here: http://localhost/xampp/index.php ..which is the mainsite of xampp. hmm.
Please help, I'm a novice in php using xampp. Google almighty can't find me a solution.
You must start the XAMPP Control Panel as Admin. Go to your XAMP directory, usually its C:\XAMPP\, look for the "xampp-control.exe". Right click on that and hit "Run as Administrator." After confirming the UAC or user account control, you should be able to check and install Apache and MySQL as services. That works for me so it should work for you too as I can tell on your screenshot, we run the same version of XAMPP. Goodluck.
First of all make sure that you haven't installed XAMPP Lite (and portable) version.
Only the full version provide the use of services because Windows needs absolute paths to launch these.
For your redirection problem you will have to tweak apache's configuration files (httpd.conf and/or httpd-xampp.conf). Use the XAMPP Controller's "Config" buttons.
You will have to create aliases for your web folders, see: Apache mod_alias
-Just Run "xampp-control.exe" as administrator
-and stop apache service action port.
-and tick this(in snapshot) check box it will ask for install as service just install it
-then go to service.msc where you will see
-new service name as apache2(or similar)
-just set it as automatic if you want it to run as startup.
(this method is for apache for mysql you will do same above steps)
I am using wamp to to host my server on my computer and I have a webpage where, that modifys that data in a database, when ever I try to modify the data though I get this error
Forbidden
You don't have permission to access /htdocs/< on this server.
with htdocs being my project folder
if anyone knows how to fix this that would be great.
thanks
Wamp does not use a htdocs folder by default, it sounds like you have a very messed up system.
Do you have another Apache service running? Wamps apache service is called 'wampapache' and NOT Apache.
Did you install apache some ther way before installing wamp, if so Uninstall it, ditto MySQL if you had that installed before installing wamp.
My system is dual boot, Win-XP Professional (32-bit) an Win-7 (64-bit).
I have XAMPP installed on my XP OS (C:/XAMPP).
I want to use the same htdocs directory for testing the php on my windows also.
But when I am installing the XAMPP on the same directory, I am getting this error.
Important! Because an activated User Account Control (UAC) on your
sytem some functions of XAMPP are possibly restricted. With UAC please
avoid to install XAMPP to C:\Program Files (x86) (missing write
permisssions). Or deactivate UAC with msconfig after this setup.
Can someone please help me in resolving this thing?
Thanks.
First : open Start Menu -> Run.. and type "lusrmgr.msc" inside. In the opened window, click "Users" on the left menu, then double-click on your username in the middle and then select "Member Of" in the opened window. Do you see "Administrators" there?
BTW you can try installing XAMPP in another directory, then open php.ini and set the VirtualDirectory parameters to point your previous XAMPP htdocs folder.
The question is not clear enough for a clear answer - but it sounds like you are trying to install XAMPP on your Windows 7 OS but use XP's htdocs folder as the content?
The warning you are receiving is from Windows 7 UAC, which authenticates all of your actions etc. when enabled. Go to your accounts and disable UAC, then you should be able to install XAMPP without this error message. However, if you are trying to install it in the same location then it will likely overwrite your XP installation. The question is very vague.
I have installed WAMP and enable some extension. After that i have installed eclipse for php. now my question how can i let eclipse now that i should use apache installation and the version of php which came with WAMP.
I will be developing web apps on windows.
Open Eclipse's preferences. In the menu on the left, navigate to PHP -> PHP Executables. Click the Add button. Under executable path, put the path to the php executable. With a new installation of WAMP, the path is C:\wamp\bin\php\php5.3.0\php.exe. Click "Finish".
For the server component, navigate to PHP -> PHP Servers in the preferences screen. If "Default PHP Web Server" does not exist or does not point to http://localhost/, click "New" and fill it in.
Take note of the "Path Mapping" tab of each server (accessible by selecting an existing server and pressing "Edit"). This lets you map a local path in your eclipse workspace to specific sub-urls of WAMP. This is useful if you deploy apps into your WAMP installation using VirtualHosts that have separate DocumentRoots.