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
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
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
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
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.
--- 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
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
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"
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
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-
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"];
>
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
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
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
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,
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
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
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
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.
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
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
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
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
AIL PROTECTED]", "user", "pass" ))
> {
> die( sprintf( "Connection error: %s %s", ifx_error(),
> ifx_errormsg() ) );
> }
> else
> {
> echo 'Connected!... ok';
> }
>
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
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
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
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
28 matches
Mail list logo