Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PHProjekt 6.0 Developer Preview 1 - Attemp 2

  • Loading branch information...
commit 5332c41ca0ef6958bce49fb0f54e364e80dd2e79 2 parents f4bddf2 + 3c7dcc8
@dsp dsp authored
View
14 phprojekt/INSTALL
@@ -27,7 +27,7 @@
folder outside the ones accessed by your HTTP server.
$ tar xzvf phprojekt.tar.gz
- $ cp -R phprojekt6/* /srv/www/
+ $ cp -R phprojekt/* /srv/www/
Use your favorite packaging tool on Windows under an appropriate path "C:\phprojekt\"
@@ -38,14 +38,14 @@
UNIX /srv/www/htdocs/
WINDOWS C:\phprojekt\htdocs\
- 3. Create a database on your MySQL server (e.g. phprojekt6). Make sure that the
+ 3. Create a database on your MySQL server (e.g. phprojekt). Make sure that the
database user that you want to use has the rights to load files.
An example:
$ mysql -u root -p
- mysql> CREATE DATABASE 'phprojekt6';
- mysql> CREATE USER 'phprojekt6'@'localhost' IDENTIFIED BY 'phprojekt6_secret';
- mysql> GRANT ALL PRIVILEGES ON 'phprojekt6'.* TO 'phprojekt6'@'localhost';
+ mysql> CREATE DATABASE 'phprojekt';
+ mysql> CREATE USER 'phprojekt'@'localhost' IDENTIFIED BY 'phprojekt_secret';
+ mysql> GRANT ALL PRIVILEGES ON 'phprojekt'.* TO 'phprojekt'@'localhost';
4. Database:
@@ -55,8 +55,8 @@
and load it into the database. You might want to use MySQL Administration tools
or PHPMyAdmin. You can also use the command line to do so:
- $ mysql -u phprojekt6 -p
- mysql> use phprojekt6;
+ $ mysql -u phprojekt -p
+ mysql> use phprojekt;
mysql> \. /srv/www/docs/blank_database.sql
3. Configuration
View
14 phprojekt/configuration.ini-dist
@@ -41,10 +41,10 @@ database.host = "localhost"
; Username and password with the appropriate rights for Phprojekt to access to
; the database.
database.username = "p6-user"
-database.password = "phprojekt6"
+database.password = "phprojekt"
; Name of the database, inside the server
-database.name = "phprojekt6"
+database.name = "phprojekt"
; LOG
@@ -99,8 +99,8 @@ uploadpath = "C:\Programme\Zend\Apache2\htdocs\phprojekt\tmp\"
database.type = "pdo_mysql"
database.host = "localhost"
database.username = "p6-user"
-database.password = "phprojek6"
-database.name = "phprojekt6-testing"
+database.password = "phprojekt"
+database.name = "phprojekt-testing"
; Log options
log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\debug.log"
@@ -133,12 +133,12 @@ uploadpath = "C:\Programme\Zend\Apache2\htdocs\phprojekt\tmp\"
database.type = "pdo_mysql"
database.host = "localhost"
database.username = "p6-user"
-database.password = "phprojekt6"
+database.password = "phprojekt"
database.name = "unittest"
; Log options
-;log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojektlogs\debug_test.log"
-;log.crit.filename = "C:\Programme\Zend\Apache2\htdocs\phprojektlogs\crit_test.log"
+;log.debug.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\debug_test.log"
+;log.crit.filename = "C:\Programme\Zend\Apache2\htdocs\phprojekt\logs\crit_test.log"
; Modules
itemsPerPage = 3
View
2  phprojekt/htdocs/index.php
@@ -46,7 +46,7 @@
Zend_Registry::set('config', $config);
} catch (Zend_Config_Exception $error) {
$error->getMessage();
- echo 'You need the configuration.ini file for go on';
+ echo 'You need the file configuration.ini to continue';
die();
}
View
4 phprojekt/index.php → phprojekt/index.html
@@ -1,9 +1,9 @@
<html>
<head>
<title>PHProjekt</title>
- <meta http-equiv="refresh" content="0;URL=htdocs/index.php">
+ <meta http-equiv="refresh" content="0;URL=./htdocs/index.php">
</head>
<body bgcolor="#ffffff">
<center>Redirecting...</center>
</body>
-</html>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.