Apache Mysql Php Download

Apache Mysql Php Download 9,1/10 8731 reviews

In this tutorial, you’ll learn how you can make your own WAMP server by installing Apache, PHP and MySQL server manually on Windows 10. Learn to install Apache, PHP and MYSQL on Windows 10 Machine step by step. Once WampServer is installed, you can manually add aditionals Apache, Php or MySql (only VC9, VC10 and VC11 compiled) versions. Explanations will be provided on the forum. Each release of Apache, MySQL and PHP has its own settings and its own files (datas for MySQL). Using wampserver. Install Apache PHP and MySQL on FreeBSD. In this tutorial you will learn how to setup a web server on FreeBSD using Apache Web Server, PHP programming language and MySQL/MariaDB database server. In addition to the LAMP stack we will also install phpMyAdmin for the database access and VSFTPD server for the FTP access.

Active2 years, 11 months ago

Its my first time working with Apache,PHP,MySql. I downloaded and installed the latest package of these 3. Now I checked with apache and the index.html works. Now I replaced the index.html with some php script to check if my php works or not. When opened the html page again I see the php code directly. It seems it does not work. following is how my php code looks like.

when I open my index.php , I see the above code itself. Can anybody let me know whats wrong and how can i fix it?

Surjya Narayana PadhiSurjya Narayana Padhi
3,57822 gold badges66 silver badges109 bronze badges

5 Answers

Check your apache httpd.conf file for some commented out code that looks like this

and further down the file, this..

Mike VormwaldMike Vormwald

it seems there is some problem in the installation. use WAMP as stefan and dessus or XAMPP. i recomand u to use XAMPP its bundled with APACHE, MYSQL, File Zilla Server, Mercury for mail. Easy to Install and Use . http://www.apachefriends.org/en/xampp.html

Bhavesh GanganiBhavesh Gangani
2,4174 gold badges32 silver badges62 bronze badges

Another vote for WampServer. Once you have a working server, it's then easier to poke around with configurations files and then learn Apache/PHP configuration that way.

Martin BeanMartin Bean
26.4k20 gold badges99 silver badges173 bronze badges

use wamp! it's easy and fast :)

personally, i use an old version from 2007, 1.7.4, it can be found here: http://sourceforge.net/projects/wampserver/files%2FWAMP5/

the good thing about using an old version is that your code will work on old machines, and many servers out there have old versions of php and mysql.

the bad thing about using an old version is that your code might not work on new machines, and some machines out there have new versions of php and mysql.

davogotlanddavogotland
2,4591 gold badge11 silver badges18 bronze badges

Step By Step Process to Setup Apaache,PHP,Mysql,phpMyAdmin and XDebug.

1)How to install Apache

2)Setup PHP for Apache

3)Install & Configure MySQL to use with PHP

4)Setup XDebug for Debugging

5)phpMyAdmin

Note:In this tutorial my Server Folder is located on F:Server

How to install Apache

1)There are two ways to install apache either install the old version of apache httpd (Compatible with Windows XP) from httpd.apache.org/download.cgi or get the latest apache build zip from www.apachelounge.com/download/ .

Php

2)I will show how to configure apache from the zip version downloaded from apachelounge.com/download/ .

3)Click on Additional + VC9 on the left of the page.

4)Download the 2.4.x zip build with OpenSSL 0.9.8.

5)Create a folder with a name Server on location where .

6)My Location is F:Server

7)Extract the Apache24 from apache zip to the Server folder.

8)Now Goto config folder in Apache and open httpd.config in any text editor.

9)Find(Ctrl + F) and replace each and every instance of 'c:/Apache24' and change it to your apache location in my case its f:/Server/Apaache24.

ServerRoot 'c:/Apache24' with ServerRoot 'f:/Server/Apache24'

DocumentRoot 'c:/Apache24/htdocs' with DocumentRoot 'f:/Server/Apache24/htdocs'

with

ScriptAlias /cgi-bin/ 'c:/Apache24/cgi-bin/' with ScriptAlias /cgi-bin/ 'f:/Server/Apache24/cgi-bin/'

with

8)Now run the Command Prompt (with Administrator Rights) .

9)On Command Prompt go to the location Server/Apache24/bin .

10)Inside the Bin folder type 'httpd -k install' to install the Apache service and then press Enter.

11)To start the Apache Server simply type in 'httpd -k start' and then press Enter.

12)Restart Your Computer

13)Now Open the Bin folder and double click on the ApacheMonitor.exe and Start Apache

14)Now Goto localhost if you see page 'It Works' then Apache is sucessfully installed on you computer.

If you see a page that says 'It works!' then the Apache server has been installed successfully.

Setup PHP for Apache

1)Goto windows.php.net/download/ download the php-5.4.x-Win32-VC9-x86.zip.

2)Create a folder named php inside Server folder.

3)Extract all files from php-5.4.x-Win32-VC9-x86.zip to php folder in the Server.

4)Now Goto config folder in Apache and open httpd.config in any text editor.

5)Find(Ctrl + F) the LoadModule scroll down until last LoadModule and Paste the following

LoadModule php5_module 'f:/Server/php/php5apache2_4.dll'.

6) Find(Ctrl + F) the AddType scroll down until last AddType and Paste the following

AddType application/x-httpd-php .php .

7)Add the PHP location to the end of the httpd.conf file. For example, at the end of the file, add the following: PHPIniDir 'Your PHP Location'.

localhost/info.php Adobe acrobat pro x update.

8)In the php folder rename the php.ini-development to php.ini and open it in Text Editor.

9)Find(Ctrl + F) the display_errors, and make sure the value is set to On.

10) Find(Ctrl + F) the extension_dir = './' and change it to extension_dir = 'F:Serverphpext' .

11)Restart Apache Server.

12)Create a file 'phpinfo.php' in htdocs folder in Apache with follwoing content:

13)Goto localhost/phpinfo.php

extension_dir = './'

14)Right Click MyComputer Click Propertes

15)Click Environment Variables

16)Add Your php folder location at the end of the path

17)Restart Your Computer.

Install & Configure MySQL to use with PHP

1)Goto dev.mysql.com/downloads/mysql/ download the zip or installer version.

2)Install MySQL

3)Click Next

4)Select Complete & click Next

5)Click Finsh

6)Click Standard Configuration

7)Click Next

8)Enter the password for mySQL

9)Goto MySQL Command Line and enter the password.

12)Open the php.ini file and find the line: ;extension=php_mysql.dll remove the semi-colon.

and find the line: ;extension=php_mysql.dll

phpMyAdmin

1)Goto config folder in Apache and open httpd.config in any text editor.

2) Find(Ctrl + F) the line DirectoryIndex index.html add index.php.

3)Open php.ini file in the Server Folder and Uncomment the mbstring and mysqli extension.

3)Goto phpmyadmin.net/ Download the latest phpMyAdmin-4.0.8-english.zip.

Download apache php mysql for mac

4)Extract it to phpMyAdmin folder in htdocs.

5)Restart the Apache Server.

6)Goto localhost/phpMyAdmin/

Setup XDebug for Debugging

1)Goto http://xdebug.org/download.php from your browser and download the

php_xdebug-2.x.x-5.4-vc9 Thread Safe 32 bit version.

2)Copy and Paste it to the extension folder in the php.

3)Copy & Paste the following line of code at the end of php.ini file .

[XDebug]

;; Only Zend OR (!) XDebug

zend_extension='Your Location of Xdebug'

xdebug.remote_enable=true

xdebug.remote_host=localhost

xdebug.remote_port=10000

xdebug.remote_handler=dbgp

Linux Apache Mysql Php Download

4)Restart Apache Server.

5)Goto to localhost/phpinfo.php scroll down to see if xDebug is installed

falsarella
10.2k7 gold badges55 silver badges97 bronze badges

Lamp Linux Apache Mysql Php Download

RushikeshRushikesh

Download Apache Mysql Php Ubuntu

Not the answer you're looking for? Browse other questions tagged phpwindowsapache or ask your own question.