Skip to content

Commit

Permalink
Some bug fixes. Moving to Maria DB via new project.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubiclesoft committed Oct 5, 2013
1 parent e1bc761 commit d382aed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Portable Apache + MySQL + PHP for Windows
=========================================

Note: MySQL is pretty much a dead project. They don't really fix bugs or security vulnerabilities. The developers jumped ship and went to Maria DB or other projects. See my newer [Portable Apache + Maria DB + PHP for Windows](https://github.com/cubiclesoft/portable-apache-maria-db-php-for-windows) GitHub repo.

This project is for web developers who prefer manually editing configuration files and want "manual" but quick startup of Apache and MySQL (no Windows services). No more hunting for ZIP files for each separate piece of software.

If XAMPP and similar incarnations are not really your style (e.g. you prefer the command-line and think phpMyAdmin is for weaklings), then this project might be more up your alley. Note that the primary purpose of this project is to set up a quick-and-dirty local WAMP install that just works and is not intended for use on production servers.
Expand Down Expand Up @@ -36,7 +38,7 @@ Sources

The Apache web server is under the Apache License, Version 2.0. (http://www.apache.org/licenses/LICENSE-2.0.html)

http://www.apachelounge.com/download/
http://www.apachelounge.com/download/win32/

The MySQL database server is under the MySQL GPL EXCEPTIONS clause for FOSS. (http://www.mysql.com/about/legal/licensing/foss-exception/)

Expand Down
2 changes: 1 addition & 1 deletion support/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function SaveInstalledData()
if (!is_dir($stagingpath)) mkdir($stagingpath);

// Apache.
$url = "http://www.apachelounge.com/download/";
$url = "http://www.apachelounge.com/download/win32/";
echo "Detecting latest version of Apache:\n";
echo " " . $url . "\n";
echo "Please wait...\n";
Expand Down
4 changes: 2 additions & 2 deletions support/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
if ($pos !== false)
{
$pos += strlen("LoadModule xml2enc_module modules/mod_xml2enc.so" . $lineend);
$data2 = "LoadModule php5_module \"" . $basepath2 . "php/php5apache2_4.dll\"" . $lineend;
$data2 = "LoadModule php5_module \"" . $basepath . "php/php5apache2_4.dll\"" . $lineend;
$data2 .= "AddHandler application/x-httpd-php .php" . $lineend;
$data2 .= $lineend;
$data2 .= "PHPIniDir \"" . $basepath2 . "php\"" . $lineend;
$data2 .= "PHPIniDir \"" . $basepath . "php\"" . $lineend;
$data = substr($data, 0, $pos) . $data2 . substr($data, $pos);
}
file_put_contents($basepath2 . "apache/conf/httpd.conf", $data);
Expand Down

0 comments on commit d382aed

Please sign in to comment.