Installation problem [message #39860] |
Sat, 15 December 2007 10:28 |
morihaos
Messages: 3 Registered: November 2005 Location: Deeptown
Karma: 0
|
Junior Member |
|
|
hello all,
root@ /usr/local/www/forum.satel.kz $ uname -a
FreeBSD 6.1-RELEASE-p21
From /usr/local/etc/apache/httpd.conf:
<VirtualHost 91.185.6.106>
CustomLog /usr/local/var/log/httpdlogs/forum.satel.kz.access.log combined
ErrorLog /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
ServerName forum.satel.kz
DocumentRoot /usr/local/www/forum.satel.kz
ErrorDocument 404 http://forum.satel.kz/404.html
<Directory />
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
DirectoryIndex index.php index.htm index.html index.shtml
</Directory>
</VirtualHost>
PHPinfo - http://forum.satel.kz/p.php
Download & install (zlib installer):
root@ ~ $ cd /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ wget -c http://static.fudforum.org/FUDforum_zl_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ md5 FUDforum_zl_2-7-7.tar.bz2
MD5 (FUDforum_zl_2-7-7.tar.bz2) = 73e4a9cf4cb87dc2a06dac98aaa6703a
root@ /usr/local/www/forum.satel.kz $ ls -al
total 1736
drwxr-xr-x 2 www www 512 15 дек 15:41 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 root www 1747304 2 окт 02:31 FUDforum_zl_2-7-7.tar.bz2
-rw-r--r-- 1 root www 17 15 дек 14:47 p.php
root@ /usr/local/www/forum.satel.kz $ bzip2 -d FUDforum_zl_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ tar -xf FUDforum_zl_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ mv FUDforum2/* ./
root@ /usr/local/www/forum.satel.kz $ rm -f FUDforum_zl_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ rm -rf FUDforum2/
root@ /usr/local/www/forum.satel.kz $ chown -R www:www /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ ls -al
total 1784
drwxr-xr-x 2 www www 512 15 дек 15:46 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 www www 18385 19 сен 2006 COPYING
-rw-r--r-- 1 www www 2512 6 мар 2005 CREDITS
-rw-r--r-- 1 www www 2193 17 май 2005 README
-rw-r--r-- 1 www www 1756460 2 окт 02:31 install.php
-rw-r--r-- 1 www www 17 15 дек 14:47 p.php
-rw------- 1 www www 5448 2 янв 2007 uninstall.php
root@ /usr/local/www/forum.satel.kz $
root@ /usr/local/www/forum.satel.kz $ php -l install.php
PHP Parse error: syntax error, unexpected '?' in install.php on line 1
Parse error: syntax error, unexpected '?' in install.php on line 1
Errors parsing install.php
root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 0 15 дек 15:53 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 0 15 дек 15:53 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 175 15 дек 15:54 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 137 15 дек 15:54 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
89.218.78.82 - - [15/Dec/2007:15:54:24 +0600] "GET /install.php HTTP/1.1" 200 144 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Geck
o/20071215 Firefox/2.0.0.11"
root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
[Sat Dec 15 15:54:24 2007] [error] PHP Parse error: syntax error, unexpected '?' in /usr/local/www/forum.satel.kz/install.php on line 1
Go to http://forum.satel.kz/install.php :
Parse error: syntax error, unexpected '?' in /usr/local/www/forum.satel.kz/install.php on line 1
======================
Download & install (no-zlib installer):
root@ /usr/local/www/forum.satel.kz $ wget -c http://static.fudforum.org/FUDforum_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ md5 FUDforum_2-7-7.tar.bz2
MD5 (FUDforum_2-7-7.tar.bz2) = 6a45653dba338126bb0143f148c9e06e
root@ /usr/local/www/forum.satel.kz $ bzip2 -d FUDforum_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ tar -xf FUDforum_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ mv FUDforum2/* ./
root@ /usr/local/www/forum.satel.kz $ rm -rf FUDforum2/
root@ /usr/local/www/forum.satel.kz $ rm -f FUDforum_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ chown -R www:www /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ ls -al
total 5112
drwxr-xr-x 2 www www 512 15 дек 16:05 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 www www 18385 19 сен 2006 COPYING
-rw-r--r-- 1 www www 2512 6 мар 2005 CREDITS
-rw-r--r-- 1 www www 2193 17 май 2005 README
-rw-r--r-- 1 www www 5173767 2 окт 02:31 install.php
-rw-r--r-- 1 www www 17 15 дек 14:47 p.php
-rw------- 1 www www 5448 2 янв 2007 uninstall.php
root@ /usr/local/www/forum.satel.kz $ php -l install.php
No syntax errors detected in install.php
root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 174 15 дек 16:08 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 0 15 дек 16:08 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
89.218.78.82 - - [15/Dec/2007:16:08:50 +0600] "GET /install.php HTTP/1.1" 200 17 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko /20071215 Firefox/2.0.0.11
Go to http://forum.satel.kz/install.php :
????? or blank page.
======================
Can anyone help with this?
[Updated on: Sat, 15 December 2007 10:33] Report message to a moderator
|
|
|
|
|
Re: Installation problem [message #39891 is a reply to message #39874] |
Mon, 17 December 2007 19:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I believe that your --enable-zend-multibyte compile flag is what's causing the problem.
FUDforum Core Developer
|
|
|
|
|
|