Re: [PHP] install PHP 5.4 by RPM

2012-09-25 Thread Jonathan Sundquist
What version of centso are you running?

- The cold winds are rising
On Sep 24, 2012 10:28 PM, lx lxlenovos...@gmail.com wrote:

 Hello:
I have installed the PHP and Apache by RPM, and the version of rpm
 packets is:

 httpd-2.2.3-63.el5.centos.1.x86_64.rpm
 apr-1.2.7-11.el5_3.1.x86_64.rpm
 apr-util-1.2.7-11.el5.x86_64.rpm
 postgresql-libs-8.1.18-2.el5_4.1.x86_64.rpm
 gmp-4.1.4-10.el5.x86_64.rpm
 php-common-5.1.6-27.el5.x86_64.rpm
 php-cli-5.1.6-27.el5.x86_64.rpm
 php-5.1.6-27.el5.x86_64.rpm

  As you see, this version of PHP is 5.1.6, so I want to installed PHP
 5.4.
 I want to know the list of PHP 5.4 RPM packets, these can replace the
  php-common-5.1.6-27.el5.x86_64.rpm,
 php-cli-5.1.6-27.el5.x86_64.rpm and php-5.1.6-27.el5.x86_64.rpm.

 Thank you.



Re: [PHP] install PHP 5.4 by RPM

2012-09-25 Thread Matijn Woudt
On Tue, Sep 25, 2012 at 1:48 PM, Jonathan Sundquist
jsundqu...@gmail.com wrote:
 What version of centso are you running?

 - The cold winds are rising
 On Sep 24, 2012 10:28 PM, lx lxlenovos...@gmail.com wrote:

 Hello:
I have installed the PHP and Apache by RPM, and the version of rpm
 packets is:

 httpd-2.2.3-63.el5.centos.1.x86_64.rpm
 apr-1.2.7-11.el5_3.1.x86_64.rpm
 apr-util-1.2.7-11.el5.x86_64.rpm
 postgresql-libs-8.1.18-2.el5_4.1.x86_64.rpm
 gmp-4.1.4-10.el5.x86_64.rpm
 php-common-5.1.6-27.el5.x86_64.rpm
 php-cli-5.1.6-27.el5.x86_64.rpm
 php-5.1.6-27.el5.x86_64.rpm

  As you see, this version of PHP is 5.1.6, so I want to installed PHP
 5.4.
 I want to know the list of PHP 5.4 RPM packets, these can replace the
  php-common-5.1.6-27.el5.x86_64.rpm,
 php-cli-5.1.6-27.el5.x86_64.rpm and php-5.1.6-27.el5.x86_64.rpm.

 Thank you.


You should try the packages from the ius community, for x86_64
CentOS/RHEL 5 they are here:
http://mirrors.ircam.fr/pub/ius/stable/Redhat/5/x86_64/
(look for the packages starting with php54-)

- Matijn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install library

2010-09-17 Thread Ashley Sheridan
On Fri, 2010-09-17 at 15:37 +0200, Jordan Jovanov wrote:

 Hello everybody,
 
 I like to create same PDF file with PHP, i find that i must to install 
 something like PDFLib but i can't how to istall on linux. Does somebody 
 can help me.
 
 Thanks a lot.
 Jordan
 


When you asked this question earlier in the week under another subject I
answered that the FPDF library would help you with creating pdf
documents via PHP.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Install library

2010-09-15 Thread Ashley Sheridan
On Wed, 2010-09-15 at 15:16 +0200, Jordan Jovanov wrote:

 Hello All,
 
 I have one very funny question. A need me PDFlibrary.
 Can somebody tall me how can I download and install on my server this 
 library. I use PuTTy to connect to my server.
 Does somebody know the command line for download in istall library in php.
 
 Thanks a lot.
 
 Best Regards,
 Jordan
 


I assume you mean the PDFLibrary that is offered as an SDK from Adobe?
I'm also assuming a Linux server if you're using Putty to connect.

Are these assumptions right? If they are, then I don't think you'll have
much luck. You can't just plug in any old thing into PHP and have it
work. Have you maybe considered using something like fpdf instead, which
is written in PHP and can produce PDF documents with just a small amount
of code.

Thanks,
Ash
http://www.ashleysheridan.co.uk




[PHP] Re: [PHP-INSTALL] Getting file pointer from file descriptor

2010-04-23 Thread Rasmus Lerdorf
You seem to be quite confused.  First of all, a function like fdopen() which
has never existed in any version of PHP, wouldn't read/write anything.  In C
that function will return a FILE pointer from a file descriptor.  You would
then use fread()/fwrite() to read and write from that FILE pointer.  But PHP
doesn't have file pointers nor file descriptors, so none of this applies to
PHP.  In PHP an open file is a resource just like an open database
connection is a resource.

So, is your question really how to read and write to files?  There are many
ways to do that.  The easiest is to just call
file_get_contents()/file_put_contents(), but you can also use
fopen()/fread()/fwrite() if you prefer that approach.

-Rasmus

On Fri, Apr 16, 2010 at 5:15 AM, Naga Kiran K k.nagaki...@gmail.com wrote:

 Hi Rasmus,

 Thanks for reply.
 The requirement I was looking for is to read/write given only the file
 descriptor number.

 PHP-CGI binary is invoked by a webserver that runs in jail-directory and
 doesn't have access to the file path directory.
 So, it communicates with another daemon that opens a socket to that file
 and in turn passes the file descriptor alone.

 Can you please suggest if there is any API in PHP that serves this
 requirement [read/write to given file descriptor]
 Please let me know if I need to provide more information.

 Thanks,
 Naga Kiran


 On Thu, Apr 15, 2010 at 7:33 PM, Rasmus Lerdorf ras...@lerdorf.comwrote:

 On 04/15/2010 06:52 AM, Naga Kiran K wrote:
  Hi,
 
  We are upgrading PHP from 5.2.3 to 5.3.2 and are facing few issues [like
  unsupported functions...]
 
  In PHP 5.2.3, fdopen was used to read/write to a file descriptor
  that's opened by another application.
 
  fdopen(fileDescriptorId,rw);  //It worked fine with PHP 5.2.3
 
  After PHP upgrade,its throwing undefined reference to 'fdopen'
 function.
 
  Please suggest whats the replacement for this in PHP 5.2.3 or any
  workaround.

 PHP has never had an fdopen() function.  It must be something in user
 space that provided that for you if you had it.

 -Rasmus




 --
 Regards,
 Naga Kiran



[PHP] Re: [PHP-INSTALL] Getting file pointer from file descriptor

2010-04-16 Thread Naga Kiran K
Hi Rasmus,

Thanks for reply.
The requirement I was looking for is to read/write given only the file
descriptor number.

PHP-CGI binary is invoked by a webserver that runs in jail-directory and
doesn't have access to the file path directory.
So, it communicates with another daemon that opens a socket to that file and
in turn passes the file descriptor alone.

Can you please suggest if there is any API in PHP that serves this
requirement [read/write to given file descriptor]
Please let me know if I need to provide more information.

Thanks,
Naga Kiran

On Thu, Apr 15, 2010 at 7:33 PM, Rasmus Lerdorf ras...@lerdorf.com wrote:

 On 04/15/2010 06:52 AM, Naga Kiran K wrote:
  Hi,
 
  We are upgrading PHP from 5.2.3 to 5.3.2 and are facing few issues [like
  unsupported functions...]
 
  In PHP 5.2.3, fdopen was used to read/write to a file descriptor
  that's opened by another application.
 
  fdopen(fileDescriptorId,rw);  //It worked fine with PHP 5.2.3
 
  After PHP upgrade,its throwing undefined reference to 'fdopen'
 function.
 
  Please suggest whats the replacement for this in PHP 5.2.3 or any
  workaround.

 PHP has never had an fdopen() function.  It must be something in user
 space that provided that for you if you had it.

 -Rasmus




-- 
Regards,
Naga Kiran


[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-31 Thread BuildSmart

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

As you have now found out, doing the auto-build from PECL doesn't work.

Start by building the dependancies (libraries that are linked in the  
build) then the modules.


(you can copy the next 7 following lines verbatim since this works  
for most source packages, the 8th line is what you need to add per  
package so do not copy this line, it is a placeholder)

CFLAGS= -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp \
CXXFLAGS= -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp \
LDFLAGS= -arch i386 -arch x86_64 -force-flat-namespace \
./configure \
- --disable-dependancy-tracking \
- --disable-shared \
- --enable-static \
REST OF CONFIGURE FLAGS

If you build it properly and you build for all Mac supported  
architectures your module will work on any Mac running any 10.5.x


Here's the memcache build using this principal.
http://daleenterprise.com/download/memcache.so (not for general  
consumption)


- -- BuildSmart

On Mar 30, 2009, at 14:27 PM, Stutter Stutters wrote:


I used Pecl to install memcache and imagick, I ran the command you
mentioned and this was the output:

$ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O
bundle i386


I don't see anything regarding x86_64, so I assume it's not built with
64 bit support.  Sounds like an awesome time to fix.  Especially,
since I don't know where to begin :(

Any pointers?

-Stutter

On Mon, Mar 30, 2009 at 1:05 PM, BuildSmart
buildsm...@daleenterprise.com wrote:

On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote:

I've been wrestling with mac os x + php 5.2.6 off and on for a few  
months to
get it to load the memcache.so and imagick.so extensions.  When I  
executed
php on the command line `php -i | grep imagick` or `php -i | grep  
memcache`

the output shows that imagick and memcache are both being loaded
successfully, and I can successfully use both libraries..from the  
command

line.

However, when I restart apache, the logs show that both extensions  
can not

be loaded:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' -  
(null) in

Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20060613/imagick.so' -  
(null) in

Unknown on line 0

Let me take a wild guess, you built the modules and they don't  
include the

x86_64 architecture?
The following command will show the available architectures:
file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
The good news is you can rebuild all of your dependent libraries  
for multi
architecture and rebuild all of your modules to be multi  
architecture and

you will have solved your problem.

Both files are obviously there (as they are being loaded via the CLI
execution of php).  I've checked, both apache and php-cli are  
using the same
php.ini configuration.  I've thought it was some kind of  
permission or
environment issue for the _www user, but i've managed to change my  
env
information to the same as the _www user's (or, at least, as well  
as I know
how) and I am still able to execute php from the CLI and have  
successfully

loaded imagick and memcache.

Again, I'm using OS X Leopard, and PHP 5.2.6, and Apache 2.2.9

Any help would be much appreciated.

Thanks!

stutter.

-- BuildSmart








-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFJ0ffe0hzWbkf0eKgRAv2AAJ45Zx/I0UdzC/OonJJ1ueyp7Uu5dQCfUGZT
NXRKTc7iXxuZHdHBRRcKP9s=
=maLI
-END PGP SIGNATURE-

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread BuildSmart

On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote:

I've been wrestling with mac os x + php 5.2.6 off and on for a few  
months to get it to load the memcache.so and imagick.so  
extensions.  When I executed php on the command line `php -i | grep  
imagick` or `php -i | grep memcache` the output shows that imagick  
and memcache are both being loaded successfully, and I can  
successfully use both libraries..from the command line.


However, when I restart apache, the logs show that both extensions  
can not be loaded:


PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/ 
php/extensions/no-debug-non-zts-20060613/memcache.so' - (null) in  
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/ 
php/extensions/no-debug-non-zts-20060613/imagick.so' - (null) in  
Unknown on line 0


Let me take a wild guess, you built the modules and they don't  
include the x86_64 architecture?


The following command will show the available architectures:
file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so

The good news is you can rebuild all of your dependent libraries for  
multi architecture and rebuild all of your modules to be multi  
architecture and you will have solved your problem.




Both files are obviously there (as they are being loaded via the  
CLI execution of php).  I've checked, both apache and php-cli are  
using the same php.ini configuration.  I've thought it was some  
kind of permission or environment issue for the _www user, but i've  
managed to change my env information to the same as the _www user's  
(or, at least, as well as I know how) and I am still able to  
execute php from the CLI and have successfully loaded imagick and  
memcache.


Again, I'm using OS X Leopard, and PHP 5.2.6, and Apache 2.2.9

Any help would be much appreciated.

Thanks!

stutter.


-- BuildSmart





PGP.sig
Description: This is a digitally signed message part


[PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Stutter Stutters
I used Pecl to install memcache and imagick, I ran the command you
mentioned and this was the output:

$ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O
bundle i386


I don't see anything regarding x86_64, so I assume it's not built with
64 bit support.  Sounds like an awesome time to fix.  Especially,
since I don't know where to begin :(

Any pointers?

-Stutter

On Mon, Mar 30, 2009 at 1:05 PM, BuildSmart
buildsm...@daleenterprise.com wrote:
 On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote:

 I've been wrestling with mac os x + php 5.2.6 off and on for a few months to
 get it to load the memcache.so and imagick.so extensions.  When I executed
 php on the command line `php -i | grep imagick` or `php -i | grep memcache`
 the output shows that imagick and memcache are both being loaded
 successfully, and I can successfully use both libraries..from the command
 line.

 However, when I restart apache, the logs show that both extensions can not
 be loaded:

 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - (null) in
 Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/lib/php/extensions/no-debug-non-zts-20060613/imagick.so' - (null) in
 Unknown on line 0

 Let me take a wild guess, you built the modules and they don't include the
 x86_64 architecture?
 The following command will show the available architectures:
 file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
 The good news is you can rebuild all of your dependent libraries for multi
 architecture and rebuild all of your modules to be multi architecture and
 you will have solved your problem.

 Both files are obviously there (as they are being loaded via the CLI
 execution of php).  I've checked, both apache and php-cli are using the same
 php.ini configuration.  I've thought it was some kind of permission or
 environment issue for the _www user, but i've managed to change my env
 information to the same as the _www user's (or, at least, as well as I know
 how) and I am still able to execute php from the CLI and have successfully
 loaded imagick and memcache.

 Again, I'm using OS X Leopard, and PHP 5.2.6, and Apache 2.2.9

 Any help would be much appreciated.

 Thanks!

 stutter.

 -- BuildSmart




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] Mac OS X + Apache2 + Dynamic Libraries

2009-03-30 Thread Lists

Stutter Stutters wrote:

I used Pecl to install memcache and imagick, I ran the command you
mentioned and this was the output:

$ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O
bundle i386


I don't see anything regarding x86_64, so I assume it's not built with
64 bit support.  Sounds like an awesome time to fix.  Especially,
since I don't know where to begin :(

Any pointers?

-Stutter


One option: it may be better to run your entire web system in
32 bit mode. It's more compatible than 64bit and you really don't
lose anything regarding performance.

The default Leopard PHP mod will run in 32bit mode.
To do this, you'd need to 'thin' your apache build using a command-line
called lipo.

Use your google fu: lipo thin httpd i386

(make sure to do a backup of your httpd file and call it something
like: httpdFat.bu. This way you can always revert back if compatibility 
is not the issue.)


HTH,
Donovan








--
  =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
  D. BROOKE   EUCA Design Center
   WebDNA Software Corp.
  WEB: http://www.euca.us  |   http://www.webdna.us
  =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] PHP on Windows without Apache

2008-12-14 Thread Daniel Brown
On Sun, Dec 14, 2008 at 13:19, Jeffery Harris
jhar...@harris4interactive.com wrote:
 Thanks Daniel. Any recommendations on a good php learning book.

My pleasure, Jeff.

I've honestly never read any of the PHP books out there, so I
wouldn't be able to give you a definite recommendation on that.  What
I *will* highly recommend, though, is subscribing to the PHP General
mailing list.  You'll not only get a lot of good information and
insight from that list, but it's a decent, friendly group of
highly-skilled people there, too.

When you subscribe to the list, your introductory post could be
asking about a good PHP book, and I'll bet that you get some good
answers.

-- 
/Daniel P. Brown
http://www.parasane.net/
daniel.br...@parasane.net || danbr...@php.net
50% Off Hosting! http://www.pilotpig.net/specials.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install problem

2008-09-17 Thread Jochem Maas

Illó Gábor schreef:

Hello

I have this error when i type make:

ml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -o libphp5.la
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 can
not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
*** Error code 1


try adding '--with-pic' to the configure line.


Can somebody help me? SYS: FreeBSD 7.0 AMD64

./configure --prefix=/usr/local/php \
--with-apxs2=/usr/local/sbin/apxs \
--with-mysql \
--with-gd \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--enable-shared \
--enable-static \


aren't these last two a bit mutually exclusive?


--with-pear \
--with-mcrypt \
--with-iconv \
--with-openssl \
--with-config-file-path=/usr/local/php \
--enable-mbstring \
--with-sqlite \
--with-pdo-sqlite \
--without-sybase-ct \
--without-pgsql \
--without-mssql \
--without-msql \
--enable-ftp \
--enable-sockets \
--enable-pcntl \
--with-imap=/usr/lib \
--with-imap-ssl=/usr/lib




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Daniel Brown
Forwarded to the appropriate list (PHP General).  Anuj: If you're
not already subscribed, please visit http://php.net/mailinglists and
subscribe to the PHP General list, or send a blank email to
[EMAIL PROTECTED]

On Tue, Jul 22, 2008 at 11:09 PM, Anuj Bhatt [EMAIL PROTECTED] wrote:
 Hi,


 I'm new to PHP and just installed apache2 with php support. I'm trying
 to execute a Python script (from within php), which does take a good
 amount of time and am waiting for it to terminate so that I can process
 the output and print that out in HTML.

 The problem I'm having is that I can't get the PHP script to wait for
 the Python file to terminate. If I try it with a simple Python script
 say print Hello, World! it gets that. But anything that takes
 substantially long time, it just returns. I've tried system(myfile.py,
 $result) and $result results in a 1 and prints any subsequent prints in
 the PHP file. I also tried exec, with no luck. I've read through
 http://www.php.net/function.exec and the documentation presented in the
 See Also section with other commands. I haven't got anywhere yet,
 after much work. Any pointers, suggestions and fixes?

Try this to see if your script is outputting any errors:

?php
exec('/path/to/python your-script.py 21',$ret);
print_r($ret);
?

If that works, you may just need to adjust your timeout and set
ignore_user_abort(1) to allow the Python script to keep running.  If
all else fails, and you're aware of the side-effects, go fork()
yourself.  ;-P

-- 
/Daniel P. Brown
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Daniel Brown
On Tue, Jul 22, 2008 at 11:27 PM, Daniel Brown [EMAIL PROTECTED] wrote:

 If all else fails, and you're aware of the side-effects, go fork() yourself.  
 ;-P

For posterity:

http://php.net/pcntl

[See: pcntl_fork(), et al.]

-- 
/Daniel P. Brown
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Anuj Bhatt
On Tue, 2008-07-22 at 23:27 -0400, Daniel Brown wrote:
 Try this to see if your script is outputting any errors:
 
 ?php
 exec('/path/to/python your-script.py 21',$ret);
 print_r($ret);
 ?

This worked, was opening a file for which permission was denied. Python
didn't show me anything, when run on the prompt, however when I used the
above method, I did get the error. Thanks!


-anuj



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] I cant get php_gd.dll to work

2008-03-21 Thread Daniel Brown
On Thu, Mar 20, 2008 at 10:04 PM, Mark [EMAIL PROTECTED] wrote:
 Hi,

  Im new to php and i cant get the gd graphics library to work.
  Im running Apache, Mysql, Windows xp

  I downloaded and installed php from php.net.

  After much screwing around I finally got in to work with mysql and wrote a
  few basic scripts.
  Im stuck on the gd libarary.

  I downloaded the file php_dg.dll and copied it to my ext directory. I know
  php can see it because
  the mysql files are there and they work fine.

[snip!]
  I try to run the following code fragment to test it out 


  ?PHP
  $image=$imagecreate(100,100);
  ?

That's not an install problem, it's a general PHP question, so for
the archives, it's being copied over to there as well.  If you haven't
yet, please consider joining PHP-General
(http://php.net/mailinglists).

You're calling the imagecreate() function as a $variable.  Simple
enough to fix:

?php
$image = imagecreate(100,100);
?

-- 
/Daniel P. Brown
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install syck on PHP4

2007-12-12 Thread Richard Lynch
On Wed, December 12, 2007 11:35 am, GoWtHaM NaRiSiPaLli wrote:
 I am trying to install php4-syck but there is no package for it on apt
 repository on ubuntu. So I got the .deb package and did
 #dpkg -i php4-syck.x.deb
 it installed the package and I restarted the apache webserver and
 tried to
 run syck_load() function. It throws me an error that the function is
 not
 found.

 What else needs to be done to make this work.

Always start by looking at output of:
?php phpinfo();?

I would make a WILD GUESS that you need to edit the php.ini mentioned
there and add a new line to enable the extension 'syck'

You'd think the fancy package installers would do that for you, but
they often make invalid assumptions about where your php.ini file
lives, and edit the wrong file, and...

If you get it right (don't forget to re-start Apace!) then you SHOULD
see 'syck' listed as an extension in your ?php phpinfo();?

If it ain't listed, you didn't install it right.

You may also want to try to compile PHP and syck from source:
http://trac.symfony-project.com/wiki/InstallingSyck

I never even heard of syck until now, and only did the Google for you,
really...

The syck people and/or the Ubunty/Debian folks may be better prepared
to help you, depending on what is actually going wrong, as I doubt too
many readers here ever heard of syck either...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf

On  23. Oct 2007, at 20:33, Colin Guthrie wrote:


If you compile PHP and it finds v3 of mysql that means that you must
have the old development libraries for mysql 3 installed in some
capacity (I believe).

What is the output of:
rpm -qa --nosignature --nodigest | grep -i mysql

This should give some clues.


$ rpm -qa --nosignature --nodigest | grep -i mysql
MySQL-server-community-5.0.45-0.rhel3
mod_auth_mysql-20030510-2.ent
MySQL-shared-compat-5.0.45-0.rhel3
MySQL-client-community-5.0.45-0.rhel3
mysql-bench-3.23.58-16.RHEL3.1
MySQL-python-0.9.1-6
libdbi-dbd-mysql-0.6.5-5
perl-DBD-MySQL-2.1021-4.EL3
qt-MySQL-3.1.2-17.RHEL3
php-mysql-4.3.2-43.ent
MySQL-devel-community-5.0.45-0.rhel3

Now I'm even more confused, the 5.0.45 devel package *is* there.

I would imagine (don't know) that PHP would use the mysql_config  
program

to work out which mysql is installed and get the relevent cflags and
linking options. For me this is provided by the
MySQL-devel-community-5.0.27 package from MySQL... Is this definitely
installed?


$ mysql_config
Usage: /usr/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/include/mysql -g -pipe -march=i386 - 
mcpu=i686]

--include[-I/usr/include/mysql]
--libs   [-L/usr/lib/mysql -lmysqlclient -lz -lcrypt  
-lnsl -lm]
--libs_r [-L/usr/lib/mysql -lmysqlclient_r -lz - 
lpthread -lcrypt -lnsl -lm -lpthread]

--socket [/var/lib/mysql/mysql.sock]
--port   [3306]
--version[5.0.45]
--libmysqld-libs [-L/usr/lib/mysql -lmysqld -lz -lpthread - 
lcrypt -lnsl -lm -lpthread -lrt]


Doing a simple ls -l on both /usr/lib/mysql and /usr/include/mysql  
shows me that all libraries in there are from Jul 5th, which is too  
old to be my recent MySQL install. So these seem to be the files that  
need updating. Which package will do that for me?


Chrs,
Dav

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote:
 On  23. Oct 2007, at 20:33, Colin Guthrie wrote:
 
 If you compile PHP and it finds v3 of mysql that means that you must
 have the old development libraries for mysql 3 installed in some
 capacity (I believe).

 What is the output of:
 rpm -qa --nosignature --nodigest | grep -i mysql

 This should give some clues.
 
 $ rpm -qa --nosignature --nodigest | grep -i mysql
 MySQL-server-community-5.0.45-0.rhel3
 mod_auth_mysql-20030510-2.ent
 MySQL-shared-compat-5.0.45-0.rhel3
 MySQL-client-community-5.0.45-0.rhel3
 mysql-bench-3.23.58-16.RHEL3.1
 MySQL-python-0.9.1-6
 libdbi-dbd-mysql-0.6.5-5
 perl-DBD-MySQL-2.1021-4.EL3
 qt-MySQL-3.1.2-17.RHEL3
 php-mysql-4.3.2-43.ent
 MySQL-devel-community-5.0.45-0.rhel3
 
 Now I'm even more confused, the 5.0.45 devel package *is* there.

Yeah that looks pretty OK to me (tho' not overly knowledgeable with
Fedora/Centos packaging)

 I would imagine (don't know) that PHP would use the mysql_config program
 to work out which mysql is installed and get the relevent cflags and
 linking options. For me this is provided by the
 MySQL-devel-community-5.0.27 package from MySQL... Is this definitely
 installed?
 
 $ mysql_config
 Usage: /usr/bin/mysql_config [OPTIONS]
 Options:
 --cflags [-I/usr/include/mysql -g -pipe -march=i386
 -mcpu=i686]
 --include[-I/usr/include/mysql]
 --libs   [-L/usr/lib/mysql -lmysqlclient -lz -lcrypt
 -lnsl -lm]
 --libs_r [-L/usr/lib/mysql -lmysqlclient_r -lz -lpthread
 -lcrypt -lnsl -lm -lpthread]
 --socket [/var/lib/mysql/mysql.sock]
 --port   [3306]
 --version[5.0.45]
 --libmysqld-libs [-L/usr/lib/mysql -lmysqld -lz -lpthread
 -lcrypt -lnsl -lm -lpthread -lrt]
 
 Doing a simple ls -l on both /usr/lib/mysql and /usr/include/mysql shows
 me that all libraries in there are from Jul 5th, which is too old to be
 my recent MySQL install. So these seem to be the files that need
 updating. Which package will do that for me?

No, I reckon Jul 5th could be about right when was .45 released? I
had it in my head it was august but Jul doesn't seem too far before that
so entirely possible.

Use rpm -qf filename to see which package owns which files.

you can also use rpm -V pck to verify that the package has not be
modified on disk.

Does PHP 4 perhaps come with it's own mysql library in the source?
Perhaps you have to pass an argument?

Try using something like: --with-mysql=shared,/usr in the configure to
PHP. That's certainly how I configure PHP5. The args for 4 may be
different tho'.

Col.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf

On  23. Oct 2007, at 21:07, Colin Guthrie wrote:


No, I reckon Jul 5th could be about right when was .45 released? I
had it in my head it was august but Jul doesn't seem too far before  
that

so entirely possible.


Ah sorry, I was thinking about source installs. RPMs keep the  
original creation date I guess. Not overly used to that.



Use rpm -qf filename to see which package owns which files.


Probing two random files in include/mysql and and lib/mysql show they  
belong to MySQL-devel-community-5.0.45-0.rhel3.



you can also use rpm -V pck to verify that the package has not be
modified on disk.


$ rpm -V MySQL-devel-community-5.0.45-0.rhel3
missing  d /usr/share/man/man1/comp_err.1.gz
missing  d /usr/share/man/man1/mysql_config.1.gz

I suppose this is, albeit not ideal, tolerable?


Does PHP 4 perhaps come with it's own mysql library in the source?
Perhaps you have to pass an argument?


Yes, as of PHP4 the --with-mysql is on by default. I tried specifying  
--with-mysql-dir=/usr and also shared,/usr, but to no avail.


Chrs,
Dav

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote:
 $ rpm -V MySQL-devel-community-5.0.45-0.rhel3
 missing  d /usr/share/man/man1/comp_err.1.gz
 missing  d /usr/share/man/man1/mysql_config.1.gz
 
 I suppose this is, albeit not ideal, tolerable?

Yeah this is fine. Your system is probably not setup to install docs and
therefore these files just didn't get installed.

 Does PHP 4 perhaps come with it's own mysql library in the source?
 Perhaps you have to pass an argument?
 
 Yes, as of PHP4 the --with-mysql is on by default. I tried specifying
 --with-mysql-dir=/usr and also shared,/usr, but to no avail.

Sorry mate I'm out of ideas... Without tracing through the configure
script to nail it down, I'm kinda stumped.

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Zentgraf wrote:
 Hi,
 
 I'm trying to upgrade a server running CentOS 3 to an up-to-date MySQL 5
 installation + PHP4. I installed the MySQL 5 package, server and client,
 via RPMs and they work fine, the client tells me it's version 5.0.45. I
 went on to recompile PHP 4.4.7 --with-mysql, but it's still using MySQL
 client libraries version 3.23.58. I'm kind of at a loss where it takes
 these versions from or how I can get it to use the newer libraries.
 
 Any hints would be greatly appreciated.

Do rpm -qa --nosignature | grep -i mysql and see what old libraries you
have lying around. Specifically look for the devel libraries/packages.
Remove the 3.x versions via RPM and make sure you've installed the
relevant -devel package from MySQL 5.

You can also use the MySQL 5 -shared-compat package to replace the
shared libraries needed by other apps in Fedora, although you may have
to do an rpm -e --nodeps to get rid of the currently installed library
prior to installing -shared-compat due to file conflicts. I always like
to test that this has worked tho (typically testing one of the apps in
the packages rpm moaned about when doing a normal rpm -e (sans
--nodeps) or by trying to rpm -e the newly installed -shared-compat just
to make sure it is providing the correct deps at least!

HTH


gripe
Be warned tho. If you use custom aggregate UDFs in MySQL 5 it the
current version will segfault on you. I tore my hair out over this.
Upstream MySQL have been pretty crap at responding or releasing
something that I reported months ago. The fact they removed all the
daily snapshots has not helped me help them to fix it either.

http://bugs.mysql.com/bug.php?id=30312

I had to stick with 5.0.27 for now.
/gripe

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread Colin Guthrie
David Christopher Zentgraf wrote:
 On  23. Oct 2007, at 17:22, Colin Guthrie wrote:
 
 Do rpm -qa --nosignature | grep -i mysql and see what old libraries you
 have lying around. Specifically look for the devel libraries/packages.
 Remove the 3.x versions via RPM and make sure you've installed the
 relevant -devel package from MySQL 5.

 You can also use the MySQL 5 -shared-compat package to replace the
 shared libraries needed by other apps in Fedora, although you may have
 to do an rpm -e --nodeps to get rid of the currently installed library
 prior to installing -shared-compat due to file conflicts. I always like
 to test that this has worked tho (typically testing one of the apps in
 the packages rpm moaned about when doing a normal rpm -e (sans
 --nodeps) or by trying to rpm -e the newly installed -shared-compat just
 to make sure it is providing the correct deps at least!
 
 I did install the shared-compat package (sorry, forgot to mention),
 which littered libmysqlclient.so.10 to .so.15 around my /usr/lib, and I
 guess that PHP is using .so.10 for some reason instead of .so.15 (or
 simply libmysqlclient.so, which is symlinked to .so.15).
 Are you saying that it's save to remove the old libs or the whole
 shared-compat package and simply install the current libs instead? I was
 thinking about it, but then again, these things are there for
 compatibility, so I hoped there was a way to explicitly tell PHP to use
 the latest version while leaving the others around.

The .so file (without the .10 or .15) is just used for compile time
linking, it's not used at runtime.

No, the shared-compat is the correct one ot use here as some of the core
Centos rpms may need a mysql v3 compatible client library.


If you compile PHP and it finds v3 of mysql that means that you must
have the old development libraries for mysql 3 installed in some
capacity (I believe).

What is the output of:
rpm -qa --nosignature --nodigest | grep -i mysql

This should give some clues.

I would imagine (don't know) that PHP would use the mysql_config program
to work out which mysql is installed and get the relevent cflags and
linking options. For me this is provided by the
MySQL-devel-community-5.0.27 package from MySQL... Is this definitely
installed?

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php install problem

2007-08-03 Thread zerof

David McDivitt escreveu:

I hate to ask a simple question, but I have two issues installing PHP. I have XP SP 2 with IIS. When I ran 
the install php-5.2.3-win32-installer.msi, it said it could not access httpd.config and I would 
have to configure the web server manually. I could not find anything on the internet containing the error 
message. I get the same error when installing IIS API and IIS CGI. The other problem I have is when I attempt 
to display a page containing PHP, the browser displays an error. The error I was getting said PHP has 
encountered an Access Violation. Now it's changed and says No input file specified. Weird. 
If someone could shed light I'd appreciate it. Thanks

-
IMHO, the best, is to use the WAMP environment.
Try: http://www.educar.pro.br/en/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install question

2007-06-15 Thread Daniel Brown

On 6/15/07, Paul K [EMAIL PROTECTED] wrote:

I have just started with a clean install on a Windows XP Pro system,
Apache 2.24 and PHP 5.2.3

Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.

I can access html files just fine but I can't even run a test program

?php
phpinfo();
?

Nothing displays.

Where do I look to see whats wrong?

Paul

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




   The server logs, your php.ini, your httpd.conf just to name a
few.  Make sure you have your AddHandler and AddType lines done
correctly in httpd.conf, make sure that PHP is turned on in your
php.ini file, make sure you restart Apache after any changes are made,
and make sure you consult your logs for any issues that may not
display to the screen.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install question

2007-06-15 Thread Jim Lucas

Paul K wrote:
I have just started with a clean install on a Windows XP Pro system, 
Apache 2.24 and PHP 5.2.3


Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.

I can access html files just fine but I can't even run a test program

?php
phpinfo();
?

Nothing displays.

Where do I look to see whats wrong?

Paul



Look at the source returned to you in your browser.  If you see the actual php code, then you need 
the AddHandler and AddType settings in your Apache conf file.  First, make sure that the php module

is being loaded.

--
Jim Lucas

   Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them.

Twelfth Night, Act II, Scene V
by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Mailparse extension

2007-05-22 Thread Miles Thompson

On 5/21/07, Tim Donnelly [EMAIL PROTECTED] wrote:

I should preface this by saying, I am not a PHP person.  I have been able to 
install php in the past and get things to work, but this time I am having fits.

I am running php 5.2.1, apache 1.3.34, OpenSuSE 10.0 on a 64bit AMD platform.

I have compiled php with the following statement:

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pspell' 
'--enable-mbstring' '--with-mysql' '--with-libdir=/lib64' '--enable-mailparse'

and installed mailparse 2.1.1 via PECL.  Running pecl list confirms that 
mailparse 2.1.1 stable is installed.  I have added the line:

extension=mailparse.so

to my php.ini file.

However, my email server software (@Mail v5.04) says mailparse is not 
installed.  I attempted to run the code posted by wberrier at yahoo dot com 
found here http://us2.php.net/mailparse  and all I got was a blank screen.  As 
I said, I'm not a php person do I don't know if this is conclusive proof of a 
problem or not.

Can anybody help me?  I can provide additional information if needed.

Thanks

Tim Donnelly
Systems/Network Administrator
Colorado Alliance of Research Libraries
(303)759-3399 x106



To start, run a phpinfo.php script which contains phpinfo(). That will
reliably tell you if mailparse is installed.

Did you restart your web server after adding the module and editing php.ini?

Does mailparse, by any chance, need a [mailparse] section in php.ini
to set its parameters?

Are you certain there is not an old instance of Apache running?

Hope this helps - Miles

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install PECL

2007-04-04 Thread Jochem Maas
Bagus Nugroho wrote:
 Hi All,
 I'm trying to install PECL package as install PEAR package, but there's error 
 as :
 ---
 C:\PHPpear install http://localhost/pear/APC-3.0.13.tgz 
 http://localhost/pear/APC-3.0.13.tgz 
 downloading APC-3.0.13.tgz ...
 Starting to download APC-3.0.13.tgz (105,042 bytes)
 done: 105,042 bytes
 40 source files, building
 ERROR: The DSP APC.dsp does not exist.
 
 Is my install method wrong?

you downloaded the APC src for *nix rather than windows,
in fact I don't think there areready to roll PECL src packages
(at least not for APC).

did you read this page? : http://php.net/apc

did you find this link: http://pecl4win.php.net/

 Or it was PECL install is different with PEAR install

IIRC 'pear install' is simply a wrapper for 'pecl install'
as far as pecl packages are concerned.

  
 Thanks in advance
 bn
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Install PECL

2007-04-04 Thread Bagus Nugroho
Ok, thanks
 
Best Regards
bn



From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Wed 04-Apr-2007 23:45
To: Bagus Nugroho
Cc: php-general@lists.php.net
Subject: Re: [PHP] Install PECL



Bagus Nugroho wrote:
 Hi All,
 I'm trying to install PECL package as install PEAR package, but there's error 
 as :
 ---
 C:\PHPpear install http://localhost/pear/APC-3.0.13.tgz 
 http://localhost/pear/APC-3.0.13.tgz
 downloading APC-3.0.13.tgz ...
 Starting to download APC-3.0.13.tgz (105,042 bytes)
 done: 105,042 bytes
 40 source files, building
 ERROR: The DSP APC.dsp does not exist.
 
 Is my install method wrong?

you downloaded the APC src for *nix rather than windows,
in fact I don't think there areready to roll PECL src packages
(at least not for APC).

did you read this page? : http://php.net/apc

did you find this link: http://pecl4win.php.net/

 Or it was PECL install is different with PEAR install

IIRC 'pear install' is simply a wrapper for 'pecl install'
as far as pecl packages are concerned.

 
 Thanks in advance
 bn






Re: [PHP] install problems

2007-03-19 Thread jekillen


On Mar 18, 2007, at 10:54 PM, Chris wrote:


jekillen wrote:

Hello;
Well, this one I cannot seem to figure out:
I installed Apache 1.3.37 with
./configure --enable-module=so --enable-module=rewrite 
--enable-shared=max

Then tried to install
php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
libphp5.so is no where to be found. It sure is not
in apache/libexec


Did you run 'make' ?

Running configure doesn't create this file, 'make' does.

A rather obvious question but I couldn't see whether you ran it or not.



Yes, I did, an oversight on my part not to mention it.
It went all the way through configure, make, and make install
I watched all the text fill up the screen and fly by and I did
not get and bail outs. How ever I suspect that part of the
problem is the way I configured Apache, I know I had
trouble with Apache not editing the .conf file by putting
all the AddModule and LoadModule lines in. I got that
fixed then encountered the php problem. I even went
through and removed everything related to php I could
find and started again from scratch. No luck.
Thanks for the reply
Jeff k

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install problems

2007-03-19 Thread Chris

jekillen wrote:


On Mar 18, 2007, at 10:54 PM, Chris wrote:


jekillen wrote:

Hello;
Well, this one I cannot seem to figure out:
I installed Apache 1.3.37 with
./configure --enable-module=so --enable-module=rewrite 
--enable-shared=max

Then tried to install
php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
libphp5.so is no where to be found. It sure is not
in apache/libexec


Did you run 'make' ?

Running configure doesn't create this file, 'make' does.

A rather obvious question but I couldn't see whether you ran it or not.



Yes, I did, an oversight on my part not to mention it.


Just wanted to check :)

After 'make' you should have a libs/libphp5.a and/or libs/libphp5.so

No need to do the 'make install' step if those files don't get created 
(depending on your configure options you may only get one of them, but 
there should be something created there).


If you're not getting them at all, does 'make' finish properly - ie do 
you get:



Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


as the last two lines?

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install problems

2007-03-19 Thread jekillen


On Mar 19, 2007, at 5:58 PM, Chris wrote:


jekillen wrote:

On Mar 18, 2007, at 10:54 PM, Chris wrote:

jekillen wrote:

Hello;
Well, this one I cannot seem to figure out:
I installed Apache 1.3.37 with
./configure --enable-module=so --enable-module=rewrite 
--enable-shared=max

Then tried to install
php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc
libphp5.so is no where to be found. It sure is not
in apache/libexec


Did you run 'make' ?

Running configure doesn't create this file, 'make' does.

A rather obvious question but I couldn't see whether you ran it or 
not.



Yes, I did, an oversight on my part not to mention it.


Just wanted to check :)

After 'make' you should have a libs/libphp5.a and/or libs/libphp5.so

No need to do the 'make install' step if those files don't get created 
(depending on your configure options you may only get one of them, but 
there should be something created there).


If you're not getting them at all, does 'make' finish properly - ie do 
you get:



Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


as the last two lines?


Yes
I rm'd everything related to php and went and got a copy of php 5.1.2 
and tried that with the same

list of ./configure options read into ./configure from a file:
--with-apxs=/usr/local/sbin/apxs \
--with-openssl \
--with-zlib \
--enable-bcmath \
--with-gd \
--with-jpeg-dir \
--with-freetype-dir \
--with-ttf \
--enable-gd-native-ttf \
--with-mcrypt \
--with-mysql \
--with-mysql-sock \
--without-sqlite \
--with-regex=php
and the same thing happened.
It should be in /usr/local/libexec with all the other Apache modules, 
right?

find found nada.
I have done this twice before on FreeBSD v6.0 with out this trauma.
I subscribed to the install list to see what someone might have to say 
there.

Jeff K

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install problems

2007-03-18 Thread Chris

jekillen wrote:

Hello;
Well, this one I cannot seem to figure out:
I installed Apache 1.3.37 with
./configure --enable-module=so --enable-module=rewrite --enable-shared=max
Then tried to install
php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc

libphp5.so is no where to be found. It sure is not
in apache/libexec


Did you run 'make' ?

Running configure doesn't create this file, 'make' does.

A rather obvious question but I couldn't see whether you ran it or not.

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Install / update php rpm packages with FC6

2007-02-20 Thread Peter Lauri
Do you really need to use an RPM package to install a PHP on FC. Why not
yum install php instead... and for any extension you might want you just
install that as well yum install php-gd as example.

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 20, 2007 1:22 PM
To: [EMAIL PROTECTED]
Cc: php
Subject: [PHP] Install / update php rpm packages with FC6

Dear All,

Mine is FC6 System...

When I install the php rpm package, the problem as the following :

[EMAIL PROTECTED] php]$ rpm -qa | grep libc
glibc-common-2.5-3
libcap-devel-1.10-25
libcroco-0.6.1-2.1
glibc-headers-2.5-3
glibc-2.5-3
libcap-1.10-25
libc-client2006-2006e-2.fc6
glibc-devel-2.5-3
libcroco-devel-0.6.1-2.1
[EMAIL PROTECTED] php]$ sudo rpm -Uhv php*
warning: php-5.1.6-3.3.fc6.i386.rpm: Header V3 DSA signature: NOKEY, key 
ID 4f2a6fd2
error: Failed dependencies:
libc-client.so.1 is needed by php-imap-5.1.6-3.3.fc6.i386
[EMAIL PROTECTED] php]$

Edward.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install GD2 Library - $ Reward

2006-04-25 Thread Jochem Maas

Aleksander Davidsen wrote:

Hi,

I have trouble with installing GD2 library correctly,
someone want to take a look at it and maybe fix it?


start by supplying details on your OS, php build and everything
related.



It`s a symbolic reward of 10$ to the one who solves the problem and make it 
work correctly :)


if we help you then stick the money in a charity or something.
I doubt anyone here needs 10 bucks - if they do they can always
sell the computer they are reading this on :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Jochem Maas

Brad Kowalczyk wrote:

Grae Wolfe - PHP wrote:

Hey there...  I am setting up a new test server for one of my clients 
to use, and I am curious if there is a reason to go with php4.xx over 
php5.xx, or the other way around.  I would think that I would want to 
go with the newest one, but my client requested that 4.xx be 
installed.  I don't know if he is worried that his code won't be 
compatible, or if he just doesn't know that there is a php5.xx available.


Thanks in advance for any advice you can offer!!



As others have commmented, should definitely use php5 if he can. Almost 
all php4 code will run as expected on php5 (but not the the other way 


yeah right *cough*. more likely you'll bump into a small but significant
set of migration problems if migrating code of any serious complexity -
having said that all the issues I have encountered were fixed easily enough.

btw I advocate going php5.

I also suggest you determine if the client he has a good reason
to back up his requirement for the software version (he may not have clue,
figuring that out now will save both of you grief).


around) and the benefits of php5 are many.

Cheers,

Brad Kowalczyk
www.ibiscode.com



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Brad Kowalczyk

Jochem Maas wrote:

Brad Kowalczyk wrote:


Grae Wolfe - PHP wrote:

Hey there...  I am setting up a new test server for one of my clients 
to use, and I am curious if there is a reason to go with php4.xx over 
php5.xx, or the other way around.  I would think that I would want to 
go with the newest one, but my client requested that 4.xx be 
installed.  I don't know if he is worried that his code won't be 
compatible, or if he just doesn't know that there is a php5.xx 
available.


Thanks in advance for any advice you can offer!!



As others have commmented, should definitely use php5 if he can. 
Almost all php4 code will run as expected on php5 (but not the the 
other way 



yeah right *cough*. more likely you'll bump into a small but significant
set of migration problems if migrating code of any serious complexity -
having said that all the issues I have encountered were fixed easily 
enough.


Yes, I should have added that some (usually minor) tweaks to the code 
may be necessary. I've yet to encounter anything that was a major 
headache though and IMO the advantages gained by migrating to PHP5 
outway the migration annoyances. And lets face it, I'd reckon were all 
going to have to migrate sooner or later, and better sooner in my book.




btw I advocate going php5.

I also suggest you determine if the client he has a good reason
to back up his requirement for the software version (he may not have clue,
figuring that out now will save both of you grief).


around) and the benefits of php5 are many.

Cheers,

Brad Kowalczyk
www.ibiscode.com







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-02 Thread Brad Kowalczyk

Grae Wolfe - PHP wrote:
Hey there...  I am setting up a new test server for one of my clients to 
use, and I am curious if there is a reason to go with php4.xx over php5.xx, 
or the other way around.  I would think that I would want to go with the 
newest one, but my client requested that 4.xx be installed.  I don't know if 
he is worried that his code won't be compatible, or if he just doesn't know 
that there is a php5.xx available.


Thanks in advance for any advice you can offer!! 





As others have commmented, should definitely use php5 if he can. Almost 
all php4 code will run as expected on php5 (but not the the other way 
around) and the benefits of php5 are many.


Cheers,

Brad Kowalczyk
www.ibiscode.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install or interference problem

2005-07-28 Thread Fam Ruijters-Verberne
Thanks for the response ... skype was the problem. took it out 
autostartup restarted XAMPP.no problems anymore


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install or interference problem

2005-07-27 Thread Jochem Maas

Fam Ruijters-Verberne wrote:

Hello,



this is not a php question.

and you problem is that Apache cannot _bind_ itself to the port
that you specified in the apache.conf file (more likely XAMMP install
did it for you). specifically Apache appears to be trying to bind
itself to port 443 (which is the default port for HTTPS) and it's not
succeeding - the reason it's not succeeding (AFAICT) is that it's trying to
bind to port 443 on the network interface with IP 0,0,0,0 - which is a
totally invalid IP address.

try changing the string '0,0,0,0:443' into '*:443' in your apachce.conf file.
(search and replace)

here are better sources of info on the matter:

http://www.google.com/search?q=apache+config
http://httpd.apache.org/docs-project/


It seems I do not get apache server to run. It shuts down instantly.
I installed via 
http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/ 
the  XAMPP implementation for the PHP-mysql server. I  captured the 
following part of the message of the dos window when activating the 
apache server. Part is in dutch ...I freely translated that part in the 
translated dos message.


As far as I know I only run zone alarm in the background, and this 


you're on windows which means that there are hundreds of processes running
in the background - and assuming you're running windowsXP service pack 2
you are probably running the windows firewall on top of ZoneAlarm.

not to mention a plethora of spyware, adware and related junk that has a high
probability that it's running on your PC ... but that's down to Bill'n'Steve
more than anyone else ;-/

nicely asks for access to internet for the various components of the 
XAMPP programs. What do I have to check/change/adapt to make sure the 
apache server runs. The mysql part does run properly by the way.


Thanks



_*Original dos message*_
Apache 2 is starting 
OS 10048 Elk socketadres protocol/netwerkadres/poort kan normaal 
slechts een keer worden gebruikt. :make_sock: could not bind to address 
0,0,0,0:443

no listening sockets available, shutting down
Unable to open logs

_*Translated dos message:*_
I translated the dutch part and then you get:
OS 10048 Every socketaddress protocol/networkaddress/port can 
normally only be used once. :make_sock: could not bind to address 
0,0,0,0:443

no listening sockets available, shutting down
Unable to open logs



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install directions for Win2003 SP1??

2005-07-17 Thread disguised.jedi
On 7/13/05, Grosz, Steve (IPG IT) [EMAIL PROTECTED] wrote:
 Does anyone have a step by step, screenshots would be great, of how to
 install PHP 4.x on a Win2003 SP1 server?
 
 I've tried going through the install instructions on PHP.net's site for
 windows, but its still not working, so I think I'm missing something
 somewhere along the way.

Tell us what's going on!  Instead of a step-by-step tutorial, you can
tell us what you've been having problems with, and we can help you
troubleshoot that specific issue.  That tutorial works pretty well for
most systems, so another tutorial probably won't make anything work
better.  Plus, most of us on this list don't carry tutorials in our
back pockets! :-)

Give me an error message, and I'd be more than happy to help!

-- 
PHP rocks!
Knowledge is Power.  Power Corrupts.  Go to school, become evil

Disclaimer: Any disclaimer attached to this message may be ignored. 
However, I must say that the ENTIRE contents of this message are
subject to other's criticism, corrections, and speculations.

This message is Certified Virus Free

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Compile Errors on Solaris 9

2005-01-05 Thread Andrew Kreps
On Wed, 5 Jan 2005 10:17:29 -0800, H. Scott Brown [EMAIL PROTECTED] wrote:
 Hi, List,
 
 I need some help with compilation.
 
 ./configure runs fine, in the following manner (4.3.10):
 
[snip]
 *** Error code 1
 make: Fatal error: Command failed for target `ext/zlib/zlib.lo'
 
 Any ideas? I really need to get this going ASAP. I'll post it here first,
 but it looks like a bug?

I once had a similar problem, although not on Solaris.  Have you tried
using --with-zlib or --with-zlib=shared?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Install PHP4 on a Apache2 + PHP5 system

2004-12-20 Thread Joshua D. Drake
Rens Admiraal wrote:
Hi guys,
I have a server on which Apache2 and PHP5 are functioning well, but I 
also want to build in support for PHP4 because the webmail package I 
use isn't compatible with PHP5... So, I need to install PHP4 next to 
PHP5, and make my Directory in httpd.include use PHP4 for my webmail 
directory...

Any idears how to install this 2 PHP versions together, and let it 
work? It is a server I didn't install myself, and for who knows, Plesk 
7.0.4 is installed on it, so I'm not completely free to try things... 
I allready did some things, but till now without results...
Use mod_proxy with apache2 to call a separate apache2-php4 installation.

OS: Redhat ES3
my PHP5 configure options are:
'./configure' '--host=i686-redhat-linux-gnu' 
'--build=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--cache-file=../config.cache' 
'--with-config-file-path=/etc' 
'--with-config-file-scan-dir=/etc/php.d' '--disable-debug' 
'--enable-pic' '--disable-rpath' '--enable-inline-optimization' 
'--with-bz2' '--with-db4=/usr' '--with-curl' '--with-dom=/usr' 
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' 
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' 
'--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' 
'--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' 
'--with-png' '--with-pspell' '--with-regex=system' '--with-xml' 
'--with-expat-dir=/usr' '--with-dom' '--with-domxml' '--with-xmlrpc' 
'--with-pcre=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' 
'--enable-exif' '--enable-ftp' '--enable-magic-quotes' 
'--enable-sockets' '--enable-track-vars' '--enable-trans-sid' 
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' 
'--with-kerberos=/usr/kerberos' '--with-ldap=shared' 
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--enable-bcmath' 
'--enable-versioning' '--enable-calendar' '--enable-dbx' 
'--enable-dio' '--enable-mbregex' '--enable-mcal' '--with-mhash=' 
'--with-mcrypt=/usr/local' '--with-apxs2filter=/usr/sbin/apxs'


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - [EMAIL PROTECTED] - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Install PHP4 on a Apache2 + PHP5 system

2004-12-20 Thread Rick Fletcher
I have a server on which Apache2 and PHP5 are functioning well, but I 
also want to build in support for PHP4 because the webmail package I use 
isn't compatible with PHP5... So, I need to install PHP4 next to PHP5, 
and make my Directory in httpd.include use PHP4 for my webmail 
directory...
I've never run this setup myself, but I just test this out and it worked 
for me.  (I put it inside a VirtualHost, but you should be ok to put it 
in the Default server context too)

# set up an alias to the php4 cgi binary
ScriptAlias /cgi-bin/php4 /path/to/php4cgi
# i want files in http://example.com/mail/ to be parsed with php4
Location /mail/
   Action php4-script /cgi-bin/php4
   AddHandler php4-script .php
/Location
You could use Directory too, but give it a file path, not a url.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: [PHP-INSTALL] Impossibility

2004-10-11 Thread Andrew Kreps
On Mon, 11 Oct 2004 15:20:11 -0400, Scott Hamm [EMAIL PROTECTED] wrote:
 I know it's impossible, but is there a way php can read something from excel
 file?
 

If you really believe it's impossible, why ask the question?  :)

Start with the first link here, and work your way down.  Thankfully,
you aren't the first person to try to do the impossible.

http://www.google.com/search?q=PHP+read+excel

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install /setup script

2004-10-11 Thread Minuk Choi
Well, you can just put up a regular form, something to the effect of
form action=create_db.php method=post
Hostname input type=text name=Hostname
User Nameinput type=text name=username
Password input type=text name=password
...
...
...
etc.
/form
and when you submit that form, those variables will be accessible under the 
$_POST array

such as
$hostName = $_POST['Hostname'];
$userName=$_POST['username'];
etc.
NOTE that doing it this way presents several security issues
 1) You should add some checking before connecting to the MySQL database; a 
user can specify mysql as the database and you'd have your tables 
installed in the mysql database(which is used by mysql for its 
privilege/user tables and such... I normally make it a practice to NOT mess 
it with the mysql tables).  (e.g. If you plan to drop the database and 
repopulate it, then specifying mysql for database would destroy MySQL's 
core tables)
 2) If you are not familar with the $_POST array, it is the data that you 
specified between the form and /form tag.  Just like how there is a form 
method=POST and form method=GET, there is a $_GET array.  But many 
people frown if you have a form that asks for username and password and you 
submit that via GET(as the values you specified would be appended at the end 
of the URL).

HTH
-Minuk
- Original Message - 
From: bigmark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 11, 2004 12:14 AM
Subject: [PHP] install /setup script


Thanks for the help with the createdb and tables form, now can anyone help
with changing the config.php
(ie: host,user,password) via a form also-- so that it doesnt have to be 
done
manually within the config script.

Basically i want an install/setup page with all the form elements--
Hostname-
username-
Password-
Choose database name-
Then it installs the database and tables then redirects to the main site
page and the config.php is already configured for them
BigMark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: [PHP-INSTALL] install errors with oci8

2004-10-08 Thread Hendrik Schmieder
Bob Redding schrieb:
Running on Mandrake 10.0, Apache 2 and Oracle Client
Bob Redding
 

Look where you have libclntsh.a or libclntsh.so.
 Hendrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: [PHP-INSTALL] Re: [PHP] Netegrity's siteminder + PHP + Apache

2004-08-12 Thread Saqib . N . Ali
Hello Sam,

Thanks for the response. I don't have much documentation to work with. I 
very familiar with mod_LDAP + Apache + PHP, but new to Siteminder. I was 
wondering if you point me to some good resources on the web, or if you 
have some documentation, that would be helpful as well.

Thanks.
Saqib Ali
http://validate.sf.net  XHTML/DocBook XML Validator and Transformer

Regards,
Saqib Ali
https://downloads.seagate.com  Click to download latest desktop 
applications



Sam Evans [EMAIL PROTECTED] 
No Phone Info Available
08/12/2004 06:40 AM

To
[EMAIL PROTECTED] [EMAIL PROTECTED]
cc
[EMAIL PROTECTED], [EMAIL PROTECTED]
Subject
[PHP-INSTALL] Re: [PHP] Netegrity's siteminder + PHP + Apache






Saqib,

We have been able to get Siteminder v5.X to work on Apache 2.0.50 with
PHP 5.0.0..   There really wasn't too much hassling with it, but we
did have to get the Siteminder 5.X hotfix for Linux though.

Let me know what kind of trouble you are running into, and I'll try to
help you out.

-Sam

On Wed, 11 Aug 2004 15:31:42 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hello All,
 
 Does anyone of any good documentation for compiling Netegrity's 
Siteminder
 module with Apache for use in a PHP based application?
 
 Thanks.
 Saqib Ali
 http://validate.sf.net  XHTML/DocBook XML Validator and Transformer



Re: [PHP] install/config error - please help

2004-06-30 Thread Curt Zirzow
* Thus wrote Nguyen, Long P (Mission Systems):
 any ideas with this install/config error?
 
 [EMAIL PROTECTED] php-4.3.7]# ./configure --with-mysql=/usr/local/mysql
 creating cache ./config.cache
 checking host system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... no
 configure: error: installation or configuration problem: C compiler cannot create 
 executables.

This means that gcc/cc was unable to generate a simple executable,
could mean that your ldconfig is messed up or that you have some
improper environment settings. You can consult your config.log for
any hints.

You can test you're executable creating abilities yourself by
doing something like:

bash$ echo main(){return(0);}  test.c
bash$ gcc -o test $CFLAGS $CPPFLAGS $LDFLAGS test.c $LIBS

You'll probably get errors.

Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] install/config error - please help

2004-06-30 Thread Nguyen, Long P (Mission Systems)
I tried what you suggested and got the following:

[EMAIL PROTECTED] root]# main(){return(0);}  test.c
-bash: main(){return(0);}: command not found
[EMAIL PROTECTED] root]# gcc -o test $CFLAGS $CPPFLAGS $LDFLAGS test.c $LIBS
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status


-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 10:07 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] install/config error - please help


* Thus wrote Nguyen, Long P (Mission Systems):
 any ideas with this install/config error?
 
 [EMAIL PROTECTED] php-4.3.7]# ./configure --with-mysql=/usr/local/mysql
 creating cache ./config.cache
 checking host system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... no
 configure: error: installation or configuration problem: C compiler cannot create 
 executables.

This means that gcc/cc was unable to generate a simple executable,
could mean that your ldconfig is messed up or that you have some
improper environment settings. You can consult your config.log for
any hints.

You can test you're executable creating abilities yourself by
doing something like:

bash$ echo main(){return(0);}  test.c
bash$ gcc -o test $CFLAGS $CPPFLAGS $LDFLAGS test.c $LIBS

You'll probably get errors.

Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install/config error - please help

2004-06-30 Thread Curt Zirzow
* Thus wrote Nguyen, Long P (Mission Systems):
 I tried what you suggested and got the following:
 
 [EMAIL PROTECTED] root]# main(){return(0);}  test.c
 -bash: main(){return(0);}: command not found

You missed the 'echo'..

bash$ echo main(){return(0);}  test.c



Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install IIS ISAPI

2004-04-22 Thread John W. Holmes
From: Vincent DUPONT [EMAIL PROTECTED]

 I use to install PHP under IIS as a ISAPI module. So I
 add a ISAPI filter and define a new App mapping in 'configure'

 When looking at the documentation (see
http://be.php.net/manual/en/install.iis.php,
 Windows NT/2000/XP and IIS 4 or  newer) I can read :
 If you don't want to perform HTTP Authentication using PHP,
 you can (and should) skip this step. Under ISAPI Filters, add
 a new ISAPI filter. Use PHP as the filter name, and supply a path to the
php4isapi.dll.

 If I understand well, we should skip this step whe possible.
 I don't use HTTP authentcation, but I always add a ISAPI filter
 to my IIS config. Why should we avoid this??

 I tried to remove the ISAPI filter and restart IIS. Everything seems Ok

I've always wondered why the docs recommend to skip this step and have
commented on it in the past. I don't use HTTP Authentication, either, but
I've never gotten PHP to work under IIS without adding an ISAPI filter.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install mysql and mysqli together

2004-03-08 Thread Raditha Dissanayake
Hi,
Installing mysqli by itself is complicated enough (or at least it does 
not run smoothly). I also had this need but gave up on it in the end. 
You can see my experience with this at 
http://www.raditha.com/mysql/mysqli.php  my final solution was to 
install both php4 and php 5 :-(

all the best

Juergen Mueller wrote:

Hi,

i would like to install the standard mysql extension together with the new
mysqli extension. the documentation say, that in this case the bundled
libmysql libary in PHP cannot be used. furthermore it recommended to use the
client
libaries installed by MySQL below Version 4.1
in /usr/mysql reside the MySQL 4.0.14 and in /usr/local/mysql it reside the
latest MySQL 4.1 Snapshot.
actually I try this way:
./configure --with-mysql=/usr/mysql/lib/mysql/lib
--with-mysqli=/usr/local/mysql/bin/mysql_config with the following result:
configure: error: Cannot find MySQL header files under
/install/mysql/lib/mysql/lib.
Note that the MySQL client library is not bundled anymore.
okay, the php client libary libmysql cannot be used anymore, but how can I
install both mysql extension together in my specific case?
I would be happy if anybody could help me!

best regards
Jürgen Mueller
 



--
Raditha Dissanayake.
---
http://www.radinks.net/ftp/applet/
An applet that breaks all the rules. Reads, Writes and Deletes files on 
your hard disk. Uploads what's left to a third party server.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: [PHP-INSTALL] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-16 Thread Scott Fletcher
IE bug is something I can't do about, I can't image about other 3rd party
browser if this ever happen.  So, I decided to use the $_REQUEST instead and
not have to deal with the browser issues.  You should do the same because as
everyone know, IE bugs doesn't normally get fixed overnight or worse, it
might will never get worked on.  So, less headache, I use $_REQUEST and yet
not to have customers be breathing down my neck.

Give it a try if you want, if not then that's okay.  It would be the same
thing a year from now and so on.

Scott F.

Chris Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I found several sources of information regarding a IE bug that does'nt
 pass all the post data, however this is roughly 1/4 times that it does it.
 Its actually become a serious problem for people to navigate through my
 webmail :/

 Chris
  I mean, I sometime found a few POST data had incorrectly went over to
the
  GET data.  I don't know it's a PHP problem but more of a web browser
  problem.
 
  Scott F.
  Scott Fletcher [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
  Try the $_REQUEST variable, this is where both the $_GET and $_POST
come
  from and let us know how it goes...
 
  Scott F.
 
  Chris Wilson [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   When in IE, submitting any form on our https page, the post variables
   intermittantly don't come through.
  
   The get variables come through fine.  Just not the $_POST variables.
  
   I have tried everything to get this to work. Everything was working
  fine
   but it seems after we updated IE with the last critical updates this
   started to become an issue.
  
  
   We have rebuilt servers, and installed apache+modssl+php from
  /usr/ports,
   as well as manually and have been unable to resolv this issue.
  
   We are using a generic installation of apache+modssl+php with the
  included
   php.ini, only modifications being Register_globals on and safe_mode
  off
  
   We have also tried backing down to an earlier version of php and
  apache
   (php 4.3.1, modssl 2.8.15 and apache 1.3.28, which we were running
  before
   the rebuild)
  
  
   Netscape seems to work fine. Once again, this only seems to be
  happening
   on secure pages.
  
  
   We have tried on multiple workstations, and our customers seem to be
   effected by this too.
  
  
   Does anyone know what this might be? possibly an IE bug?
  
   Any help would be apreciated.
  
   Thanks! :)
  
  
   Chris Wilson
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-INSTALL] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-14 Thread Chris Wilson
I found several sources of information regarding a IE bug that does'nt
pass all the post data, however this is roughly 1/4 times that it does it.
Its actually become a serious problem for people to navigate through my
webmail :/

Chris
 I mean, I sometime found a few POST data had incorrectly went over to the
 GET data.  I don't know it's a PHP problem but more of a web browser
 problem.

 Scott F.
 Scott Fletcher [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Try the $_REQUEST variable, this is where both the $_GET and $_POST come
 from and let us know how it goes...

 Scott F.

 Chris Wilson [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  When in IE, submitting any form on our https page, the post variables
  intermittantly don't come through.
 
  The get variables come through fine.  Just not the $_POST variables.
 
  I have tried everything to get this to work. Everything was working
 fine
  but it seems after we updated IE with the last critical updates this
  started to become an issue.
 
 
  We have rebuilt servers, and installed apache+modssl+php from
 /usr/ports,
  as well as manually and have been unable to resolv this issue.
 
  We are using a generic installation of apache+modssl+php with the
 included
  php.ini, only modifications being Register_globals on and safe_mode
 off
 
  We have also tried backing down to an earlier version of php and
 apache
  (php 4.3.1, modssl 2.8.15 and apache 1.3.28, which we were running
 before
  the rebuild)
 
 
  Netscape seems to work fine. Once again, this only seems to be
 happening
  on secure pages.
 
 
  We have tried on multiple workstations, and our customers seem to be
  effected by this too.
 
 
  Does anyone know what this might be? possibly an IE bug?
 
  Any help would be apreciated.
 
  Thanks! :)
 
 
  Chris Wilson


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install questions

2003-10-24 Thread Jonathan Villa
What is your platform?  Not that it mattes a whole lot...

Make sure the httpd.conf file has 

#LoadModule php4_modulemodules/libphp4.so
LoadModule php5_modulemodules/libphp5.so
(whichever is the one you need, probably 4)

AddType application/x-httpd-source .phps
AddType application/x-httpd-php .php


On Fri, 2003-10-24 at 17:00, rogue wrote:
 i just installed php and when i try to load a php file into the browser 
 through apache, the file downloads instead of being displayed.
 
 is this an apache problem or a problem with my php install?
 
 thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install questions

2003-10-24 Thread Burhan Khalid
rogue wrote:

i just installed php and when i try to load a php file into the browser 
through apache, the file downloads instead of being displayed.

is this an apache problem or a problem with my php install?
This is a problem with your php install (you need to make sure you edit 
your httpd.conf with the information from the php install documentation).

More information  http://www.php.net/installation

You may also want to read the numerous install guides/tutorials that are 
on the web -- I have written my own at the site in my signature (mine 
discusses your problem and possible solutions).  Lots of information out 
there if you google :)

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Install problems (GD) on Red Hat

2003-09-24 Thread Jason Wong
On Thursday 25 September 2003 04:25, Donaldson Sgt Michael J wrote:

[snip]

 If configure fails try --with-jpeg-dir=DIR
 configure: error: png.h not found.

 saw this in a post
   --with-jpeg-dir=/usr/local/src/php-5.0.0b1 \
   --with-png-dir=/usr/local/src/php-5.0.0b1 \
   --with-zlib-dir=/usr/local/src/php-5.0.0b1
 ...
 configure: error: png.h not found.

Where is png.h? Install the RPM which provides that file. Then use

  --with-png-dir=/usr

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
War is never imperative.
-- McCoy, Balance of Terror, stardate 1709.2
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install php-gtk on mdk9.1

2003-07-31 Thread Marek Kilimajer
http://sk.php.net/mailing-lists.php

Decapode Azur wrote:

hi,

where do I have to post to bring help about
how to install  php-gtk  ?
Cheers



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Install

2003-06-18 Thread Chris Hayes
At 14:39 18-6-03, you wrote:
Hi,

i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro.
now the issue is that i have all the 3 application running and interacting
with each other in
sync but every time i try to connect to mysql through php it gives me
this error:
Warning: mysql_connect(): Client does not support authentication protocol
requested by server. Consider upgrading MySQL client
this is the 1st time i am trying to set up a server i will really appreciate
your helpthanks
--anand
If this is your first time, let's start by getting mysql's stable version 
and not the alpha (alpha is even more testphase than beta!)



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] install php

2003-03-13 Thread Ray Hunter
make sure you config line has the location of you mysql install..

example:
/.configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14
--enable-track-var

--
Ray

On Thu, 2003-03-13 at 00:14, sonjaya wrote:
 dear milist 
 i want' instal php with mysql , itry 
 like this :
 #./configure --with-mysql --with- 
 apache=../apache_1.3.14 --enable-track-
 var
 and get error message like this :
 #ext/mysql/libmysql/my_tempnam.o: In 
 function `my_tempnam':
 /usr/local/src/php-
 4.3.1/ext/mysql/libmysql/my_tempnam.c:1
 03: the use of `tempnam' is dangerous, 
 better use `mkstemp'
 collect2: ld returned 1 exit status
 make: *** [sapi/cli/php] Error 1
 i have install mysq in : 
 /usr/local/msqyl .
 any body can help me 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] install problem

2002-12-30 Thread Rasmus Lerdorf
I don't see any errors there, just a couple of rather harmless warnings.

On Mon, 30 Dec 2002, [EMAIL PROTECTED] wrote:

 Hello !

 I have problem with php-4.3.0 i can not install it on my 3 different rh7.0 servers.

 ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
 --enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs
 --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd
 --with-jpeg-dir=/usr --with-png --with-zlib --with-zlib-dir=/usr/local/lib
 --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode
 --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars
 --enable-yp --enable-ftp --enable-wddx --with-mysql
 --without-oracle --without-oci8 --with-xml

 Errors:

 multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lnsl -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lresolv -lm 
-ldl -lnsl -lcrypt  -o sapi/cli/php
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
 /root/http_stuff/php/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of 
`tempnam' is dangerous, better use `mkstemp'

 functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo 
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lnsl -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lresolv -lm 
-ldl -lnsl -lcrypt  -o sapi/cli/php
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
 /root/http_stuff/php/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of 
`tempnam' is dangerous, better use `mkstemp'

 functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo 
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lnsl -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lresolv -lm 
-ldl -lnsl -lcrypt  -o sapi/cli/php
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
 ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
 /root/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is 
dangerous, better use `mkstemp'

 --
 Best regards,
  gnu_is_not_unix

 ---
 Konto bez op³at i prowizji?
 TAK! eKONTO w mBanku!  http://pf.wp.pl/mbank.html 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Install

2002-08-03 Thread EdwardSPL

Try this site :
http://www.linuxguruz.org/z.php?id=32h=php+mysql+apache

Nick Niehoff wrote:

 I have followed the instructions to install php4 on
 both apache 1.3.x and 2.0.x, both fail.  I am running
 RedHat 7.2, Apache 2.0.39.  I am trying to install
 php4.2.2.  When I type 'make install' at the command
 it goes through its little thing and then says:
 ./.libs/libphp4.a(zend_execute.lo): In function
 `safe_free_zval_ptr':
 /root/php-4.2.2/Zend/zend_execute.h:59: undefined
 reference to `ts_resource_ex'
 collect2: ld returned 1 exit status
 make[1]: *** [php] Error 1
 make[1]: Leaving directory `/root/php-4.2.2'
 make: *** [install-recursive] Error 1

 Can anyone help?
 Nick Niehoff

 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Install

2002-08-03 Thread Bob Lockie


What is your configure command?

I have followed the instructions to install php4 on
both apache 1.3.x and 2.0.x, both fail.  I am running
RedHat 7.2, Apache 2.0.39.  I am trying to install
php4.2.2.  When I type 'make install' at the command
it goes through its little thing and then says:
./.libs/libphp4.a(zend_execute.lo): In function
`safe_free_zval_ptr':
/root/php-4.2.2/Zend/zend_execute.h:59: undefined
reference to `ts_resource_ex'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/php-4.2.2'
make: *** [install-recursive] Error 1

Can anyone help?
Nick Niehoff




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install issues on Solaris

2002-07-25 Thread Peter

ok unix.h problem solved but now it's saying can't locate .libs/libZend.a
 any ideas?


~thinks: sheesh no wonder more and more people just use windose for PHP
since it looking like its too bloody hard to install any where else lol~

 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 25 July 2002 3:46 PM
 To: php_gen
 Subject: [PHP] install issues on Solaris


 hi there,

 some of you may remember my post from yesterday ( titled  install to unix
 ... hastles )
 as I said in that one I was using Solaris 9 ( the newest ver of
 the Solaris
 OS ) i have since gone back to Solaris 8 and am having the same
 problem when
 I go to do the make looking through the ./configure output i
 discovered it
 can find unix.h but when I do the make (and inparticular when it goes
 through the Zend Makefile ) it cannot find it.. any one got any clues or
 suggestions?  ( Solaris does come with an old ver (4.0.6 I think) on a
 companion CD but I wanna try and figure this one out as it's a
 newer ver of
 php (4.2.1) )

 any help would be apreciated... I can attach soft copies of both the make
 and the configure screen outputs for any that are interested...

 Cheers

 Peter
 the only dumb question is the one that wasn't asked



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install issues on Solaris

2002-07-25 Thread David Robley

In article [EMAIL PROTECTED], [EMAIL PROTECTED] 
says...
 ok unix.h problem solved but now it's saying can't locate .libs/libZend.a
  any ideas?
 
 
 ~thinks: sheesh no wonder more and more people just use windose for PHP
 since it looking like its too bloody hard to install any where else lol~
 

Furrfu - don't tar all *nix with the same brush :-) Presumably, for some 
reason, that file hasn't been created? Have a look in the libs directory 
under your tarball extraction directory; but perhaps the few lines out of 
make output prior to the error might be useful?


Cheers
-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install issues on Solaris

2002-07-25 Thread Peter

 In article [EMAIL PROTECTED],
 [EMAIL PROTECTED]
 says...
  ok unix.h problem solved but now it's saying can't locate
 .libs/libZend.a
   any ideas?
 
 

 Furrfu - don't tar all *nix with the same brush :-) Presumably, for some
 reason, that file hasn't been created? Have a look in the libs directory
 under your tarball extraction directory; but perhaps the few lines out of
 make output prior to the error might be useful?

the last few lines of the make are as follows:

.
.
.
.
.
.
zend_sprintf.lo `test -f zend_sprintf.c || echo './'`zend_sprintf.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../mainzend_ini.lo `test -f zend_ini.c || echo
'./'`zend_ini.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../mainzend_qsort.lo `test -f zend_qsort.c ||
echo './'`zend_qsort.c
/bin/sh ../libtool --silent --mode=link
c  -g -O2 -prefer-non-pic -static   -o.lo zend_ini_scanner.lo zend_alloc.lo
zend_compile.lo zend_constants.lo zend_dyn.lo zend_opcode.lo
zend_operators.lo zend_ptr_stack.lo zend_stack.lo zend_variabndent.lo
zend_builtin_functions.lo zend_sprintf.lo zend_ini.lo zend_qsort.lo -ld
../libtool: ar: not found
make[1]: *** [libZend.la] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.2/Zend'
make: *** [all-recursive] Error 1

Cheers
Peter


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install to unix... hastles

2002-07-23 Thread Peter

sorry forgot to say that I've tried to locate the unix.h file in other
distribs etc but wif no luck

 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 24 July 2002 12:33 PM
 To: php_gen
 Subject: [PHP] install to unix... hastles


 Hiya,

 I'm new to installing php onto unix i can get the ./configure
 command to run
 with out error (well any that are obvious)
 but when i do the make it comes up with

 # make
 Making all in Zend
 make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
 /bin/sh ../libtool --silent --mode=compile
 gcc -DHAVE_CONFIG_H -I. -I. -I../main
 -D_POSIX_PTHREAD_SEMANTICS -I../TSRM
   -g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo `test -f
 zend_language_parser.c || echo './'`zend_language_parser.c
 In file included from zend_compile.h:24,
  from zend_language_parser.c:147:
 zend.h:55:19: unix.h: No such file or directory
 make[1]: *** [zend_language_parser.lo] Error 1
 make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
 make: *** [all-recursive] Error 1

 now i understand that it can't find unix.h and am assuming that
 this is why
 it doesn't work ...

 does any one have any ideas for me  php ver is 4.2.1 for now... though
 will upgrade to 4.2.2 soon..

 Cheers

 Peter
 the only dumb question is the one that wasn't asked



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install to unix... hastles

2002-07-23 Thread David Robley

In article [EMAIL PROTECTED], [EMAIL PROTECTED] 
says...
 sorry forgot to say that I've tried to locate the unix.h file in other
 distribs etc but wif no luck
 
  -Original Message-
  From: Peter [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 24 July 2002 12:33 PM
  To: php_gen
  Subject: [PHP] install to unix... hastles
 
 
  Hiya,
 
  I'm new to installing php onto unix i can get the ./configure
  command to run
  with out error (well any that are obvious)
  but when i do the make it comes up with
 
  # make
  Making all in Zend
  make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
  /bin/sh ../libtool --silent --mode=compile
  gcc -DHAVE_CONFIG_H -I. -I. -I../main
  -D_POSIX_PTHREAD_SEMANTICS -I../TSRM
-g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo `test -f
  zend_language_parser.c || echo './'`zend_language_parser.c
  In file included from zend_compile.h:24,
   from zend_language_parser.c:147:
  zend.h:55:19: unix.h: No such file or directory
  make[1]: *** [zend_language_parser.lo] Error 1
  make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
  make: *** [all-recursive] Error 1
 
  now i understand that it can't find unix.h and am assuming that
  this is why
  it doesn't work ...
 
  does any one have any ideas for me  php ver is 4.2.1 for now... though
  will upgrade to 4.2.2 soon..

Sounds like you are missing the system header files - what 'unix' are you 
using?

Cheers
-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install to unix... hastles

2002-07-23 Thread Peter

   Hiya,
  
   I'm new to installing php onto unix i can get the ./configure
   command to run
   with out error (well any that are obvious)
   but when i do the make it comes up with
  
   # make
   Making all in Zend
   make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
   /bin/sh ../libtool --silent --mode=compile
   gcc -DHAVE_CONFIG_H -I. -I. -I../main
   -D_POSIX_PTHREAD_SEMANTICS -I../TSRM
 -g -O2 -prefer-non-pic -static -c -o
 zend_language_parser.lo `test -f
   zend_language_parser.c || echo './'`zend_language_parser.c
   In file included from zend_compile.h:24,
from zend_language_parser.c:147:
   zend.h:55:19: unix.h: No such file or directory
   make[1]: *** [zend_language_parser.lo] Error 1
   make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
   make: *** [all-recursive] Error 1
  
   now i understand that it can't find unix.h and am assuming that
   this is why
   it doesn't work ...
  
   does any one have any ideas for me  php ver is 4.2.1 for
 now... though
   will upgrade to 4.2.2 soon..

 Sounds like you are missing the system header files - what 'unix' are you
 using?

 Cheers
 --
 David Robley
 Temporary Kiwi!

am using Solaris 9 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] install to unix... hastles

2002-07-23 Thread David Robley

In article [EMAIL PROTECTED], [EMAIL PROTECTED] 
says...
Hiya,
   
I'm new to installing php onto unix i can get the ./configure
command to run
with out error (well any that are obvious)
but when i do the make it comes up with
   
# make
Making all in Zend
make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main
-D_POSIX_PTHREAD_SEMANTICS -I../TSRM
  -g -O2 -prefer-non-pic -static -c -o
  zend_language_parser.lo `test -f
zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
 from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
   
now i understand that it can't find unix.h and am assuming that
this is why
it doesn't work ...
   
does any one have any ideas for me  php ver is 4.2.1 for
  now... though
will upgrade to 4.2.2 soon..
 
  Sounds like you are missing the system header files - what 'unix' are you
  using?
 
  Cheers
  --
  David Robley
  Temporary Kiwi!
 
 am using Solaris 9 

Had a feeling you were going to say the Sun word :-) It sounds like you 
are missing a bunch of system header files, used for compiling any 
programs. IIRC they live in something like /usr/include (at least on a 
slackware linux) or /usr/src/[architecture]/include.

Either that or they are located somewhere where the compiler can't find 
them; does 'locate unix.h' return anything - assuming locate is up2date on 
your system.

If not, unless there is a Sun guru here, you might want to check on a Sun-
specific list about exactly what you need to get and how.

Cheers
-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PHP install - what features?

2002-07-14 Thread Richard Lynch

I have searched the archive for a message subject
something like PHP Wish List and was unsuccessful.

Depends who does the wishing :-)

The first time I compiled PHP, I tried to throw in almost everything that
sounded remotely interesting.

That was incredibly time-consuming and frustrating.

I didn't even really understand what half that crap was, and then I had to
go download and install and configure it and kick the tires on each one,
and...

By the time I got so frustrated with it all, there was *ALREADY* a new
version of PHP out.  (It's not like I didn't have other stuff to do...)

So when I started over with that version I only compiled in the stuff I
*KNEW* I would have time to mess with in the next six months.

HIGHLY RECOMMENDED
--
It don't matter what you choose, but choose only the stuff you're gonna need
FOR SURE in the next six months.
--

If it turns out you were wrong, it's no big deal to download/compile/install
one more toy, after you've been playing awhile.

Oh yeah -- Be sure to compile it as a CGI as well.  You'll need that for
cron jobs sooner than you think, and it's way easier when you still have the
shell with the up arrow :-)

Actually, I always put my configure line in a chmod 700 shell script so I
can just use it again.

I know PHP writes one out, but it's got all those quotes and stuff, and I
like one I can just read.

-- 
Like Music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: php install

2002-07-01 Thread Richard Lynch

Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following
error message

checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

lex is like this low-level thingie that lets PHP syntax like
if/else/while/for get defined.
[Gross over-simplification of the whole process, but not totally
inaccurate.]

So, like, you have to have lex installed to build PHP.

The thing is, it's a pretty common thing to have, so it's *MOST* likely on
your computer somewhere, just PHP isn't finding it...


Try these, in order, to see if you have lex somewhere:

whereis lex
locate lex
find / -name lex -print


The last one will take a *LONG* time, maybe...

Once you figure out where lex is, you need to get that directory into your
$path (or $PATH) variable.

Try these:

echo $PATH
echo $path

Depending on your OS and the phase of the moon, one of them will output
something.

Whichever it is, you need to alter.  How to alter it depends on your OS and
shell and the phase of the moon.  I usually go digging through my .profile
and any .*sh* files in my home directory:

cd
ls -als 

And in one of those files that starts with a . for the file name I can
usually find out how to alter my $PATH ($path).

If, by some miracle, you don't *HAVE* lex, you can almost-for-sure install
it from your original CDs or find it using Google.

The preceeding all assume a minimal level of Un*x skill...  Which is what
I've got.  YMMV.  Not applicable in all OS'es.

-- 
Like Music?  http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] install php as CGI?

2002-06-04 Thread Pushkar Pradhan

./configure  --prefix=/rstc/user1/erc/pushkar/php-4.0.6
--with-regex=system --enable-discard-path --enable-dbase
Actually you just need one  --enable-discard-path  for security reasons,
others are customized for my use and yes prefix is also a must.
 how can i install php as CGI?






 
 Brian Feliciano
 EMC-Tech


 I know that there are people in this world who do not love
 their fellow man, and I hate people like that.
   -
 Tom Lehrer


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-Pushkar S. Pradhan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Install problem - FIX

2002-05-24 Thread Dani

probelm Fix!\

thanks

Dani wrote:

 I have just installed the PHP 4.2.1 Installer but get this error message:

 Security Alert! The PHP CGI cannot be accessed directly.
 This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
 page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an
 Apache Action directive.

 what does this mean?

 thanks,
 Dani

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Install Question - Missing php.ini

2002-05-06 Thread Insomniac Admin

Try doing locate php.ini. Your likely to have to copy php.ini.dist to
php.ini if this is your first installation.

Usually you'll find it in /usr/local/etc/ or /usr/local/lib/ depending
on your distro.

- Dan

-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]] 
Sent: 06 May 2002 16:28
To: [EMAIL PROTECTED]
Subject: [PHP] Install Question - Missing php.ini


I compiled php 4.2 with the following command (Linux Server)

./configure --with-mysql --with-apxs --enable-dbase --with-xml
--enable-ftp --with-curl --enable-cli

Where is my php.ini file?  I cannot find it on my system.

David McInnis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Install wddx extention for php 4.1.1

2002-01-25 Thread Rasmus Lerdorf

Try leaving off the --with-expat-dir switch completely.  PHP comes with
its own expat.

On Fri, 25 Jan 2002, Ziying Sherwin wrote:


 We tried to install php 4.1.1 with wddx support on our Solaris 2.8 with
 gcc 3.0. We installed expat library 1.2 (download from
 http://www.jclark.com/xml/expat.html) and wddx 1.0a. We also installed
 apache 1.3.22 which comes with expat support).

 We configure our php with the following options:

  --with-xml
  --enable-wddx
   --with-expat-dir=/depot/package/expat_1.2

 However, we keep getting the following error messages:

In file included from internal_functions.c:66:
 /site4/web_kit_1.0_rodgers/php_4.1.1/ext/wddx/php_wddx.h:26:19: expat.h:
 No such file or directory

 There is no header file called expat.h in either expat 1.2 package or
 apache 1.3.22 package. Did we install the wrong expat package? Which
 package do we have to install in order to get wddx compiled in php?

 Thanks,
 Ziying Sherwin

 P. S. I am not on this mailing list, please send your response to:

   [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: PHP Install Problem - Please Help

2001-08-30 Thread Richard Lynch

 To Install PHP I have done this ( ihave specified the location of apxs
 as Suse Installed an Apache server also, but I want the one I've
 installed to /usr/local/apache):

It's better to specify exactly where apxs is anyway, just so you know for
sure you don't get the wrong one.

 ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

 Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
 API module structure `php4_module' in file
 /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an
 Apache module DSO? 

 libphp4.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not
 stripped 

Well, it's a DSO, but it got broken somehow when you built it...  I mean, a
car that you build from scratch with no carbuerator is still gonna look like
a car, but it ain't gonna run too good. :-)

 SoCan anybody Help ???

 I don't have MySQL installed yet - do I need to have that first ???

YES!

(Technically, in some situations, no...  But for now, just go with YES! as
the answer.)

If you don't have MySQL installed, PHP has to use its built-in version.

This built-in version has a rather low chance of matching up with the
version you are actually running.  In some instances, I conjecture that it
might also conflict with a version that Apache is *already* using with
mod_auth_mysql or some other nifty Apache module I've never heard of that
uses MySQL...  But I dunno for sure about that part.

Anyway, if the versions are far enough off, your PHP and your MySQL won't
talk to each other, or will talk, but some functions won't work right, or
PHP itself won't even be able to be loaded.

At any rate, get MySQL, install it, and be sure to
use --with-mysql=/path/to/mysql when you re-compile to get the right stuff.

*ALSO* -- You have to watch what goes by during configure.  Some errors
are printed but aren't big enough to stop the configure script.  Alas, they
are, in some cases, big enough to make your PHP non-functional, or at least
not having all the features you asked for.  You can check the files left
behind from configure name config.log and config.cache.  They're just text
files.  A little digging in there may help you figure out what exactly went
wrong.

WISH LIST:  config.log doesn't seem to record the Yes/No answer to what
happened...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Install

2001-07-26 Thread Kurt Lieber

um... this is a PHP list, not a Perl list.

go to www.perl.org for perl info.

 -Original Message-
 From: Roman [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, July 25, 2001 10:50 PM
 To: Php-General
 Subject: [PHP] Install
 
 
 Hello !
 
 I want to install perl under apache in windows, please send 
 me some information how can i install, where I find perl 
 software, where I find some perl editor... Thanks fo all
 
   roman
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 
 [EMAIL PROTECTED] To contact the list 
 administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Install

2001-07-25 Thread Lawrence . Sheed

this would seem to be a php list,  maybe you should look on a perl list for
a complete response, hmm?

Activestate make a reasonable perl interpreter for windows, have a look at
activestate.com for more details.

also try google and search for perl windows apache, maybe you can try
reading some of the results of the search.

good luck.

-Original Message-
From: Roman [mailto:[EMAIL PROTECTED]]
Sent: July 26, 2001 1:50 PM
To: Php-General
Subject: [PHP] Install


Hello !

I want to install perl under apache in windows, please send me some
information
how can i install, where I find perl software, where I find some perl
editor...
Thanks fo all

roman


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Install problems

2001-07-19 Thread Michael Hall


I think that --config-file-path needs to be the path to apache, not php.

--config-file-path=/usr/local/apache

Check in the README.configure file in the Apache source directory.

Mick

On Thu, 19 Jul 2001, Chetan Ganpati wrote:
 Hello,
 
 I am trying to install PHP4 on a redhat 6.2 box.
 I have got mysql-3.23-39 and apache-1.3.14-2.6.2
 installed.
 I did a 
 ./configure --prefix=/usr/local/php
 ---with-config-file-path=/usr/loca/php
 --with-apxs=/usr/sbin/apxs
 --with-mysql=/usr/local/mysql  --enable-track-vars
 --enable-magic-quotes --enable-debugger
 
 and then a make and make install
 
 when i try to restart apache i get this error:-
 Starting httpd: Syntax error on line 873 of
 /etc/httpd/conf/httpd.conf:
 Cannot load /etc/httpd/modules/libphp4.so into server:
 /etc/httpd/modules/libphp
 4.so: undefined symbol: uncompress
 
 line 873 is this
 LoadModule php4_modulemodules/libphp4.so and
 the next is
 AddModule mod_php4.c
 
 Would be grateful if someone could help me
 Thanks 
 Chetan
 
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.com/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
-- 
Michael Hall
mulga.com.au
[EMAIL PROTECTED]
ph/fax (+61 8) 8953 1442
ABN 94 885 174 814

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install help

2001-07-07 Thread chris schneck

Usually after a ./configure there is a make then a make install,
sometimes even a make test before a make install
- Original Message -
From: Evan Nemerson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 3:02 PM
Subject: [PHP] install help


 I am trying to install PHP 4.0.6 with Apache 1.3.20 on Linux Mandrake 8. I
 finally managed to get throught ./configure, then typed 'make install'.

 Here's the last few lines:

 Inf file included from main.c:26:
 php.h:285:30: tsrm_virtual_cwd.h: No such file or directory
 make[2]: *** [main.lo] Error 1
 make[2]: Leaving directory '/root/Desktop/php-4.0.6/main'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory 'root/Desktop/php-4.0.6/main'
 make: *** [install-recursive] Error 1

 Anybody have any ideas (I already thought of smashing my computer, but
ruled
 it out...)? One I just had is to tell apache to look for the PHP module on
my
 Windoze partition (which has been installed sucessfully for months). Would
 this work? I doubt it, but anything's possible... besides I would like to
 avoid that since I plan on installing a few libs later (specifically,
mcrypt
 and pdf...) and this is entirely too difficult for windoze.

 Time to go watch cartoons! Be back in 1/2 hr.


 -Evan Nemerson

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Install Prob PHP4

2001-05-15 Thread Johannes Janson

Hi,

 checking lex output file root... ./configure: lex: command not found
 configure: error: cannot find output from lex; giving up

you have to go into YaST an install a programm called lex. It might be
that you also need flex. Just install lex and see if you get more errors.

hope it helps
Johannes



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install issue with 4.0.5

2001-05-03 Thread Martín Marqués

On Vie 04 May 2001 00:41, you wrote:
 I've just tried to compile and install
 php 4.0.5 with apache and when I try to
 restart apache I get the following. I added
 the location of libphp4.so to ld.so.conf and
 ran ldconfig and then make clean and re-compiled
 php etc... any ideas as to what is going on ?

 snip
 [root@localhost bin]# ./apachectl start
 Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined
 symbol:
 uncompress
 ./apachectl start: httpd could not be started
 /snip

I may fail on this, but could it be that php.so can't find libz.so? Just 
because it says undefined symbol: uncompress.

Saludos... :-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Johannes Janson

Hi,

I'll spare you from the stuff with stupid question and answers
http://httpd.apache.org/dist/httpd/binaries/win32/ is the address
to the win32 binary. get 1.3.19 cause some more einvironment variables
are supported. To set the wholee thing up I can recommend this:
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
covers the installation of PHP, Apache, MySQL and SSL.

good luck
Johannes

"Peter Van Dijck" [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Apologies if this is off topic, and apologies for double posting to the
 install list! I'm just completely stuck...

 for home development I want to install apache and phph and mysql on win NT
4.
 It's my first time.
 I was trying to find the apache install for win but I can't seem to find
it
 here:
 http://httpd.apache.org/dist/httpd/
 On this page:
 http://httpd.apache.org/docs/windows.html
 it says:
 "You should download the binary build of Apache for Windows named as
 apache_1_3_#-win32-with_src.msi if you are interested in the source code,
 or simply apache_1_3_#-win32-no_src.msi if you don't plan to do anything
 with the source code and appreciate a faster download"

 But I can't find that file for download!
 Is there any idiot's guide to doing these installs? (I'm going to have to
 turn mod-rewrite on, and maybe a few options for PHP but that will be it)

 Thanks for any help! I would really love to get this done this weekend
asap...
 Peter

 ~~
 http://liga1.com: building multiple language/culture websites


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck

Ok, I have Apache running, and PHP running.
However, when I look at http://localhost/test.php it works (e.g. phpinfo() 
shows all the info), but I get 3 popups:

"Unable to load dynamic library 'php_pdf.dll' - The specified module could 
not be found."

I click OK

"The dynamic link library isqlt09a.dll could not be found in the specified path
f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;."

I click OK

"Unable to load dynamic library 
'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The 
specified module could not be found."

I click OK

So that is weird. Another weird thing is that at the top of any PHP page I 
put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4 
Content-type: text/html "

Any help / ideas?
Thanks! This is going alright for my first time ever install ... :)
Peter


~~
http://liga1.com: building multiple language/culture websites


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck

Hi,
thanks for the tips.

first check to see if you actually have those DLLs in your 
 computer.  use Start | Find Files
or whatever you want to use.

php_pdf.dll (the first error - the other errors seem to have stopped all by 
themselves) is actually in the /extensions/ subdir of php. (Php is 
installed in the cgi bin of Apache, I'm working on win NT 4)

  if they're there already, they're just not in your path.  do whatever 
 needs to be done on
your computer to put them in the path (there are different ways to 
 handle this if you're on
Win95/98, WinNT, Win2000 and probably WinME.  i'm only familiar with 
 the Win95/98
(edit autoexec.bat), WinNT (i forget exactly, but i can find it if 
 i've got it in front of me).  no idea
where you do that in Win2000 and ME though.

what web server are you using?  are you trying to do this in apache?  if 
yes, you need to edit
httpd.conf to tell it about php.  that's easy, just search for the string 
"php" in httpd.conf and
uncomment the relevant lines.  it's pretty obvious (one line is 
Load-Module, the other is
Add-Type).

ok, did that, uncommented these 2 lines in the apache config file:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I already had added these before:
ScriptAlias /php4/ "F:/Program Files/Apache group/Apache/cgi-bin/PHP/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3

I restarted apache after doing this but I still get the "X-Powered-By: 
PHP/4.0.4 Content-type: text/html" on every php page.
Any ideas?
Peter
~~
http://liga1.com: building multiple language/culture websites


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4 - solved!

2001-04-13 Thread Peter Van Dijck

I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to 
the windows/winnt/system32 directory (it was just a hunch) and behold, it 
worked brilliantly!!

Thanks!

Now I just have to figure out how to:
1- get mysql to work
2- get virtual domains to worl
Peter






hello, i'm not an expert on apache/php for windows, so i won't go on the
list so as not to pollute it with possibly wrogn answers.  the following are
generic troubleshooting things, not specific to your question.

caveat emptor :).

On Fri, 13 Apr 2001, you wrote:
  "Unable to load dynamic library 'php_pdf.dll' - The specified module could
  "The dynamic link library isqlt09a.dll could not be found in the 
 specified path
  
 
f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;."
  "Unable to load dynamic library
  'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The
  specified module could not be found."

first check to see if you actually have those DLLs in your 
 computer.  use Start | Find Files
or whatever you want to use.

if they're not there, you'll need to find them somewhere on the 
 web.  or, if you don't need them,
find an apache/php installer that doesn't require them.  sorry, can't 
 help you there.  i work in
Unix, i always build my own apache and php with all modules they 
 need.  the only time i
installed on Windows, it worked like a charm since the module i was 
 installing from already
had everything it needed.

if they're there already, they're just not in your path.  do whatever 
 needs to be done on
your computer to put them in the path (there are different ways to 
 handle this if you're on
Win95/98, WinNT, Win2000 and probably WinME.  i'm only familiar with 
 the Win95/98
(edit autoexec.bat), WinNT (i forget exactly, but i can find it if 
 i've got it in front of me).  no idea
where you do that in Win2000 and ME though.

 Another weird thing is that at the top of any PHP page I
  put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4
  Content-type: text/html "

what web server are you using?  are you trying to do this in apache?  if 
yes, you need to edit
httpd.conf to tell it about php.  that's easy, just search for the string 
"php" in httpd.conf and
uncomment the relevant lines.  it's pretty obvious (one line is 
Load-Module, the other is
Add-Type).

if no, then you'll need to find a way to tell the web server about 
PHP.  either that, or you can
(somehow) configure PHP to execute with -q, i.e., in "quiet" mode.  that 
stops it from printing
those two lines.  but then you'll have to make sure on your own that the 
Content-type is set
correctly in your web browser.

feel free to quote any of this on the list if you think it might help 
someone else help you.

good luck.

tiger


--
Gerald Timothy Quimpo  [EMAIL PROTECTED]  http://members.xoom.com/TigerQuimpo

   entia non sunt multiplicanda veritas liberabit vos
   praetere necessitatemmene sakhet ur-seveh

~~
http://liga1.com: building multiple language/culture websites


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Fabian Raygosa

As far as mysql on windows goes i think you can just use the DOS command
line to type mysql
as wellas use their MySqlManager.exe. But if you are used to unix stick with
the DOS command line and make sure you are in the mysql/bin directory and it
should be the same interface

- Original Message -
From: "Peter Van Dijck" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 10:23 AM
Subject: [PHP] install question:php and mysql on win NT 4


 Hi,
 I installed php4 and apache on Win NT, it all works.

 Except that I get this error:
 open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in

 So it can't save those session variables. Do I need to change permissions?
 Or set up a folder? If so where / how?

 Also: I can't seem to get mysql working. I can install it, but I'm used to
 using it on *nix. How can I open a command line and start building
databases?

 Thanks for any answers / hints / ideas / links!
 Peter
 ~~
 http://liga1.com: building multiple language/culture websites


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Phil Driscoll

Except that I get this error:
open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in

Looks like your session.save_path is set incorrectly - set it to a sensible
windows path (eg C:\php\session or similar)

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck

more probs:

I shut down my machine and restarted, now apache won't run properly.
Typing localhost gives server error: The server encountered an internal 
error or misconfiguration and was unable to complete your request.

There is nothing in the server error logs.
...
I don't know where to start ... help?
Peter
~~
http://liga1.com: building multiple language/culture websites


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Fabian Raygosa

Apache on NT is a service, check on control panel/services to see if it is
running,
beyond that i would need more details ...

- Original Message -
From: "Peter Van Dijck" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 11:46 AM
Subject: Re: [PHP] install question:php and mysql on win NT 4


 more probs:

 I shut down my machine and restarted, now apache won't run properly.
 Typing localhost gives server error: The server encountered an internal
 error or misconfiguration and was unable to complete your request.

 There is nothing in the server error logs.
 ...
 I don't know where to start ... help?
 Peter
 ~~
 http://liga1.com: building multiple language/culture websites


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install LONG_MAX

2001-04-11 Thread Yasuo Ohgaki

Do you install Linux kernel source? and have correct symlink for kernel headers?
Sounds like it's the cause to me.

Regards,
--
Yasuo Ohgaki


""Plamen Slavov"" [EMAIL PROTECTED] wrote in message
002a01c0c276$32b005e0$98d209c0@plamensl2">news:002a01c0c276$32b005e0$98d209c0@plamensl2...
 Hi all,
 i try to install e php-4.0.4pl1 on a redhat 6.0 with apache_1.3.19,
 but when i try to make php i get the following error message:

  make[1]: Entering directory `/home/plamen/www/php-4.0.4pl1/Zend'
 /bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12  -g -O2 -c zend_hash.c
 zend_hash.c: In function `zend_hash_add_or_update':
 zend_hash.c:257: `LONG_MAX' undeclared (first use in this function)
 zend_hash.c:257: (Each undeclared identifier is reported only once
 zend_hash.c:257: for each function it appears in.)
 zend_hash.c: In function `zend_hash_del_key_or_index':
 zend_hash.c:502: `LONG_MAX' undeclared (first use in this function)
 zend_hash.c: In function `zend_hash_find':
 zend_hash.c:852: `LONG_MAX' undeclared (first use in this function)
 zend_hash.c: In function `zend_hash_exists':
 zend_hash.c:902: `LONG_MAX' undeclared (first use in this function)
 make[1]: *** [zend_hash.lo] Error 1
 make[1]: Leaving directory `/home/plamen/www/php-4.0.4pl1/Zend'
 make: *** [all-recursive] Error 1

 Does someone have any ideas how to fix this?
 i do not know where the problem is


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Install

2001-03-31 Thread Yasuo Ohgaki

There is a section for that in the PHP Manual

http://jp.php.net/manual/en/migration4.php

I suggest you to read www.zend.com documents also.

Regards,

--
Yasuo Ohgaki


""Chris"" [EMAIL PROTECTED] wrote in message
00ce01c0b942$4cc0d5a0$01c8c8c8@ibcserver">news:00ce01c0b942$4cc0d5a0$01c8c8c8@ibcserver...
Hi,
I am trying to find some info on upgrading from php3 to php4.
I can't seem to find any docs about upgrading, just installing. Is this the same
thing?
Do I have to re-compile apache just to go from php3 to php4?

Thanks,
Chris.






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] install-problem

2001-03-28 Thread David Robley

On Thu, 29 Mar 2001 01:16, [EMAIL PROTECTED] wrote:

  Hello People,

 I want to install the version php-4.0.4pl1 on to a RS/6000 with
 AIX4.3.3. IBM HTTP Server 1.3.12.0
 When I use the configure-script with several parameters I get the
 outpout you can see in the attachment.


 (See attached file: configure_command.txt)


 Thanks for help

 Markus Mattes

This mailing list does not allow attachments. You'll need to repost just 
the relevant section[s] of your configure output as part of your message.

-- 
David Robley| WEBMASTER  Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] install

2001-03-14 Thread Jon Haworth

It's truly amazing what you can find three clicks away from the main page
of www.php.net.

http://www.php.net/manual/en/installation.php

HTH
Jon


-Original Message-
From: hananet [mailto:[EMAIL PROTECTED]]
Sent: 14 March 2001 12:53
To: [EMAIL PROTECTED]
Subject: [PHP] install


how to install php on windows 98 or iis 5.0


**
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**


**
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'

**

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]