Автор Тема: Apache & PHP 5.0.3  (Прочитано 6195 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн alex007

  • Фанат форума
  • Ветеран
  • *****
  • Сообщений: 835
  • +0/-0
  • 0
    • Просмотр профиля
    • http://www.russians-in-london.co.uk/
Apache & PHP 5.0.3
« : 22 Февраля 2005, 21:31:14 »
Привет,

В чера настроил машину все как надо, тоесть  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
Русские-в-Лондоне. Как они там? Интересно. Инфо (FAQ), Форум и Магазин

Оффлайн AliMamed

  • \\o/ ali akbar \\o/
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 2409
  • +2/-0
  • 2
    • Просмотр профиля
    • http://alimamed.pp.ru
Apache & PHP 5.0.3
« Ответ #1 : 23 Февраля 2005, 09:24:01 »
Цитировать
alex007:
просто выдает страницу "The page cannot be displayed".

там написан код ошибки
ну, будем исповедоваться?

Оффлайн Макс

  • vir magni ingenii
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 3534
  • +0/-0
  • 2
    • Просмотр профиля
Apache & PHP 5.0.3
« Ответ #2 : 23 Февраля 2005, 14:14:40 »
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.

?
First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. ( George Carrette )

Оффлайн alex007

  • Фанат форума
  • Ветеран
  • *****
  • Сообщений: 835
  • +0/-0
  • 0
    • Просмотр профиля
    • http://www.russians-in-london.co.uk/
Apache & PHP 5.0.3
« Ответ #3 : 23 Февраля 2005, 21:30:25 »
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

??
Русские-в-Лондоне. Как они там? Интересно. Инфо (FAQ), Форум и Магазин

Оффлайн alex007

  • Фанат форума
  • Ветеран
  • *****
  • Сообщений: 835
  • +0/-0
  • 0
    • Просмотр профиля
    • http://www.russians-in-london.co.uk/
Apache & PHP 5.0.3
« Ответ #4 : 24 Февраля 2005, 00:37:00 »
вот переделал немного:
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\'

Как по инструкции добавил все что надо,все равно то же самое выдает.
Русские-в-Лондоне. Как они там? Интересно. Инфо (FAQ), Форум и Магазин

Оффлайн alex007

  • Фанат форума
  • Ветеран
  • *****
  • Сообщений: 835
  • +0/-0
  • 0
    • Просмотр профиля
    • http://www.russians-in-london.co.uk/
Apache & PHP 5.0.3
« Ответ #5 : 01 Января 2006, 14:08:38 »
Макс
AliMamed


Нашел ошибку, только когда установив PHP версией 5.1.0, эту ошибку могут прочитать все пользователи инета на странице http://www.php.net

Цитировать
PHP 5.1.0 Released

[24-Nov-2005] The PHP development team is proud to announce the release of PHP 5.1.0.
Some of the key features of PHP 5.1.0 include:

    * A complete rewrite of date handling code, with improved timezone support.
    * Significant performance improvements compared to PHP 5.0.X.
    * PDO extension is now enabled by default.
    * Over 30 new functions in various extensions and built-in functionality.
    * Bundled libraries, PCRE and SQLite upgraded to latest versions.
    * Over 400 various bug fixes.
    * PEAR upgraded to version 1.4.5

In addition to new features, this release includes a number of important security fixes and we recommend that all users of PHP 5.0 and early adopters of PHP 5.1 betas upgrade to this release as soon as possible. The complete details about all of the changes can be found in the PHP 5 ChangeLog and an upgrading guide is available as well.


так как баг был такой: одно время тот же часть скрипта работает то не работает, единственное что в php сделали так это обдрачились от радости (извеняюсь за выражение), когда выпускали PHP 5.0.0 и нефига не проверили, напоминает чем-то индусов - програмистов.
Русские-в-Лондоне. Как они там? Интересно. Инфо (FAQ), Форум и Магазин

Оффлайн alex007

  • Фанат форума
  • Ветеран
  • *****
  • Сообщений: 835
  • +0/-0
  • 0
    • Просмотр профиля
    • http://www.russians-in-london.co.uk/
Apache & PHP 5.0.3
« Ответ #6 : 10 Мая 2006, 00:55:12 »
А всё таки програмщики ломанные без багов не могут язык писать, как прям команда лохов - мейлкий софт 2, не успеют выпустить уже мегабайты обновок:
Цитировать
PHP 5.1.4 Released

[04-May-2006] A critical bug with $_POST array handling as well as the FastCGI sapi have been discovered in PHP 5.1.3. A new PHP release 5.1.4 is now available to address these issues. All PHP users are encouraged to upgrade to this release as soon as possible.

Further details about this release can be found in the release announcement and the full list of changes is available in the PHP 5 ChangeLog.
PHP 5.1.3 Released

[01-May-2006] The PHP development team is proud to announce the release of PHP 5.1.3. This release combines small number of feature enhancements with a significant amount of bug fixes and resolves a number of security issues. Some of the key changes of PHP 5.1.3 include:

    * Disallow certain characters in session names.
    * Fixed a buffer overflow inside the wordwrap() function.
    * Prevent jumps to parent directory via the 2nd parameter of the tempnam() function.
    * Enforce safe_mode for the source parameter of the copy() function.
    * Fixed cross-site scripting inside the phpinfo() function.
    * Fixed offset/length parameter validation inside the substr_compare() function.
    * Fixed a heap corruption inside the session extension.
    * Fixed a bug that would allow variable to survive unset().
    * Fixed a number of crashes in the DOM, SOAP and PDO extensions.
    * Upgraded bundled PCRE library to version 6.6
    * The use of the var keyword to declare properties no longer raises a deprecation E_STRICT.
    * FastCGI interface was completely reimplemented.
    * Multitude of improvements to the SPL, SimpleXML, GD, CURL and Reflection extensions.
    * Over 120 various bug fixes.

Further details about this release can be found in the release announcement and the full list of changes is available in the PHP 5 ChangeLog.
Русские-в-Лондоне. Как они там? Интересно. Инфо (FAQ), Форум и Магазин

 

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