From: Benjamin T. <th...@cc...> - 2004-03-15 11:38:08
|
Reini Urban wrote: > Benjamin Thelen schrieb: > >> Parse error: parse error in /usr/local/www/cgi-bin-dist/php on line 6265 >> >> Other php4 script based software like phpMyAdmin are running fine for >> example. > > > Last time I tested it ran okay as CGI. > > Can you please provide the error_log entry, > because the error line above doesn't tell us anything meaningful. Hello, thanks for response. I used http://www.macdevcenter.com/pub/a/mac/2003/06/05/wiki.html as installation help. I checked three versions of phpwiki: 1.2.2 / 1.3.4 and 1.3.7 Initializing of all three versions seem to run well, but a look into the httpd-error.log shows the following error messages (only for the 1.3.x versions!). [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes [Mon Mar 15 12:16:14 2004] [error] [client 192.168.2.109] script not found or unable to stat: /usr/local/www/cgi-bin/themes This bunch occurs everytime I call "http://192.168.2.90/phpwiki/index.php" in a browser (Only version 1.3.x!). The intro page is shown, but every link I click causes the parser error (1.2.2 & 1.3.4). The difference in version 1.3.7 is, that the intro page is empty (<html><body></body></html>)! At the end of the initialization the following notic is shown: (version 1.3.4) lib/loadsave.php:446: Notice[1024]: Loading InterWikiMap from external file lib/interwiki.map. (version 1.3.7) lib/loadsave.php:516: Notice[1024]: Loading InterWikiMap from external file lib/interwiki.map System: FreeBSD 4.9 Apache 1.3.29 php 4.3.4 with the following compiling options: './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=system' '--disable-cli' '--enable-ctype' '--with-curl=/usr/local' '--enable-dbase' '--with-dom=/usr/local' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xpm-dir=/usr/local' '--with-mysql=/usr/local' '--enable-overload' '--with-pcre-regex=yes' '--enable-posix' '--with-pgsql=/usr/local' '--enable-session' '--enable-tokenizer' '--with-expat-dir=/usr/local' '--enable-xml' '--with-zlib=yes' '--prefix=/usr/local' 'i386-portbld-freebsd4.9' Two specials are that I use --with-regex=system and do NOT use --enable-discard-path. The relevant entries in httpd.conf are AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php I very much hope, that the information I supply is helpful for you. Thank you very much for your help. Benjamin |