Общие > Веб Сервера

Apache & PHP 5.0.3

(1/2) > >>

alex007:
Привет,

В чера настроил машину все как надо, тоесть  Apache/2.0.46, MySQL 4.1.0, PHP 5.0.3, ось Redhat Linux 3.0ES - все работает 100% OK.

Решил протестировать проги которые написал под PHP 4.x.x, так вот заметил что в разных виртуальных серверах, одна и та жа функция почему-то работает и не работает(в код не буду доваться подробностями), не выдавая ошибку просто выдает страницу "The page cannot be displayed".

Хотя для теста стоит error_reporting(E_ALL);

Вот думаю может чего не хваатает в Configure Command:
\'./configure\' \'--with-apxs2\' \'--with-pear=/usr/local/lib/php-5.0.3\' \'--with-config-file-path=/etc/php5\' \'--prefix=/usr/local\' \'--libexecdir=/usr/local/libexec/php-5.0.3\' \'--with-mysql=/usr\' \'--with-pgsql=shared\' \'--with-gd\' \'--with-openssl\' \'--with-curl\' \'--with-imap-ssl\' \'--with-pdflib\' \'--with-xml\' \'--with-xmlrpc\' \'--enable-sockets\' \'--enable-dbx\' \'--enable-dbase\' \'--enable-trans-sid\' \'--enable-exif\' \'--enable-wddx\' \'--enable-ftp\' \'--enable-mbstring\' \'--enable-shared=yes\' \'--enable-magic-quotes\' \'--enable-session\' \'--enable-simplexml\' \'--with-libxml=yes\' \'--enable-overload\' \'--with-jpeg-dir=/usr\' \'--enable-gd-native-ttf\' \'--with-ttf=/usr\' \'--with-freetype-dir\' \'--with-xpm-dir\' \'--with-png-dir=/usr\' \'--with-iconv-dir\' \'--with-expat-dir=/usr\' \'--with-zlib-dir=/usr\' \'--enable-calendar\'

PHP c Server API:  Apache 2.0 Handler

AliMamed:

--- Цитировать ---alex007:
просто выдает страницу "The page cannot be displayed".
--- Конец цитаты ---

там написан код ошибки

Макс:
alex007
Это указание соблюдено  :

--- Цитировать --- http://www.php.net/manual/en/install.unix.apache2.php
We do not recommend using a threaded MPM in production with Apache2. Use the prefork MPM instead, or use Apache1.
--- Конец цитаты ---

?

alex007:
AliMamed
код ошибки стандартная страница в IE:

--- Цитировать --- The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

--------------------------------------------------------------------------------

Please try the following:

Click the  Refresh button, or try again later.

If you typed the page address in the Address bar, make sure that it is spelled correctly.

To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
See if your Internet connection settings are being detected. You can set Microsoft Windows to examine your network and automatically discover network connection settings (if your network administrator has enabled this setting).
Click the Tools menu, and then click Internet Options.
On the Connections tab, click LAN Settings.
Select Automatically detect settings, and then click OK.
Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Click the  Back button to try another link.

Cannot find server or DNS Error
Internet Explorer  

--- Конец цитаты ---



Макс
стоит вроде: prefork MPM

Может какойнибуть из Апачевских модулей мешает что либо...
Загружены следующии модули:
core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_unique_id mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_suexec mod_cgi mod_php5 mod_auth_pgsql mod_authz_ldap mod_perl mod_python mod_ssl

??

alex007:
вот переделал немного:
Configure Command: ./configure\' \'--with-apxs2\' \'--with-mpm=prefork\' \'--with-pear=/usr/local/lib/php-5.0.3\' \'--with-config-file-path=/etc/php5\' \'--prefix=/usr/local\' \'--libexecdir=/usr/local/libexec/php-5.0.3\' \'--with-mysql=/usr\' \'--with-pgsql=shared\' \'--with-gd\' \'--with-openssl\' \'--with-curl\' \'--with-imap-ssl\' \'--with-pdflib\' \'--with-xml\' \'--with-xmlrpc\' \'--enable-sockets\' \'--enable-dbx\' \'--enable-dbase\' \'--enable-trans-sid\' \'--enable-exif\' \'--enable-wddx\' \'--enable-ftp\' \'--enable-mbstring\' \'--enable-shared=yes\' \'--enable-magic-quotes\' \'--enable-session\' \'--enable-simplexml\' \'--with-libxml=yes\' \'--enable-overload\' \'--with-jpeg-dir=/usr\' \'--enable-gd-native-ttf\' \'--with-ttf=/usr\' \'--with-freetype-dir\' \'--with-xpm-dir\' \'--with-png-dir=/usr\' \'--with-iconv-dir\' \'--with-expat-dir=/usr\' \'--with-zlib-dir=/usr\' \'--enable-calendar\' \'--enable-libgcc\' \'--with-freetype-dir=/usr\' \'--enable-xslt\' \'--with-xslt-sablot\' \'--with-dom\' \'--with-zlib\' \'--with-bz2\' \'--enable-inline-optimization\' \'--with-pdf\' \'--enable-shared=yes\' \'--enable-wddx\' \'--enable-dbase\' \'--with-gnu-ld\' \'-enable-sockets\' \'--with-sqlite\' \'--disable-debug\'

Как по инструкции добавил все что надо,все равно то же самое выдает.

Навигация

[0] Главная страница сообщений

[#] Следующая страница

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
Перейти к полной версии