Re: [PHP-INSTALL] Problem with php.ini

2006-10-31 Thread Peter Hodge
Hello, You want to use: --with-config-file-path=/etc I don't think your option: --with-config-file-path=/etc/php.ini will work correctly because then PHP looks for '/etc/php.ini/php.ini' regards, Peter --- Victor <[EMAIL PROTECTED]> wrote: > Hello Everybody, > > I have one little prob

Re: [PHP-INSTALL] problems compiling php on OS X (libxml)

2006-10-12 Thread Peter Hodge
Hello, You have added this to youre ./configure command: --with-libxml-dir=/sw/include/libxml2/ but make is using: -I/usr/include/libxml2 Did you do your first ./configure before installing the new libxml? If so, you need to rm config.cache, otherwise PHP will keep trying to compile usi

Re: [PHP-INSTALL] header()

2006-10-03 Thread Peter Hodge
Hello Alf, It should work on any platform. Are you getting any errors? If you haven't already, try setting 'display_errors = on' and 'error_reporting = E_ALL' in your php.ini, to see if there are any error messages. regards, Peter --- Alf Stockton <[EMAIL PROTECTED]> wrote: > I have upgrade

Re: [PHP-INSTALL] What is wrong of my php configure script ?

2006-10-01 Thread Peter Hodge
Hello, > But for static compiled-in, there is problem that the php execution > file is so huge size more than 16M. I think this will cause low > performance, because each php process should at least load 16M file to > memory. So I decide to configure with dso mode. I don't think the 16M size sho

Re: [PHP-INSTALL] Compiler error: Cannot find MySQL header files under...

2006-09-28 Thread Peter Hodge
It's not cached is it? rm config.cache - Peter --- Robert Pollard <[EMAIL PROTECTED]> wrote: > Hello, > > I am about to pull myself bald trying to figure out what this crazy configure > > script wants. I have done several days of research but everyone is saying > nothing that has helped.

Re: [PHP-INSTALL] PHP programs only work in one folder

2006-09-27 Thread Peter Hodge
--- RR-News <[EMAIL PROTECTED]> wrote: > I have installed the BLOGCMS+PunBB facility under PHP 5 and Apache 2 in my > "BB" folder and they work great, but I have another folder with PHP programs > and the PHP code in the .HTML and .PHP files never runs. The HTML works > fine, but no PHP execut

Re: [PHP-INSTALL] MySQL support for PHP5. Please help

2006-09-11 Thread Peter Hodge
Hello, If you have MySQL installed, then you already have the libraries. Just configure PHP: --with-mysql=/usr/local/mysql regards, Peter --- "Jaysen B. Johnson, EMT-B" <[EMAIL PROTECTED]> wrote: > Hello: > > I am running a Fedora Core 5 system as a web server with Apache 2.2.3, PHP > 5

Re: [PHP-INSTALL] register_globals sometimes "On", sometimes "Off"

2006-09-04 Thread Peter Hodge
Hello, > > > I'm having a problem that I cannot find a solution to. > > My global php.ini contains "register_globals = On". > > My virtual host Apache configuration doesn't have any "register_globals" > setting. > > When I execute "phpinfo()", it says under "PHP Core" that "register_globals"

Re: [PHP-INSTALL] borked install - cannot downgrade

2006-08-27 Thread Peter Hodge
The PHP installer is a savage beast. When it works, it works. When it doesn't, it can be very hard to figure out what went wrong. If I was in a position and had the expertise to do so, I would love to add some robustness to the installer so that maybe once in a while it would tell you why it did

Re: [PHP-INSTALL] borked install - cannot downgrade

2006-08-27 Thread Peter Hodge
Hi Brian, 1) For downgrading, make sure you strip the out the references to the PHP 5 module in apache config: > [activating module `php5' in /etc/httpd/conf/httpd.conf] You'll need to edit httpd.conf and remove the php5 stuff (or you could just remove everything php-related from there and re-

Re: [PHP-INSTALL] auto_globals_jit breaks $_SERVER var

2006-08-15 Thread Peter Hodge
Hi, Try: wrote: > I have the following in my php.ini: > register_globals = Off > register_long_arrays = Off > register_argc_argv = Off > auto_globals_jit = On > > The following PHP code prints nothing: > $webroot = $_SERVER['DOCUMENT_ROOT']; > $server = $_SERVER["HOST"]; >

Re: [PHP-INSTALL] PHP 5.1.4 Compile Errors

2006-07-17 Thread Peter Hodge
Hi Mike, Are there more errors above that? It looks to me as though there may be more informative errors earlier in the output. regards, Peter --- Mike <[EMAIL PROTECTED]> wrote: > I am using Ubuntu 6.06 Linux with PHP 5.1.4. I needed to include MS SQL > support in PHP so I needed to compil

Re: [PHP-INSTALL] Compiling PHP for MS SQL Support

2006-07-03 Thread Peter Hodge
Hi Mike, There can be a few gotchas compiling PHP (as in the configure or make commands will fail with no indication as to why). I have only ever installed PHP as an apache module and with command-line support (the default). The basic procedure goes like this: 1. download and unpack the php-5

Re: [PHP-INSTALL] PEAR doesn't run with "fast-cgi" installation!

2006-06-18 Thread Peter Hodge
Hi Tamer, You need to edit your php.ini, which is usually located in /etc/php.ini or /usr/local/php/etc/php.ini or something like that (there are ways to find it easily). Inside php.ini you will find a line which says: register_argc_argv = Off And you need to change it to register_arg

Re: [PHP-INSTALL] Cannot update to PHP 5.1.x with imap extension

2006-06-08 Thread Peter Hodge
Hi Xavier, I don't know if this will fix your problem, but these two jump out at me: 1) According to 'configure --help', the --with-imap-ssl option should not be 'yes', it should be the path to the includes (e.g., /usr or /usr/local). Try --with-imap-ssl by itself, or --with-imap-ssl=/usr/local,

Re: [PHP-INSTALL] PHP / Install problems....

2006-05-26 Thread Peter Hodge
Hi, OK, I assume that is the PHP configure command which is saying 'configure: error: Oracle needed libraries not found', so there might be a clue as to what's missing in the output of 'configure'. If there is no way to make an RPM show you the output from the configure command, then you could tr

Re: [PHP-INSTALL] PHP Configuration on Sun One

2006-05-18 Thread Peter Hodge
Hi Chuck, You can find out if PHP is set up on the web server properly by creating a little script like this: phpinfo.php: If you browse to the phpinfo.php page on your web server, you should get a fairly large page full of information about your current PHP setup. If you get a blank pag

Re: [PHP-INSTALL] XSLT with PHP

2006-05-18 Thread Peter Hodge
Hi, AFAIK, most options are specified like this: --with-mysql=/user/local/mysql-5.1 --with-readline=/usr/local etc. So maybe if you try one of these: configure --with-xsl configure --with-xsl=/usr configure --with-xsl=/usr/local Hope this helps, Peter --- "Kunsmann, Matthias" <[EMA

Re: [PHP-INSTALL] PHP 5.1.4 detecting incorrect version of libxml

2006-05-15 Thread Peter Hodge
y --with-libxml-dir=/usr/local > > You never add the include dir to any of those --with switches. > > -Rasmus > > Peter Hodge wrote: > > Hello, > > > > I am trying to compile PHP 5.1.4 but using using the same configure options > I > > used for PHP 5.1.

[PHP-INSTALL] PHP 5.1.4 detecting incorrect version of libxml

2006-05-14 Thread Peter Hodge
Hello, I am trying to compile PHP 5.1.4 but using using the same configure options I used for PHP 5.1.2, PHP 5.1.4 is including an older version of libxml in /usr/include/libxml2 but PHP5.1.2 includes the newer version in /usr/local/include/libxml2 PHP 5.1.2 Makefile: INCLUDES = -I/usr/local/in

Re: [PHP-INSTALL] RPM Updates

2006-05-14 Thread Peter Hodge
Hi, I've never used an RPM before, but I can't imagine the PHP RPM would be complicated as installing PHP is usually pretty straight-forward. You may even want to compile PHP yourself, it's not so difficult ... in fact PHP is the first application I ever compiled. It's also handy to be able to r

Re: [PHP-INSTALL] PHP apps

2006-05-06 Thread Peter Hodge
Hi Jim, If you're getting a blank page from PHP, it could also be a PHP error which isn't being shown. The easiest way to see if PHP is running it to put a phpinfo file into your PHP folder and browse to it: PHPapp1/phpinfo.php [1 line of code]: Then browse to www.xxx.org/PHPapp1/phpinfo.php

Re: [PHP-INSTALL] Error - Notice: Undefined offset:

2006-05-06 Thread Peter Hodge
Hi, $string doesn't have any spaces in it, so after you do explode: $string_arr=explode(" ",$string); $string_arr only has one element in it ($string_arr[0]). You are trying to access elements 0,1,2,3,4,5,6,7,8,9, but 1-9 don't exist when there is no space character in $string. You could chang

Re: [PHP-INSTALL] tru64 php informix

2006-05-06 Thread Peter Hodge
AIL PROTECTED]", "user", "pass" )) > { > die( sprintf( "Connection error: %s %s", ifx_error(), > ifx_errormsg() ) ); > } > else > { > echo 'Connected!... ok'; > } >

Re: [PHP-INSTALL] tru64 php informix

2006-05-06 Thread Peter Hodge
Hi, I'm not very familiar with Apache problems, sorry, the best I can suggest is that you comment out the lines in httpd.conf which refer to php and see if apache will run without it. good luck, Peter --- Luis Fernando Morales <[EMAIL PROTECTED]> wrote: > ok.. you right.. the httpd.conf was w

Re: [PHP-INSTALL] tru64 php informix

2006-05-05 Thread Peter Hodge
Hi, It appears to me as though make install can't update your httpd.conf because 'There are sections opened and not closed'. Try running an apache config test (from memory it is something like 'httpd configtest'), failing that, look through httpd.conf manually for any broken tags, or broken tags

Re: [PHP-INSTALL] [PHP Install] ERROR using imagegif

2006-05-05 Thread Peter Hodge
Hello, >From my research on the manual page (http://www.php.net/manual/en/function.imagegif.php) if you give a 2nd argument to Imagegif() it writes the image to disk rather than sending it to the browser. Your browser is giving you that error message because the image data goes into the file and

[PHP-INSTALL] Can't compile 5.1.2 with libxml on Mac OS X

2006-04-20 Thread Peter Hodge
Hello, When trying to 'make' php 5.1.2 on Max OS X 10.3.9 I am getting the following errors: --- /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:43:28: libxml/xmlsave.h: No such file or directory /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:407: error: pa