Jump to content

jaymax

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by jaymax

  1. Does this forum address related issues?
  2. I am having problems processing index.php files when pointing to a directory. My test.php runs fine showing all the details of the PHP Version 5.2.12 installation. The server is an Apache/2.2.11 (FreeBSD) The serving page is from a virtual domain, which for all other purposes functions well. The httpd.config file has the following defaults checked index.html and index.html ==> # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule mod_dir.c> DirectoryIndex index.php index.html index.htm </IfModule> <== Is there something else I am missing? Even more troubling, when I put the index.php explicitly in the URL it does not serve or display the page Thanks Title: index.php not being served
  3. The program is oscommerce-2.2.r2.a,2
  4. Indeed the problem defined is straight forward, but the solution ? in the file /usr/local/www/apache22/lall/market/catalog/admin/includes/application_top.php, line 156-165 referenced in the error log // include the language translations // include the language translations // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); require(DIR_WS_LANGUAGES . $language . '.php'); $current_page = basename($PHP_SELF); $current_page = basename($PHP_SELF); if (file_exists(DIR_WS_LANGUAGES . $language . '/' . $current_page)) { include(DIR_WS_LANGUAGES . $language . '/' . $current_page); } There is a disturbing reproduction of lines of code, so my thinking is that there maybe some file corruption here. Probably another copy of this file from another source might provide a solution. If someone has a copy of this single file I'll be receptive of receiving it. Alternately, is there a module or an option for the 'function' that I failed to 'include' in the configuration ? './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--enable-debug' '--enable-zend-multibyte' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.2' Thanks!
  5. O/S FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0 Platform Architecture i386 PHP Version 5.2.12 I am installing a program and am getting the following error conditions, all php, in my logs, they are error log PHP Warning: require(includes/languages/.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /usr/local/www/apache22/lall/market/catalog/admin/includes/application_top.php on line 157, referer: http://lall.com/market/catalog/install/install.php?step=4 PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/include/php:/usr/local/bin/php:/usr/local/etc/php:/usr/local/lib/php:/usr/local/share/deplate/lib/php') in /usr/local/www/apache22/lall/market/catalog/admin/includes/application_top.php on line 157, referer: http://lall.com/market/catalog/install/install.php?step=4 Access log "GET /market/catalog/admin/index.php HTTP/1.1" 302 - "GET /market/catalog/admin/login.php HTTP/1.1" 500 - "GET /favicon.ico HTTP/1.1" 304 - Would someone advise on how to correct Thanks!
  6. I've just installed php 5.2.12 on a FreeBSD UNIX machine, and am getting the following when I tried to run /usr/local/bin/php -v ==> I tried creating a soft link but that did not work, probably it was the wrong link. Any advise appreciated Thanks!
  7. I have installed apache 2.2 & php 5.2.11 on freebsd 7.2. But php does not interpret any pages. When the index.html page is loaded from the browser it ask me to download the file rather than display it. How can I correct this? Thanks
  8. How can I test the completeness of a php5 installation on a FreeBSD box running v-6.0 O/S and Apache 2.x. After installation, several *.php pages simply open up with a "ent" in the uppermost left-most corner of the page. "apropos php" at the command line seems to indicate the the installation is present ... ... ... apropos php php(1) - PHP Command Line Interface 'CLI' php-config(1) - get information about PHP configuration and compile options phpize(1) - prepare a PHP extension for compiling user 213% php-config Usage: /usr/local/bin/php-config [OPTION] Options: --prefix [/usr/local] --includes [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib] --ldflags [ -L/usr/local/lib -L/usr/local/lib/mysql -L/usr/local/pgsql/lib] --libs [-lcrypt -lcrypt -laspell -lpspell -lpq -lmysqlclient -lmcrypt -lltdl -liconv -lintl -lpng -lz -ljpeg -lcurl -lssl -lcrypto -lm -lxml2 -lz -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt ] --extension-dir [/usr/local/lib/php/extensions/debug-non-zts-20060613] --include-dir [/usr/local/include/php] --php-binary [/usr/local/bin/php] --php-sapis [cli apache2handler] --configure-options [--with-apxs2=/usr/local/apache2/bin/apxs --with-gettext --with-mcrypt --with-iconv --enable-mbstring=all --enable-mbregex --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-mysql --enable-fastcgi --enable-force-cgi-redirect --enable-discard-path --disable-path-info-check --with-openssl --with-curl --with-pgsql --with-pspell --enable-zend-multibyte --with-pear=/usr/lib/php --with-tsrm-pth --enable-debug] --version [5.2.6] --vernum [50206] phpinfo() does not run, probably because --disable-path-info-check is set Thanks!
  9. Hello, Installing Apache 2.2.9 on FreeBSD platform O/S 6.0, getting this message on start [Tue Jun 24 11:00:56 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter How do I correct Thanks Subject: Apache Startup problem - 'httpready' Accept Filter
  10. For the benefit of others V. 2.29 at least makes accomodation for this by installing in different base directories etc so that libs & execcutables are not clobbered. Different default ports have to be set however - 80 & 443
  11. Apache - Runnning two servers simultaneously on same machine -------------------------------------------------------------------------------- Hello, Need to do a migration from 1.3.x to 2.6 with minimum downtime. But cross version modules issues will be a problem. Can I run these two versions independently on the same box. So the production facility remains up while testing the newer? Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.