Для установки на свой сервер с FreeBSD 7.2
Вот что из софта у меня установлено
Цитата
FreeBSD# pkg_info | grep apache
apache+mod_ssl-1.3.41+2.8.31 The Apache 1.3 webserver with SSL/TLS functionality
apache+mod_ssl-1.3.41+2.8.31 The Apache 1.3 webserver with SSL/TLS functionality
Цитата
FreeBSD# pkg_info | grep mysql
mysql-client-5.0.77_1 Multithreaded SQL database (client)
mysql-scripts-5.0.77_1 Multithreaded SQL database (scripts)
mysql-server-5.0.77_1 Multithreaded SQL database (server)
p5-DBD-mysql50-4.010 MySQL 5.0 driver for the Perl5 Database Interface (DBI)
php5-mysql-5.2.9 The mysql shared extension for php
php5-pdo_mysql-5.2.9 The pdo_mysql shared extension for php
mysql-client-5.0.77_1 Multithreaded SQL database (client)
mysql-scripts-5.0.77_1 Multithreaded SQL database (scripts)
mysql-server-5.0.77_1 Multithreaded SQL database (server)
p5-DBD-mysql50-4.010 MySQL 5.0 driver for the Perl5 Database Interface (DBI)
php5-mysql-5.2.9 The mysql shared extension for php
php5-pdo_mysql-5.2.9 The pdo_mysql shared extension for php
Цитата
php5-5.2.9 PHP Scripting Language
php5-bz2-5.2.9 The bz2 shared extension for php
php5-ctype-5.2.9 The ctype shared extension for php
php5-curl-5.2.9 The curl shared extension for php
php5-dom-5.2.9 The dom shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.9 The filter shared extension for php
php5-gd-5.2.9 The gd shared extension for php
php5-hash-5.2.9 The hash shared extension for php
php5-iconv-5.2.9 The iconv shared extension for php
php5-json-5.2.9 The json shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
php5-mysql-5.2.9 The mysql shared extension for php
php5-pcre-5.2.9 The pcre shared extension for php
php5-pdo-5.2.9 The pdo shared extension for php
php5-pdo_mysql-5.2.9 The pdo_mysql shared extension for php
php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
php5-posix-5.2.9 The posix shared extension for php
php5-session-5.2.9 The session shared extension for php
php5-simplexml-5.2.9 The simplexml shared extension for php
php5-soap-5.2.9 The soap shared extension for php
php5-spl-5.2.9 The spl shared extension for php
php5-sqlite-5.2.9 The sqlite shared extension for php
php5-tokenizer-5.2.9 The tokenizer shared extension for php
php5-xml-5.2.9 The xml shared extension for php
php5-xmlreader-5.2.9 The xmlreader shared extension for php
php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
php5-zlib-5.2.9 The zlib shared extension for php
php5-bz2-5.2.9 The bz2 shared extension for php
php5-ctype-5.2.9 The ctype shared extension for php
php5-curl-5.2.9 The curl shared extension for php
php5-dom-5.2.9 The dom shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.9 The filter shared extension for php
php5-gd-5.2.9 The gd shared extension for php
php5-hash-5.2.9 The hash shared extension for php
php5-iconv-5.2.9 The iconv shared extension for php
php5-json-5.2.9 The json shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
php5-mysql-5.2.9 The mysql shared extension for php
php5-pcre-5.2.9 The pcre shared extension for php
php5-pdo-5.2.9 The pdo shared extension for php
php5-pdo_mysql-5.2.9 The pdo_mysql shared extension for php
php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
php5-posix-5.2.9 The posix shared extension for php
php5-session-5.2.9 The session shared extension for php
php5-simplexml-5.2.9 The simplexml shared extension for php
php5-soap-5.2.9 The soap shared extension for php
php5-spl-5.2.9 The spl shared extension for php
php5-sqlite-5.2.9 The sqlite shared extension for php
php5-tokenizer-5.2.9 The tokenizer shared extension for php
php5-xml-5.2.9 The xml shared extension for php
php5-xmlreader-5.2.9 The xmlreader shared extension for php
php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
php5-zlib-5.2.9 The zlib shared extension for php
Цитата
FreeBSD# pkg_info | grep Zend
ZendOptimizer-3.3.0.a An optimizer for PHP code
ZendOptimizer-3.3.0.a An optimizer for PHP code
Все делаю удаленно через ssh, думаю что не суть важно но все же.
Значит создал папку /home/site/cb
Назначил владельцем папки и всех файлов пользователя под которым работает веб сервер (те www)
Вот конфиг из апача
Цитата
Alias /cb "/home/site/cb/"
<Directory "/home/site/cb">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 192.168.0.0/25
Allow from *.*.*.* - здесь ип адрес с которого удаленно работаю
</Directory>
<Directory "/home/site/cb">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 192.168.0.0/25
Allow from *.*.*.* - здесь ип адрес с которого удаленно работаю
</Directory>
выходит окошко куда можно вписать настройки, сервер мускуля, юзер для базы, пароль и тд и тп ввожу все данные и тут появляется окно с предложением зарегистрироватся, заполняю все поля, далее появляется просто тупо беля страничка и тишина..
При обращении http://myip/cb тоже выходит беля пустая страница и тишина..
в логах апача висит следующее
Цитата
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 53
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[notice] child pid 4047 exit signal Segmentation fault (11)
[notice] child pid 4045 exit signal Segmentation fault (11)
[notice] child pid 4034 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[error] PHP Notice: Undefined index: dbhost in /home/site/cb/setup.php on line 88
[error] PHP Notice: Undefined index: dbuser in /home/site/cb/setup.php on line 89
[error] PHP Notice: Undefined index: dbpass in /home/site/cb/setup.php on line 90
[error] PHP Notice: Undefined index: dbname in /home/site/cb/setup.php on line 91
[error] PHP Notice: Undefined index: dbprefix in /home/site/cb/setup.php on line 92
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 53
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[notice] child pid 4037 exit signal Segmentation fault (11)
[notice] child pid 4033 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined index: dbport in /home/site/cb/include/mysql_connect.php on line 2
[notice] child pid 5088 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined index: dbport in /home/site/cb/include/mysql_connect.php on line 2
[notice] child pid 5089 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[notice] child pid 4047 exit signal Segmentation fault (11)
[notice] child pid 4045 exit signal Segmentation fault (11)
[notice] child pid 4034 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[error] PHP Notice: Undefined index: dbhost in /home/site/cb/setup.php on line 88
[error] PHP Notice: Undefined index: dbuser in /home/site/cb/setup.php on line 89
[error] PHP Notice: Undefined index: dbpass in /home/site/cb/setup.php on line 90
[error] PHP Notice: Undefined index: dbname in /home/site/cb/setup.php on line 91
[error] PHP Notice: Undefined index: dbprefix in /home/site/cb/setup.php on line 92
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 53
[error] PHP Notice: Undefined variable: error in /home/site/cb/setup.php on line 78
[notice] child pid 4037 exit signal Segmentation fault (11)
[notice] child pid 4033 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined index: dbport in /home/site/cb/include/mysql_connect.php on line 2
[notice] child pid 5088 exit signal Segmentation fault (11)
[error] PHP Notice: Undefined index: dbport in /home/site/cb/include/mysql_connect.php on line 2
[notice] child pid 5089 exit signal Segmentation fault (11)
Подскажите в чем дело? может несовместимость каких либо из установленных приложений? Куда копать?