Installation in Linux
- 
 Hi Stefan, 
 Object not found hört sich nach einer fehlerhaften Apache konfiguration an.Ist /var/www eventuell nicht als "DocumentRoot" in deiner /usr/local/apache2/conf/httpd.conf eingestellt? 
- 
 hallo ds, allein daran kanns nicht gelegen haben, aber die httpd.conf war mir sowieso nicht geheuer da ich sie ja nur aus der "INSTALL" kopiert und aus Unwissenheit keine Änderungen vorgenommen habe. 
 Da muss sicher noch eine ganze Menge geändert werden leider konnte ich aus der "INSTALL" keine weiteren Infos findenVielen Dank für dei Hilfe, ich möchte dat Tool schon gern mit Linux nutzen. hier mal die ganze httpd.conf: This is the main Apache HTTP server configuration file. It contains theconfiguration directives that give the server its instructions.See <url:http: httpd.apache.org="" docs="" 2.2="">for detailed information.In particular, see<url:http: httpd.apache.org="" docs="" 2.2="" mod="" directives.html=""># for a discussion of each configuration directive.Do NOT simply read the instructions in here without understandingwhat they do. They're here only as hints or reminders. If you are unsureconsult the online docs. You have been warned.Configuration and logfile names: If the filenames you specify for manyof the server's control files begin with "/" (or "drive:/" for Win32), theserver will use that explicit path. If the filenames do not beginwith "/", the value of ServerRoot is prepended – so "logs/foo.log"with ServerRoot set to "/usr/local/apache2" will be interpreted by theserver as "/usr/local/apache2/logs/foo.log".ServerRoot: The top of the directory tree under which the server'sconfiguration, error, and log files are kept.Do not add a slash at the end of the directory path. If you pointServerRoot at a non-local disk, be sure to point the LockFile directiveat a local disk. If you wish to share the same ServerRoot for multiplehttpd daemons, you will need to change at least LockFile and PidFile.<directory var="" www="" i-doit="">AddHandler php-script .php 
 Action php-script /cgi-bin/php5
 Options ExecCGI Indexes FollowSymLinks MultiViews
 AllowOverride AuthConfig
 Order allow,deny
 allow from all</directory>ServerRoot "/usr/local/apache2" Listen: Allows you to bind Apache to specific IP addresses and/orports, instead of the default. See also the <virtualhost># directive.Change this to Listen on specific IP addresses as shown below toprevent Apache from glomming onto all bound IP addresses.#Listen 12.34.56.78:80 
 Listen 80Dynamic Shared Object (DSO) SupportTo be able to use the functionality of a module which was built as a DSO youhave to place corresponding `LoadModule' lines at this location so thedirectives contained in it are actually available before they are used.Statically compiled modules (those listed by `httpd -l') do not needto be loaded here.Example:LoadModule foo_module modules/mod_foo.so<ifmodule !mpm_netware_module=""># If you wish httpd to run as a different user or group, you must runhttpd as root initially and it will switch.User/Group: The name (or #number) of the user/group to run httpd as.It is usually good practice to create a dedicated user and group forrunning httpd, as with most system services.User daemon 
 Group daemon</ifmodule>'Main' server configurationThe directives in this section set up the values used by the 'main'server, which responds to any requests that aren't handled by a<virtualhost>definition. These values also provide defaults forany <virtualhost>containers you may define later in the file.All of these directives may appear inside <virtualhost>containers,in which case these default settings will be overridden for thevirtual host being defined.ServerAdmin: Your address, where problems with the server should bee-mailed. This address appears on some server-generated pages, suchas error documents. e.g. admin@your-domain.comServerAdmin you@example.com ServerName gives the name and port that the server uses to identify itself.This can often be determined automatically, but we recommend you specifyit explicitly to prevent problems during startup.If your host doesn't have a registered DNS name, enter its IP address here.#ServerName www.example.com:80 DocumentRoot: The directory out of which you will serve yourdocuments. By default, all requests are taken from this directory, butsymbolic links and aliases may be used to point to other locations.DocumentRoot "/usr/local/apache2/htdocs" 
 DocumentRoot "/var/www"Each directory to which Apache has access can be configured with respectto which services and features are allowed and/or disabled in thatdirectory (and its subdirectories).First, we configure the "default" to be a very restrictive set offeatures.<directory>Options FollowSymLinks 
 AllowOverride None
 Order deny,allow
 Deny from all</directory>Note that from this point forward you must specifically allowparticular features to be enabled - so if something's not working asyou might expect, make sure that you have specifically enabled itbelow.This should be changed to whatever you set DocumentRoot to.<directory "="" usr="" local="" apache2="" htdocs"=""># 
 # Possible values for the Options directive are "None", "All",
 # or any combination of:
 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
 #
 # Note that "MultiViews" must be named explicitly --- "Options All"
 # doesn't give it to you.
 #
 # The Options directive is both complicated and important. Please see
 # http://httpd.apache.org/docs/2.2/mod/core.html#options
 # for more information.
 #
 Options Indexes FollowSymLinks# 
 # AllowOverride controls what directives may be placed in .htaccess files.
 # It can be "All", "None", or any combination of the keywords:
 # Options FileInfo AuthConfig Limit
 #
 AllowOverride None# 
 # Controls who can get stuff from this server.
 #
 Order allow,deny
 Allow from all</directory>DirectoryIndex: sets the file that Apache will serve if a directoryis requested.<ifmodule dir_module="">DirectoryIndex index.html</ifmodule> The following lines prevent .htaccess and .htpasswd files from beingviewed by Web clients.<filesmatch "^.ht"="">Order allow,deny 
 Deny from all
 Satisfy All</filesmatch>ErrorLog: The location of the error log file.If you do not specify an ErrorLog directive within a <virtualhost># container, error messages relating to that virtual host will belogged here. If you do define an error logfile for a <virtualhost># container, that host's errors will be logged there and not here.ErrorLog logs/error_log LogLevel: Control the number of messages logged to the error_log.Possible values include: debug, info, notice, warn, error, crit,alert, emerg.LogLevel warn <ifmodule log_config_module=""># 
 # The following directives define some format nicknames for use with
 # a CustomLog directive (see below).
 #
 LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
 LogFormat "%h %l %u %t "%r" %>s %b" common<ifmodule logio_module=""># You need to enable mod_logio.c to use %I and %O 
 LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio</ifmodule># 
 # The location and format of the access logfile (Common Logfile Format).
 # If you do not define any access logfiles within a <virtualhost># container, they will be logged here. Contrariwise, if you do
 # define per- <virtualhost>access logfiles, transactions will be
 # logged therein and not in this file.
 #
 CustomLog logs/access_log common# 
 # If you prefer a logfile with access, agent, and referer information
 # (Combined Logfile Format) you can use the following directive.
 #
 #CustomLog logs/access_log combined</virtualhost></virtualhost></ifmodule><ifmodule alias_module=""># 
 # Redirect: Allows you to tell clients about documents that used to
 # exist in your server's namespace, but do not anymore. The client
 # will make a new request for the document at its new location.
 # Example:
 # Redirect permanent /foo http://www.example.com/bar# 
 # Alias: Maps web paths into filesystem paths and is used to
 # access content that does not live under the DocumentRoot.
 # Example:
 # Alias /webpath /full/filesystem/path
 #
 # If you include a trailing / on /webpath then the server will
 # require it to be present in the URL. You will also likely
 # need to provide a <directory>section to allow access to
 # the filesystem path.# 
 # ScriptAlias: This controls which directories contain server scripts.
 # ScriptAliases are essentially the same as Aliases, except that
 # documents in the target directory are treated as applications and
 # run by the server when requested rather than as documents sent to the
 # client. The same rules about trailing "/" apply to ScriptAlias
 # directives as to Alias.
 #
 ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"</directory></ifmodule><ifmodule cgid_module=""># 
 # ScriptSock: On threaded servers, designate the path to the UNIX
 # socket used to communicate with the CGI daemon of mod_cgid.
 #
 #Scriptsock logs/cgisock</ifmodule>"/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliasedCGI directory exists, if you have that configured.<directory "="" usr="" local="" apache2="" cgi-bin"="">AllowOverride None 
 Options None
 Order allow,deny
 Allow from all</directory>DefaultType: the default MIME type the server will use for a documentif it cannot otherwise determine one, such as from filename extensions.If your server contains mostly text or HTML documents, "text/plain" isa good value. If most of your content is binary, such as applicationsor images, you may want to use "application/octet-stream" instead tokeep browsers from trying to display binary files as though they aretext.DefaultType text/plain <ifmodule mime_module=""># 
 # TypesConfig points to the file containing the list of mappings from
 # filename extension to MIME-type.
 #
 TypesConfig conf/mime.types# 
 # AddType allows you to add to or override the MIME configuration
 # file specified in TypesConfig for specific file types.
 #
 #AddType application/x-gzip .tgz
 #
 # AddEncoding allows you to have certain browsers uncompress
 # information on the fly. Note: Not all browsers support this.
 #
 #AddEncoding x-compress .Z
 #AddEncoding x-gzip .gz .tgz
 #
 # If the AddEncoding directives above are commented-out, then you
 # probably should define those extensions to indicate media types:
 #
 AddType application/x-compress .Z
 AddType application/x-gzip .gz .tgz# 
 # AddHandler allows you to map certain file extensions to "handlers":
 # actions unrelated to filetype. These can be either built into the server
 # or added with the Action directive (see below)
 #
 # To use CGI scripts outside of ScriptAliased directories:
 # (You will also need to add "ExecCGI" to the "Options" directive.)
 #
 #AddHandler cgi-script .cgi# For type maps (negotiated resources): 
 #AddHandler type-map var# 
 # Filters allow you to process content before it is sent to the client.
 #
 # To parse .shtml files for server-side includes (SSI):
 # (You will also need to add "Includes" to the "Options" directive.)
 #
 #AddType text/html .shtml
 #AddOutputFilter INCLUDES .shtml</ifmodule>The mod_mime_magic module allows the server to use various hints from thecontents of the file itself to determine its type. The MIMEMagicFiledirective tells the module where the hint definitions are located.#MIMEMagicFile conf/magic Customizable error responses come in three flavors:1) plain text 2) local redirects 3) external redirectsSome examples:#ErrorDocument 500 "The server made a boo boo." 
 #ErrorDocument 404 /missing.html
 #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
 #ErrorDocument 402 http://www.example.com/subscription_info.htmlEnableMMAP and EnableSendfile: On systems that support it,memory-mapping or the sendfile syscall is used to deliverfiles. This usually improves server performance, but mustbe turned off when serving from networked-mountedfilesystems or if support for these functions is otherwisebroken on your system.#EnableMMAP off 
 #EnableSendfile offSupplemental configurationThe configuration files in the conf/extra/ directory can beincluded to add extra features or to modify the default configuration ofthe server, or you may simply copy their contents here and change asnecessary.Server-pool management (MPM specific)#Include conf/extra/httpd-mpm.conf Multi-language error messages#Include conf/extra/httpd-multilang-errordoc.conf Fancy directory listings#Include conf/extra/httpd-autoindex.conf Language settings#Include conf/extra/httpd-languages.conf User home directories#Include conf/extra/httpd-userdir.conf Real-time info on requests and configuration#Include conf/extra/httpd-info.conf Virtual hosts#Include conf/extra/httpd-vhosts.conf Local access to the Apache HTTP Server Manual#Include conf/extra/httpd-manual.conf Distributed authoring and versioning (WebDAV)#Include conf/extra/httpd-dav.conf Various default settings#Include conf/extra/httpd-default.conf Secure (SSL/TLS) connections#Include conf/extra/httpd-ssl.conf Note: The following must must be present to support# starting without SSL on platforms with no /dev/random equivalent 
 # but a statically compiled-in mod_ssl.<ifmodule ssl_module="">SSLRandomSeed startup builtin 
 SSLRandomSeed connect builtin</ifmodule></virtualhost></virtualhost></virtualhost></virtualhost></virtualhost></virtualhost></url:http:></url:http:>
- 
 Hi, Action php-script /cgi-bin/php5 muss auf die php client datei deiner php installation zeigen - also zB: Action php-script /var/www/i-doit/src/tools/php/php5 Musst du evtentuell nochmal überprüfen, ob der Pfad korrekt ist Alternativ könntest du aber auch mal versuchen php als Modul zu installieren. Ist sicher im yast Paketmanager vorhanden (mod_php5) 
- 
 Achso: um zu überprüfen ob php korrekt funktioniert erstellst du dir am besten eine datei namens phpinfo.php mit folgendem Inhalt: phpinfo(); ?>in dem Verzeichnis /var/www/i-doit/ http://localhost/i-doit/phpinfo.php sollte dir dann die entsprechenden Infos zur php Installation auflisten. 
- 
 Hallo, in /var/www/i-doit/src/tools/php/ gibt es leider kein Verzeichnis /php5 auch mit phpinfo.php konnte ich nichts erreichen, wieder "Object not found!" Wie genau heißt denn das php-Verzeichnis oder die Client-Datei ich habe /etc/php5 /usr/include/php5 /usr/lib/php5 /usr/share/php5 /usr/share/doc/packages/php5 /var/lib/php5 /etc/apparmor.d/abstractions/php5 /srv/www/cgi-bin/php5 /usr/bin/php5 Für die Mühe vielen Dank, ich möchte nämlich nicht aufgeben 
- 
 /usr/bin/php5 ist der client 
 versuch also mal:
 Action php-script /usr/bin/php5Ansonsten solltest du wie gesagt versuchen den Apache mit php als Modul zu installieren. Such in yast einfach mal nach "apache php" oder "mod_php5" 
- 
 funzt leider trotz Action php-script /usr/bin/php5 nicht, Apache2 und php5 hatte ich mit yast installiert, mod_php5 liegt in /usr/lib/apache2/mod_php5.so seltsamerweise lies sich phpMyAdmin ohne Schwirigkeiten installieren und aufrufen 
- 
 Wenn phpmyadmin ohne weiteres läuft, kannst du den <directory>eintrag eigentlich aus deiner httpd.conf entfernen  Also: 
 <directory var="" www="" i-doit="">AddHandler php-script .php
 Action php-script /cgi-bin/php5
 Options ExecCGI Indexes FollowSymLinks MultiViews
 AllowOverride AuthConfig
 Order allow,deny
 allow from all</directory>einfach löschen und apache neustarten</directory> 
- 
 Und vor dem i-doit start die entsprechenden Verzeichnisberechtigungen nicht vergessen: Als root: chmod +x /var/www/i-doit/idoit-rights.sh /var/www/i-doit/idoit-rights.sh unset
- 
 leider haben diese Tipps auch nichts gebracht, nicht mal phpinfo.php läßt sich öffnen, hab mir erstmal drei Bücher (PHP, Apache, MySQL) gekauft und damit werde ich mich in den nächsten zwei Wochen im Urlaub beschäftigen, werde mich auf jeden Fall melden ob's funktioniert oder nicht Stefan 
- 
 hallo, habe es aufgegeben und auf einem WIN XP System installiert viele Grüße 
- 
 Du hättest alternativ auch ein fertiges LAMPP System installieren können, da sollte PHP eigentlich ohne weiteres laufen. 
 z.B. : http://www.apachefriends.org/de/xampp-linux.html
