Hallo,
Ich versuche typolight 2.7.5 auf FreeBSD 7.2 zu installieren.
Meine Umgebung:
apache 2.2.11_4
php 5.2.11_1
mysql 5.1.39
http.conf: typolight Verzeichnis via Directory Alias eingebunden
http.conf: typolight Verzeichnis
http.conf: php aktiviert
Das typolight-check tool Version 2.7.2 empfiehlt den SMH.
Habe den SMH konfiguriert:
safemode on in php.ini
localconfig.php angepasst,
ftpuser typolightftp eingerichtet, UID:typolightftp,GID typolightftp
alle Dateien im typolight Verzeichnis chown typolightftp, chgrp typolightftp
Rechte auf den Ordner system /tmp /logs /html angepasst
typolight-check meldet immer noch Probleme:
typolight-check meldet keine Probleme mit Dateiberechtigungen mehr.
In /var/log/httpd-error.log sind folgende Meldungen:
Die erste Fehlermeldung ist mir klar, ich habe kein "PEAR" Framework installiert.
Ich habe nur php5-soap-5.2.11_1 installiert.
Was mach ich falsch ?
Ich versuche typolight 2.7.5 auf FreeBSD 7.2 zu installieren.
Meine Umgebung:
apache 2.2.11_4
php 5.2.11_1
mysql 5.1.39
http.conf: typolight Verzeichnis via Directory Alias eingebunden
Code:
<Directory "/usr/local/www/typolight">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Code:
<IfModule alias_module>
...
#-------------------------------------------------------------
# fuer typolight
Alias /typolight "/usr/local/www/typolight"
#
ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
</IfModule>
Code:
<IfModule mime_module>
...
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# PHP code inside of .htm files :
#AddType application/x-httpd-php .php .htm .html
</IfModule>
Habe den SMH konfiguriert:
safemode on in php.ini
localconfig.php angepasst,
ftpuser typolightftp eingerichtet, UID:typolightftp,GID typolightftp
alle Dateien im typolight Verzeichnis chown typolightftp, chgrp typolightftp
Rechte auf den Ordner system /tmp /logs /html angepasst
typolight-check meldet immer noch Probleme:
Code:
TYPOlight 2.7.2 system check PHP configuration Parameter • Value Description Safe mode • On Recommended setting is Off. DIESE ZEILE IST ROT HINTERLEGT Maximum execution time 30 Recommended setting is 30 or greater. Memory limit 128M Recommended setting is 16M or greater. Register globals Off Recommended setting is Off. File uploads On Recommended setting is On. Upload maximum filesize 8M Recommended setting is 8M or greater. SOAP extension On Recommended setting is On. If there are any warnings, TYPOlight might not work properly. If PHP safe_mode is enabled (first line), you have to use the "Safe Mode Hack" to run TYPOlight. Otherwise, you will not be able to create or modify files or use the live update feature. You should be able to use the TYPOlight extension repository. File permissions Parameter • Value Description Operating system FreeBSD FreeBSD VMFREEBSD72 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Create directory • Error Error creating directory "typolight-check" Directory permissions • 0 Recommended directory permission setting is 775 or 755 or 750. Directory owner • root The new directory should be owned by typolightftp. Create file • Error Error creating file "typolight-check.txt" File permissions • 0 Recommended file permission setting is 664 or 644 or 640. File owner • root The new file should be owned by typolightftp. If there are any warnings, you have to use the "Safe Mode Hack" to run TYPOlight. Otherwise, you will not be able to create or modify files and you will not be able to use the live update feature. Making files and folders writeable is not recommended! You will most likely not be able to run TYPOlight without Safe Mode Hack.
In /var/log/httpd-error.log sind folgende Meldungen:
Code:
[Sun Oct 25 08:24:44 2009] [error] [client 192.168.30.2] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'system/initialize.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/apache22/data/smhcheck.php on line 24 [Sun Oct 25 08:27:59 2009] [error] [client 192.168.30.2] PHP Notice: Undefined index: hide in /usr/local/www/typolight/typolight-check.php on line 2374, referer: http://vmfreebsd72.topitservices.com/typolight/typolight-check.php?hide=1
Ich habe nur php5-soap-5.2.11_1 installiert.
Was mach ich falsch ?
Kommentar