Browse Source

installing mysql extension with PHP

Patrick Falls 12 years ago
parent
commit
453814e897
3 changed files with 3 additions and 3 deletions
  1. 1 1
      installer.py
  2. 2 2
      phreeze/benchmark_config
  3. 0 0
      phreeze/deploy/nginx.conf

+ 1 - 1
installer.py

@@ -94,7 +94,7 @@ class Installer:
 
     self.__run_command("wget --trust-server-names http://www.php.net/get/php-5.4.13.tar.gz/from/us1.php.net/mirror")
     self.__run_command("tar xvf php-5.4.13.tar.gz")
-    self.__run_command("./configure --with-pdo-mysql --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data", cwd="php-5.4.13")
+    self.__run_command("./configure --with-pdo-mysql --with-mysql --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data", cwd="php-5.4.13")
     self.__run_command("make", cwd="php-5.4.13")
     self.__run_command("sudo make install", cwd="php-5.4.13")
     self.__run_command("printf \"\\n\" | sudo pecl install apc-beta", cwd="php-5.4.13")

+ 2 - 2
phreeze/benchmark_config

@@ -7,7 +7,7 @@
       "db_url": "/phreeze/db",
       "query_url": "/phreeze/db?queries=",
       "port": 8080,
-      "sort": 1
+      "sort": 49
     }
   }]
-}
+}

+ 0 - 0
phreeze/deploy/ngnix.conf → phreeze/deploy/nginx.conf