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



[PHP] install PHP 5.4 by RPM

2012-09-24 Thread lx
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 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




[PHP] Install library

2010-09-15 Thread Jordan Jovanov

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

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



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] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Nilesh Govindarajan

Any replies I send to PHP-INSTALL list, I get the follow response:
Any ideas why this is happening ?

 Original Message 
Subject:Re: [PHP-INSTALL] installation problem with php and Apache
[Incident:100331-000506]
Date:   Wed, 31 Mar 2010 06:48:44 -0400 (EDT)
From:   Abuse Department postab...@mailca.custhelp.com
Reply-To:   Abuse Department postab...@mailca.custhelp.com
To: li...@itech7.com



* Response*

** This is an automated reply to your message to Email Abuse.
**

Your message has been delivered to our email abuse department. This
department handles complaints from users that are receiving unwanted
email. We try our best to investigate all reports of abuse. If we
determine that the email you reported was in fact sent from an email
address at one of our domains, or by way of computers operated by us, we
will take the appropriate action.

If you did not include the original message headers along with your
message, please do so by replying to this message, leaving the subject
line intact (which contains our tracking identification), and including
all email headers. Email headers show specific details regarding the
source provider, path, originating program, and destination of the
message which is not shown within the TO: and FROM: address fields of
the email.

Unfortunately, spammers use a variety of techniques to mask an email's
actual point of origin, such as by forging information to make it appear
as though the email originated from a domain that is well recognized
across the Internet. Accordingly, the information in the header is very
helpful in assisting us in our investigation.

We regret any inconvenience this may have caused and appreciate you
bringing this matter to our attention.

Regards,

The Email Abuse Department


* Discussion Thread*
* Customer (Nilesh Govindarajan)*   03/31/2010 06:48 AM
On 03/31/2010 01:41 PM, Henryk Cichy wrote:
  Dear Sir,
 
  I would like to start programming using PHP,Apatche and MySql but I
  couldn't start PHP.
  I installed Apache v.2.2.15 ( directory c:\apatche2.2). It works.
  I installed PHP 5.2.13 for Windows to directory c:/php and add :
 
  PHPIniDir = c:/php/
  LoadModule php5_module c:/php/php5apache2_2.dll
  AddType application/x-httpd-php .php
 
  to httpd.conf.After this change, the service of Apatche couldn't start.
  I get error: service specific error code nr 1.
 
  According to install.txt , I should use php.ini-production ( or
  php.ini-development) for php.ini .
  Unfortunatelly, there are only php.ini-recommended and
  php.ini-dist files (maybe you should change install.txt file). I
  copied php.ini-recommended to php.ini file and add line:
  doc_root = c:/apatche2.2/htdocs
 
  I also added path c:\php to windows enviromnent path and copied
  php.ini and copied this file and php5ts.dll to Windows\System32
  catalog.
  This all I can do.
  I use Windows XP Services Pack 2 or 3 (2 computers).
 
  Henryk.

I think you need to put the PHPIniDir directive after the LoadModule
one. Try it out.

--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
   !
?? : ??  !


--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

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



Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Tommy Pham
On Wed, Mar 31, 2010 at 3:50 AM, Nilesh Govindarajan li...@itech7.com wrote:
 Any replies I send to PHP-INSTALL list, I get the follow response:
 Any ideas why this is happening ?

  Original Message 
 Subject:        Re: [PHP-INSTALL] installation problem with php and Apache
 [Incident:100331-000506]
 Date:   Wed, 31 Mar 2010 06:48:44 -0400 (EDT)
 From:   Abuse Department postab...@mailca.custhelp.com
 Reply-To:       Abuse Department postab...@mailca.custhelp.com
 To:     li...@itech7.com



 * Response*

 ** This is an automated reply to your message to Email Abuse.
 **

 Your message has been delivered to our email abuse department. This
 department handles complaints from users that are receiving unwanted
 email. We try our best to investigate all reports of abuse. If we
 determine that the email you reported was in fact sent from an email
 address at one of our domains, or by way of computers operated by us, we
 will take the appropriate action.

 If you did not include the original message headers along with your
 message, please do so by replying to this message, leaving the subject
 line intact (which contains our tracking identification), and including
 all email headers. Email headers show specific details regarding the
 source provider, path, originating program, and destination of the
 message which is not shown within the TO: and FROM: address fields of
 the email.

 Unfortunately, spammers use a variety of techniques to mask an email's
 actual point of origin, such as by forging information to make it appear
 as though the email originated from a domain that is well recognized
 across the Internet. Accordingly, the information in the header is very
 helpful in assisting us in our investigation.

 We regret any inconvenience this may have caused and appreciate you
 bringing this matter to our attention.

 Regards,

 The Email Abuse Department


 * Discussion Thread*
 * Customer (Nilesh Govindarajan)*       03/31/2010 06:48 AM
 On 03/31/2010 01:41 PM, Henryk Cichy wrote:
   Dear Sir,
  
   I would like to start programming using PHP,Apatche and MySql but I
   couldn't start PHP.
   I installed Apache v.2.2.15 ( directory c:\apatche2.2). It works.
   I installed PHP 5.2.13 for Windows to directory c:/php and add :
  
   PHPIniDir = c:/php/
   LoadModule php5_module c:/php/php5apache2_2.dll
   AddType application/x-httpd-php .php
  
   to httpd.conf.After this change, the service of Apatche couldn't start.
   I get error: service specific error code nr 1.
  
   According to install.txt , I should use php.ini-production ( or
   php.ini-development) for php.ini .
   Unfortunatelly, there are only php.ini-recommended and
   php.ini-dist files (maybe you should change install.txt file). I
   copied php.ini-recommended to php.ini file and add line:
   doc_root = c:/apatche2.2/htdocs
  
   I also added path c:\php to windows enviromnent path and copied
   php.ini and copied this file and php5ts.dll to Windows\System32
   catalog.
   This all I can do.
   I use Windows XP Services Pack 2 or 3 (2 computers).
  
   Henryk.

 I think you need to put the PHPIniDir directive after the LoadModule
 one. Try it out.

 --
 Nilesh Govindarajan
 Site  Server Administrator
 www.itech7.com
    !
 ?? : ??  !


 --
 Nilesh Govindarajan
 Site  Server Administrator
 www.itech7.com
 मेरा भारत महान !
 मम भारत: महत्तम भवतु !


Don't know about the install list but since you've problems on Windows
platform, try the windows list.  As for Apache error upon service
start, look at the Apache log ;)

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



Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Daniel Brown
On Wed, Mar 31, 2010 at 06:50, Nilesh Govindarajan li...@itech7.com wrote:
 Any replies I send to PHP-INSTALL list, I get the follow response:
 Any ideas why this is happening ?

  Original Message 
 Subject:        Re: [PHP-INSTALL] installation problem with php and Apache
 [Incident:100331-000506]
 Date:   Wed, 31 Mar 2010 06:48:44 -0400 (EDT)
 From:   Abuse Department postab...@mailca.custhelp.com
 Reply-To:       Abuse Department postab...@mailca.custhelp.com
 To:     li...@itech7.com

This happens when someone is too lazy to unsubscribe.  They
forward messages to an abuse address instead.  It's happened a few
times over the years, and it's a severe pain in the butt for
legitimate subscribers.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Looking for hosting or dedicated servers?  Ask me how we can fit your budget!

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



Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Nilesh Govindarajan

On 03/31/10 19:14, Tommy Pham wrote:

On Wed, Mar 31, 2010 at 3:50 AM, Nilesh Govindarajanli...@itech7.com  wrote:

Any replies I send to PHP-INSTALL list, I get the follow response:
Any ideas why this is happening ?

 Original Message 
Subject:Re: [PHP-INSTALL] installation problem with php and Apache
[Incident:100331-000506]
Date:   Wed, 31 Mar 2010 06:48:44 -0400 (EDT)
From:   Abuse Departmentpostab...@mailca.custhelp.com
Reply-To:   Abuse Departmentpostab...@mailca.custhelp.com
To: li...@itech7.com



* Response*

** This is an automated reply to your message to Email Abuse.
**

Your message has been delivered to our email abuse department. This
department handles complaints from users that are receiving unwanted
email. We try our best to investigate all reports of abuse. If we
determine that the email you reported was in fact sent from an email
address at one of our domains, or by way of computers operated by us, we
will take the appropriate action.

If you did not include the original message headers along with your
message, please do so by replying to this message, leaving the subject
line intact (which contains our tracking identification), and including
all email headers. Email headers show specific details regarding the
source provider, path, originating program, and destination of the
message which is not shown within the TO: and FROM: address fields of
the email.

Unfortunately, spammers use a variety of techniques to mask an email's
actual point of origin, such as by forging information to make it appear
as though the email originated from a domain that is well recognized
across the Internet. Accordingly, the information in the header is very
helpful in assisting us in our investigation.

We regret any inconvenience this may have caused and appreciate you
bringing this matter to our attention.

Regards,

The Email Abuse Department


* Discussion Thread*
* Customer (Nilesh Govindarajan)*   03/31/2010 06:48 AM
On 03/31/2010 01:41 PM, Henryk Cichy wrote:
Dear Sir,
  
I would like to start programming using PHP,Apatche and MySql but I
couldn't start PHP.
I installed Apache v.2.2.15 ( directory c:\apatche2.2). It works.
I installed PHP 5.2.13 for Windows to directory c:/php and add :
  
PHPIniDir = c:/php/
LoadModule php5_module c:/php/php5apache2_2.dll
AddType application/x-httpd-php .php
  
to httpd.conf.After this change, the service of Apatche couldn't start.
I get error: service specific error code nr 1.
  
According to install.txt , I should use php.ini-production ( or
php.ini-development) for php.ini .
Unfortunatelly, there are only php.ini-recommended and
php.ini-dist files (maybe you should change install.txt file). I
copied php.ini-recommended to php.ini file and add line:
doc_root = c:/apatche2.2/htdocs
  
I also added path c:\php to windows enviromnent path and copied
php.ini and copied this file and php5ts.dll to Windows\System32
catalog.
This all I can do.
I use Windows XP Services Pack 2 or 3 (2 computers).
  
Henryk.

I think you need to put the PHPIniDir directive after the LoadModule
one. Try it out.

--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
   !
?? : ??  !


--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !



Don't know about the install list but since you've problems on Windows
platform, try the windows list.  As for Apache error upon service
start, look at the Apache log ;)


No I don't have any problems. I was replying to one's problem.

--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

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



Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Nilesh Govindarajan

On 03/31/10 21:43, Daniel Brown wrote:

On Wed, Mar 31, 2010 at 06:50, Nilesh Govindarajanli...@itech7.com  wrote:

Any replies I send to PHP-INSTALL list, I get the follow response:
Any ideas why this is happening ?

 Original Message 
Subject:Re: [PHP-INSTALL] installation problem with php and Apache
[Incident:100331-000506]
Date:   Wed, 31 Mar 2010 06:48:44 -0400 (EDT)
From:   Abuse Departmentpostab...@mailca.custhelp.com
Reply-To:   Abuse Departmentpostab...@mailca.custhelp.com
To: li...@itech7.com


 This happens when someone is too lazy to unsubscribe.  They
forward messages to an abuse address instead.  It's happened a few
times over the years, and it's a severe pain in the butt for
legitimate subscribers.



Damn those idiots.

--
Nilesh Govindarajan
Site  Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

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



Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Tommy Pham
On Wed, Mar 31, 2010 at 10:24 AM, Nilesh Govindarajan li...@itech7.com wrote:
 No I don't have any problems. I was replying to one's problem.


My mistake :)

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



[PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
Hiya,

I know this isn't the best place to ask, but I figured enough people
here would have at some point installed PHP on some Linux variant, and
I'm hoping that some of you may have even done it on Fedora 11.

I'm using the built in gui package manager in Fedora (kpackagekit) to
install php, mysql and php-mysql. I let it resolve the dependencies and
install, but phpMyAdmin refuses to connect to the Mysql database with
the default username and password (root, no password) even though I can
successfully connect to plain old Mysql over the command line with
mysql -u root -p

I thought it was some problem with the built in repositories, so I
attempted to build PHP from source, and after sorting out the
dependencies manually, I got PHP installed and working from the command
line. However, when I try to start httpd up again, it gives me the
following error:

libphp5.so: undefined symbol: OnUpdateLong

I ran a nm command against the libphp5.so file, and the first line is 
U OnUpdateLong (intentional spaces there)

Has anyone come across either of these problems and do you know of a way
to overcome either one? All I need really is a way to get it working, so
don't mind whether it's via the GUI or the command line!

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




Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Israel Ekpo
On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

 Hiya,

 I know this isn't the best place to ask, but I figured enough people
 here would have at some point installed PHP on some Linux variant, and
 I'm hoping that some of you may have even done it on Fedora 11.

 I'm using the built in gui package manager in Fedora (kpackagekit) to
 install php, mysql and php-mysql. I let it resolve the dependencies and
 install, but phpMyAdmin refuses to connect to the Mysql database with
 the default username and password (root, no password) even though I can
 successfully connect to plain old Mysql over the command line with
 mysql -u root -p

 I thought it was some problem with the built in repositories, so I
 attempted to build PHP from source, and after sorting out the
 dependencies manually, I got PHP installed and working from the command
 line. However, when I try to start httpd up again, it gives me the
 following error:

 libphp5.so: undefined symbol: OnUpdateLong

 I ran a nm command against the libphp5.so file, and the first line is 
 U OnUpdateLong (intentional spaces there)

 Has anyone come across either of these problems and do you know of a way
 to overcome either one? All I need really is a way to get it working, so
 don't mind whether it's via the GUI or the command line!

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




Hi Ashey,

What version of PHP did you compile?

What were your ./configure options?

It looks like the php source is using OnUpdateLong but the source file
containing OnUpdateLong is not included or linked properly.

I have ran into this kind of problem before.
-- 
Good Enough is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.


Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote:

 
 
 
 On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan
 a...@ashleysheridan.co.uk wrote:
 
 Hiya,
 
 I know this isn't the best place to ask, but I figured enough
 people
 here would have at some point installed PHP on some Linux
 variant, and
 I'm hoping that some of you may have even done it on Fedora
 11.
 
 I'm using the built in gui package manager in Fedora
 (kpackagekit) to
 install php, mysql and php-mysql. I let it resolve the
 dependencies and
 install, but phpMyAdmin refuses to connect to the Mysql
 database with
 the default username and password (root, no password) even
 though I can
 successfully connect to plain old Mysql over the command line
 with
 mysql -u root -p
 
 I thought it was some problem with the built in repositories,
 so I
 attempted to build PHP from source, and after sorting out the
 dependencies manually, I got PHP installed and working from
 the command
 line. However, when I try to start httpd up again, it gives me
 the
 following error:
 
 libphp5.so: undefined symbol: OnUpdateLong
 
 I ran a nm command against the libphp5.so file, and the first
 line is 
 U OnUpdateLong (intentional spaces there)
 
 Has anyone come across either of these problems and do you
 know of a way
 to overcome either one? All I need really is a way to get it
 working, so
 don't mind whether it's via the GUI or the command line!
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 
 
 
 
 Hi Ashey,
 
 What version of PHP did you compile?
 
 What were your ./configure options?
 
 It looks like the php source is using OnUpdateLong but the source file
 containing OnUpdateLong is not included or linked properly.
 
 I have ran into this kind of problem before.
 -- 
 Good Enough is not good enough.
 To give anything less than your best is to sacrifice the gift.
 Quality First. Measure Twice. Cut Once.


I've actually got some steps closer to figuring out the problem. It
seems that the connection between PHP and MySQL was fine, it just
refused a connection as root. If I create another user it connects via
phpMyAdmin just fine.

The thing now is figuring out either how to get it to connect as root
(it currently keeps refusing root) or create another user with all the
privileges of root so I can connect with that. As of yet I haven't been
able to figure out either!
 

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




Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Israel Ekpo
What about the error

libphp5.so: undefined symbol: OnUpdateLong

Are you still observing that error?

On Fri, Oct 23, 2009 at 1:23 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

  On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote:



  On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan 
 a...@ashleysheridan.co.uk wrote:

 Hiya,

 I know this isn't the best place to ask, but I figured enough people
 here would have at some point installed PHP on some Linux variant, and
 I'm hoping that some of you may have even done it on Fedora 11.

 I'm using the built in gui package manager in Fedora (kpackagekit) to
 install php, mysql and php-mysql. I let it resolve the dependencies and
 install, but phpMyAdmin refuses to connect to the Mysql database with
 the default username and password (root, no password) even though I can
 successfully connect to plain old Mysql over the command line with
 mysql -u root -p

 I thought it was some problem with the built in repositories, so I
 attempted to build PHP from source, and after sorting out the
 dependencies manually, I got PHP installed and working from the command
 line. However, when I try to start httpd up again, it gives me the
 following error:

 libphp5.so: undefined symbol: OnUpdateLong

 I ran a nm command against the libphp5.so file, and the first line is 
 U OnUpdateLong (intentional spaces there)

 Has anyone come across either of these problems and do you know of a way
 to overcome either one? All I need really is a way to get it working, so
 don't mind whether it's via the GUI or the command line!

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




 Hi Ashey,

 What version of PHP did you compile?

 What were your ./configure options?

 It looks like the php source is using OnUpdateLong but the source file
 containing OnUpdateLong is not included or linked properly.

 I have ran into this kind of problem before.
 --
 Good Enough is not good enough.
 To give anything less than your best is to sacrifice the gift.
 Quality First. Measure Twice. Cut Once.


 I've actually got some steps closer to figuring out the problem. It seems
 that the connection between PHP and MySQL was fine, it just refused a
 connection as root. If I create another user it connects via phpMyAdmin just
 fine.

 The thing now is figuring out either how to get it to connect as root (it
 currently keeps refusing root) or create another user with all the
 privileges of root so I can connect with that. As of yet I haven't been able
 to figure out either!


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





-- 
Good Enough is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.


Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:29 -0400, Israel Ekpo wrote:

 What about the error
 
 libphp5.so: undefined symbol: OnUpdateLong
 
 Are you still observing that error?
 
 On Fri, Oct 23, 2009 at 1:23 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:
 
   On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote:
 
 
 
   On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan 
  a...@ashleysheridan.co.uk wrote:
 
  Hiya,
 
  I know this isn't the best place to ask, but I figured enough people
  here would have at some point installed PHP on some Linux variant, and
  I'm hoping that some of you may have even done it on Fedora 11.
 
  I'm using the built in gui package manager in Fedora (kpackagekit) to
  install php, mysql and php-mysql. I let it resolve the dependencies and
  install, but phpMyAdmin refuses to connect to the Mysql database with
  the default username and password (root, no password) even though I can
  successfully connect to plain old Mysql over the command line with
  mysql -u root -p
 
  I thought it was some problem with the built in repositories, so I
  attempted to build PHP from source, and after sorting out the
  dependencies manually, I got PHP installed and working from the command
  line. However, when I try to start httpd up again, it gives me the
  following error:
 
  libphp5.so: undefined symbol: OnUpdateLong
 
  I ran a nm command against the libphp5.so file, and the first line is 
  U OnUpdateLong (intentional spaces there)
 
  Has anyone come across either of these problems and do you know of a way
  to overcome either one? All I need really is a way to get it working, so
  don't mind whether it's via the GUI or the command line!
 
  Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
  Hi Ashey,
 
  What version of PHP did you compile?
 
  What were your ./configure options?
 
  It looks like the php source is using OnUpdateLong but the source file
  containing OnUpdateLong is not included or linked properly.
 
  I have ran into this kind of problem before.
  --
  Good Enough is not good enough.
  To give anything less than your best is to sacrifice the gift.
  Quality First. Measure Twice. Cut Once.
 
 
  I've actually got some steps closer to figuring out the problem. It seems
  that the connection between PHP and MySQL was fine, it just refused a
  connection as root. If I create another user it connects via phpMyAdmin just
  fine.
 
  The thing now is figuring out either how to get it to connect as root (it
  currently keeps refusing root) or create another user with all the
  privileges of root so I can connect with that. As of yet I haven't been able
  to figure out either!
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 


Well, I'm not compiling from the source now, I went back to trying to
use the Fedora repositories (which was the only reason I ended up trying
to compile from source in the first place)

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




Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Kim Madsen

Ashley Sheridan wrote on 2009-10-23 19:29:

On Fri, 2009-10-23 at 13:29 -0400, Israel Ekpo wrote:


What about the error

libphp5.so: undefined symbol: OnUpdateLong

Are you still observing that error?


[removed a bunch of old posting]
Ashley, you quotefucker :-)


Well, I'm not compiling from the source now, I went back to trying to
use the Fedora repositories (which was the only reason I ended up trying
to compile from source in the first place)


If I'm not mistaken php had to be compiled with --with-apxs to use 
modules in Apache, did you do that?


Regarding the PHPmyAdmin, did you try to give the root user a password? 
Maybe it's a security feature in PHPmyAdmin. I don't know, havent been 
using that system since 1999 due to the terrrible handling of  and 
null values, which caused severe trouble in an ISP i worked for before 
we figured out what was going on + i LOVE the tab completion in the 
MySQL commandline tool


--
Kind regards
Kim Emax - masterminds.dk

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



[PHP] Install PHPMyAdmin with urpmi

2009-08-31 Thread Ricky Tompu Breaky
Dear my friends,

I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva
2009.1.

I have defined in the file of
'/var/www/phpmyadmin/libraries/config.default.php' this things:

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'mypassword';
.

I've done:

grant all on *.* to root identified by 'mypassword';
.

But I still can not login to MySQL from the PHPMyAdmin with root
account.

If I try login with MySQL-Query-Browser with 'root' and 'mypassword',
Im logged-in very properly.

What is my mistake actually?

Does PHPMyAdmin need to make session on the Apache2? Is it related to
session and what I should define in '/etc/php.ini'?

Please tell me my mistake.

Thank you very much in advance.

-- 
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-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



RE: [PHP] Re: Adding extension to an existing PHP install

2009-01-12 Thread Tim Donnelly
I seem to recall reading something about Apache modules that you can do
a configure, then make, but not the make install and just move the newly
compiled module by hand.

Is that possible with PHP? If so, where would the newly complied
extension be, and where would it need to be moved?

Thanks

I always just do a phpinfo on the box I'm upgrading, grab the
.configure 
line and re-use it adding in or changing what I need; that way it's
sure 
to be the same?




 Hello list,
 
  
 
 I have a PHP (5.2.1) installation on an openSUSE 10.1 server.  PHP was
 initially compiled from source and I have the original config.nice
file,
 so I know what options were used.  l need to add an extension to this
 running installation, specifically I need to add LDAP support.
 
  
 
 How is the best way to do this?  I know I can recompile and reinstall,
 but I am worried that some extensions may have been added after the
 initial install and my new installation would overwrite those.  
 
  




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



Re: [PHP] Re: Adding extension to an existing PHP install

2009-01-12 Thread Shawn McKenzie
Tim Donnelly wrote:
 I seem to recall reading something about Apache modules that you can do
 a configure, then make, but not the make install and just move the newly
 compiled module by hand.
 
 Is that possible with PHP? If so, where would the newly complied
 extension be, and where would it need to be moved?
 
 Thanks
 
 I always just do a phpinfo on the box I'm upgrading, grab the
 .configure 
 line and re-use it adding in or changing what I need; that way it's
 sure 
 to be the same?
 
 
 
 
 Hello list,

  

 I have a PHP (5.2.1) installation on an openSUSE 10.1 server.  PHP was
 initially compiled from source and I have the original config.nice
 file,
 so I know what options were used.  l need to add an extension to this
 running installation, specifically I need to add LDAP support.

  

 How is the best way to do this?  I know I can recompile and reinstall,
 but I am worried that some extensions may have been added after the
 initial install and my new installation would overwrite those.  

  
 
 
 
The binary should be in the dir where you ran make (I think) and you
should put it in the dir specified in your php.ini for extensions.


-- 
Thanks!
-Shawn
http://www.spidean.com

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



[PHP] Adding extension to an existing PHP install

2009-01-09 Thread Tim Donnelly
Hello list,

 

I have a PHP (5.2.1) installation on an openSUSE 10.1 server.  PHP was
initially compiled from source and I have the original config.nice file,
so I know what options were used.  l need to add an extension to this
running installation, specifically I need to add LDAP support.

 

How is the best way to do this?  I know I can recompile and reinstall,
but I am worried that some extensions may have been added after the
initial install and my new installation would overwrite those.  

 

I've looked at PECL and PEAR.  Using PEAR I added the AUTH package, but
that didn't seem to fix anything, I think that is more for developing an
LDAP enabled app, rather than allowing an existing one to utilize LDAP
functionality.  PECL didn't seem to have anything LDAP related, unless I
missed it.

 

Thank you

 



[PHP] Re: Adding extension to an existing PHP install

2009-01-09 Thread Nathan Rixham

Tim Donnelly wrote:

Hello list,

 


I have a PHP (5.2.1) installation on an openSUSE 10.1 server.  PHP was
initially compiled from source and I have the original config.nice file,
so I know what options were used.  l need to add an extension to this
running installation, specifically I need to add LDAP support.

 


How is the best way to do this?  I know I can recompile and reinstall,
but I am worried that some extensions may have been added after the
initial install and my new installation would overwrite those.  

 


I've looked at PECL and PEAR.  Using PEAR I added the AUTH package, but
that didn't seem to fix anything, I think that is more for developing an
LDAP enabled app, rather than allowing an existing one to utilize LDAP
functionality.  PECL didn't seem to have anything LDAP related, unless I
missed it.

 


Thank you

 





I always just do a phpinfo on the box I'm upgrading, grab the .configure 
line and re-use it adding in or changing what I need; that way it's sure 
to be the same?


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



[PHP] PHP Install Issue

2009-01-08 Thread Gary
I am jumping into php, using David Powers Essential Guide as my guide.  I 
have installed apache 2.2.11, and in testing in a bowser, It Works!
However when I go to test the php, (http://localhost/test.php), file not 
found.

On the install of php (5.2.8), I recieved an error message.

Error Trying Access httpd.conf You will need to manually configure Web 
Server

 I then went to httpd.conf, and added the following text.


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir C:\\Program Files\\PHP\\
LoadModule php5_module C:\\Program Files\\PHP\\php5apache2_2.dll
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Then in the MIME TYPES I added

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

Still no work...I have tried unistalling the php, restarts, all the typcial 
fixes..

I am running XP

Any guidance someone may offer would be greatly appriciated

Gary 



-- 
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



[PHP] Install problem

2008-09-17 Thread Illó Gábor
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

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 \
--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


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] install pecl in debian

2008-04-11 Thread hce
Hi,

I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.

I've installed php5 in debian, but got following problems:

1. I could not find a proper debian package for pecl, search pecl found:

dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions
php-pear - PEAR - PHP Extension and Application Repository
php4-imagick - ImageMagick module for php4
php5-imagick - ImageMagick module for php5

Could anyone who have installed php in debian advise which pecl
package I should install in debian? I need to install the pecl using
for memcache, lighttpd and mysql.

2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no
php binary fond in /usr/bin.

$ dpkg -l php5
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  php5   5.2.0-8+etch10 server-side, HTML-embedded scripting languag

Which php package I have been missing for php command?

Thank you.

Kind Regards,

Jim

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



[PHP] RES: [PHP-INSTALL] ftp_put cannot upload a file.

2008-04-10 Thread Thiago Pojda
Tina,
 
Is there any error message in php logs?
 
Can you reproduce manually what you're trying to do with PHP? I mean,
connect and put that file.
 
Enable E_ALL in PHP and try again.
 
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL
issues.
 
 
Regards,
Atenciosamente,


 http://www.softpartech.com.br/ www.softpartech.com.br


Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros


  _  

De: Tina [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 10 de abril de 2008 14:33
Para: [EMAIL PROTECTED]
Assunto: [PHP-INSTALL] ftp_put cannot upload a file.


Dear Sir/Madam
 
I have the following code section and it returns else statement.  A firefox
web browser 1.0.1 is used on a suse linux 2.6.11.4-20a-smp.  php 5 and
apache 2. 
 
---
$uploadfile = ftp_put($ftpconnect, $destinationfile, $sourcefile,
FTP_BINARY);
if ( $uploadfile ) {
echo Uploaded file = $sourcefile to server name = $servername as file =
$destinationfile.;
} else {
echo Upload is failed to upload file = $sourcefile to server name =
$servername.;
}
---
 
Would you let me know what causes this problem?
 
 
Ms (Tina) Thieu Van Hung



  _  

Yahoo! for Good helps you make
http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/
evt=51947/*http://uk.promotions.yahoo.com/forgood/ a difference



[PHP] Re: RES: [PHP-INSTALL] ftp_put cannot upload a file.

2008-04-10 Thread Shawn McKenzie

Thiago Pojda wrote:

Tina,
 
Is there any error message in php logs?
 
Can you reproduce manually what you're trying to do with PHP? I mean,

connect and put that file.
 
Enable E_ALL in PHP and try again.
 
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL

issues.
 
 
Regards,

Atenciosamente,


 http://www.softpartech.com.br/ www.softpartech.com.br


Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
Excelência em Softwares Financeiros


  _  

De: Tina [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 10 de abril de 2008 14:33

Para: [EMAIL PROTECTED]
Assunto: [PHP-INSTALL] ftp_put cannot upload a file.


Dear Sir/Madam
 
I have the following code section and it returns else statement.  A firefox

web browser 1.0.1 is used on a suse linux 2.6.11.4-20a-smp.  php 5 and
apache 2. 
 
---

$uploadfile = ftp_put($ftpconnect, $destinationfile, $sourcefile,
FTP_BINARY);
if ( $uploadfile ) {
echo Uploaded file = $sourcefile to server name = $servername as file =
$destinationfile.;
} else {
echo Upload is failed to upload file = $sourcefile to server name =
$servername.;
}
---
 
Would you let me know what causes this problem?
 
 
Ms (Tina) Thieu Van Hung




  _  


Yahoo! for Good helps you make
http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/
evt=51947/*http://uk.promotions.yahoo.com/forgood/ a difference


There could be any number of things wrong, so follow the advice to turn 
on error reporting.  Most likely:


1. Your connection is not valid
2. You didn't login ftp_login() or it failed
3. The local file can't be found
4. The remote dir can't be found or the connected user doesn't have 
permission to write to it
5. If going through a firewall or for other reasons, you most likely 
need ftp_pasv()


-Shawn

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



[PHP] RES: [PHP-INSTALL] Can't enable use_trans_sid

2008-04-08 Thread Thiago Pojda
De: Keith Roberts [mailto:[EMAIL PROTECTED] 

 Another question:

 Is there a way to make php use these fields [hidden sessid] instead of
cookies for 
 session control? I still want to let cookies enabled for other stuff, 
 but as it's messing up with multiple sessions because of poor cookie 
 handling.


As the browser cookies use a different mechanism for storing 
and retrieving cookies independently of PHP, I cannot see how 
browser cookies can be clashing with your PHP session_id cookies.

The problem I run into sometimes is:
A user opens a IE instance and logs in. The same user, on the same PC, opens
a new instance (not from Open in new window... but from iexplore.exe) and
logs in again.
Then he has two independent sessions until the data from both sessions get
mixed up, showing data from one session in another. I can't think of any
other problem but erroneous session_ids being sent.

 If you use a pre-built PHP application that also uses PHP 
 session_id's, then that can cause a problem with your own 
 website if that also wants to use PHP session_id cookies.

This is the only PHP app running, there are two more that sometimes run but
they're JSPs.

I guess the obvious way would for PHP session_id's to allow 
multiple session_id_name(s), so each PHP application can choose 
it's own session_id to be know by. This would also imply that 
PHP has the capability to pass those multiple session_id's 
between the respective PHP applications that are running side 
by side on the same website. Maybe this is in the pipeline for 
a future release of PHP, or has it already been implemented?

Not sure what you mean, but I already can use two sessions for a while.
Perhaps I'm not getting through the language barrier, but I did not
understand you. :/

Thanks!



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



[PHP] RES: [PHP-INSTALL] Can't enable use_trans_sid

2008-04-07 Thread Thiago Pojda
{sorry for top-posting, but outlook can't do better}

I executed cat /usr/local/lib/php.ini | grep -i session and found out that
there was already one entry for that conf option by default, and it was set
to 0.

It fixed it, sorry I was that dumb.

Just saw the source and it is adding the phpsessid hidden input field, now
have to find out why my app does not let me login :)


Another question:

Is there a way to make php use these fields instead of cookies for
session control? I still want to let cookies enabled for other stuff, but as
it's messing up with multiple sessions because of poor cookie handling.


Thanks!!

-Mensagem original-
De: Keith Roberts [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 7 de abril de 2008 17:38
Para: [EMAIL PROTECTED]
Assunto: Re: [PHP-INSTALL] Can't enable use_trans_sid

On Mon, 7 Apr 2008, Thiago Pojda wrote:

 To: [EMAIL PROTECTED]
 From: Thiago Pojda [EMAIL PROTECTED]
 Subject: [PHP-INSTALL] Can't enable use_trans_sid
 
 Guys,

 I can't enable trans_sid, I've tried set these to php.ini :

 session.use_trans_sid = On [tried 1 also] url_rewriter.tags = 
 a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=

 Tried recompile it with --enable-trans-sid but still doesn't work. I 
 just realized that my phpinfo spits session.use_trans_sid Off.

 Any hints?

 -- VERSIONS --

 PHP Version 4.4.8


 SystemLinux debian 2.6.18-6-486 #1 Sun Feb 10 
22:06:33 UTC 2008 i686
 Build DateApr 7 2008 10:46:06
 Configure Command './configure' '--with-apxs2=/usr/bin/apxs2'
 '--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts'
 Server APIApache 2.0 Handler
 Virtual Directory Support enabled
 Configuration File (php.ini) Path /usr/local/lib/php.ini

Are you sure you are editing the correct php.ini file Thiago?

Can you also post the section from your php.ini that has all 
the session.* directives in it?

It maybe that there are other session.* configuration options 
that need to be set as well to enable you to use PHP sessions.

Kind Regards,

Keith Roberts

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with TMDA 
[http://tmda.net]
-




-- 
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



[PHP] RES: [PHP-INSTALL] Re: [PHP] Thread Safety

2008-02-19 Thread Thiago Pojda
 

-Mensagem original-
quote.
De: Daniel Brown [mailto:[EMAIL PROTECTED] 
Assunto: [PHP-INSTALL] Re: [PHP] Thread Safety

On Feb 19, 2008 1:21 PM, Thiago Pojda [EMAIL PROTECTED]
wrote:
 I was expecting that. I just compiled it to enable oci8 module and the 
 source is ready for modifications. :)

 Isn't there any argument you pass to ./configure to disable Thread 
 Safety? I didn't find any and neither google or php-install list answer
anything.

Don't quote me on this, and I'll defer to someone that may know better
than I in this case, but I believe that you can pass
'--enable-thread-safety' to ./configure to enable it (default), so I'd
imagine '--disable-thread-safety' would be the flag to send.

You may want to try subscribing to the php-install list (go to
http://php.net/mailing-lists.php).  I'm CC'ing your email to that list in
hopes that someone there can better help you.
/quote

./configure --disable-thread-safety did not do the trick, neither did
--with-tsrm-pthreads=no.

I've tried php-install mailing list and no1 answered.

Going trougth configure script, there are some places with thread_safe
arguments, but messing around didn't help me much.

Perhaps something to do with apxs2?

This is the default configure I need to run, where I'm trying to add no TS
commands:

./configure --with-oci8-instant-client=/oracle/instantclient
--with-apxs2=/usr/bin/apxs2




ORIGINAL MESSAGE

Not quite sure if this is the right list, but here I am...

I'm trying to use zend platform and it requires the Thread Safety option set
to off.

I just compiled php and I can't find what argument to build php that way,
what am I missing?

PHP 4.4.8


--
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

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



[PHP] Install syck on PHP4

2007-12-12 Thread GoWtHaM NaRiSiPaLli
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.

Thanks
GTM


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] Find PHP install directory

2007-10-16 Thread Philip Thompson
Hi. Is it possible to dynamically find where PHP is installed on a Win 2k3
machine running IIS? I am setting up a configuration page and I want to show
where the install is - not change, just show. I have looked at phpinfo and
$_SERVER information, but none of the information seems to jump straight out
and tell me. I've Google'd and searched the PHP site, but to no avail.
Suggestions?

Thanks,
~Philip


Re: [PHP] Find PHP install directory

2007-10-16 Thread Philip Thompson
On 10/16/07, Andrew Peterson [EMAIL PROTECTED] wrote:

 Hi Phill,

 Try using http://us2.php.net/ini_get_all or http://us2.php.net/ini_get

 On 10/16/07, Philip Thompson [EMAIL PROTECTED] wrote:
 
  Hi. Is it possible to dynamically find where PHP is installed on a Win
  2k3
  machine running IIS? I am setting up a configuration page and I want to
  show
  where the install is - not change, just show. I have looked at phpinfo
  and
  $_SERVER information, but none of the information seems to jump straight
  out
  and tell me. I've Google'd and searched the PHP site, but to no avail.
  Suggestions?
 
  Thanks,
  ~Philip



Using these functions would only be useful if the installation directory
were listed in the ini settings (phpinfo). Unfortunately, the installation
directory is not listed there... well not on mine anyway. =/  Any other
thoughts?

~Philip


[PHP] Install InnovaStudio as a joomla Mambot

2007-09-23 Thread abderrazzak nejeoui
Please can some body help me to install InnovaStudio WUSISWYG as a Joomla
Mambot !

Thanks

Nejeoui


[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



[PHP] php install problem

2007-08-02 Thread David McDivitt
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

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



[PHP] Install question

2007-06-15 Thread Paul K
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



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



[PHP] PHp Install problems on debian linux

2007-04-11 Thread Don Don
Hi all am having issues with a little problem regarding php5 installation on a 
debian linux machine.
   
  while trying to install php5 and supported modules I get the following error 
messages, what can i do to get rid of them and continue with the installation ?
   
  The following packages have unmet dependencies:
  libapache2-mod-php5: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to 
be installed
   Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be 
installed
  php5-cli: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed
Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be installed
  php5-curl: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
 Depends: libcurl3 (= 7.13.1-1) but it is not installable
 Depends: libidn11 (= 0.5.13) but it is not installable
  php5-dev: Depends: autoconf but it is not installable
Depends: automake1.4 but it is not installable
Depends: libssl-dev but it is not installable
Depends: libtool but it is not installable
Depends: shtool but it is not installable
  php5-gd: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed
   Depends: libgd2-xpm (= 2.0.33) but 2.0.28-3 is to be installed
   Depends: libpng12-0 (= 1.2.8rel) but 1.2.5.0-7 is to be installed
  php5-imap: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
  php5-ldap: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
  php5-mhash: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
  Depends: libmhash2 but it is not going to be installed
  php5-mysql: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
  php5-odbc: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
installed
 Depends: unixodbc but it is not installable
  php5-xsl: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be installed
Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be installed
Depends: libxslt1.1 (= 1.1.12) but 1.1.8-5 is to be installed
E: Broken packages

   

   
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Re: [PHP] PHp Install problems on debian linux

2007-04-11 Thread Robert Cummings
Despite the fact this question involves installing PHP5, it's actually a
question about installing Debian packages. Maybe you should look into
package managers for Debian. Personally I use dselect, and it usually
auto selects any dependencies not already installed. PHP though, I
install from source.

Cheers,
Rob.


On Wed, 2007-04-11 at 08:08 -0700, Don Don wrote:
 Hi all am having issues with a little problem regarding php5 installation on 
 a debian linux machine.

   while trying to install php5 and supported modules I get the following 
 error messages, what can i do to get rid of them and continue with the 
 installation ?

   The following packages have unmet dependencies:
   libapache2-mod-php5: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is 
 to be installed
Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be 
 installed
   php5-cli: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
 Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be installed
   php5-curl: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
  Depends: libcurl3 (= 7.13.1-1) but it is not installable
  Depends: libidn11 (= 0.5.13) but it is not installable
   php5-dev: Depends: autoconf but it is not installable
 Depends: automake1.4 but it is not installable
 Depends: libssl-dev but it is not installable
 Depends: libtool but it is not installable
 Depends: shtool but it is not installable
   php5-gd: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
Depends: libgd2-xpm (= 2.0.33) but 2.0.28-3 is to be installed
Depends: libpng12-0 (= 1.2.8rel) but 1.2.5.0-7 is to be installed
   php5-imap: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
   php5-ldap: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
   php5-mhash: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
   Depends: libmhash2 but it is not going to be installed
   php5-mysql: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
   php5-odbc: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
  Depends: unixodbc but it is not installable
   php5-xsl: Depends: libc6 (= 2.3.2.ds1-21) but 2.3.2.ds1-18 is to be 
 installed
 Depends: libxml2 (= 2.6.16) but 2.6.11-5 is to be installed
 Depends: libxslt1.1 (= 1.1.12) but 1.1.8-5 is to be installed
 E: Broken packages
 

 

 -
 Never miss an email again!
 Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



[PHP] Install PECL

2007-04-04 Thread Bagus Nugroho
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?
Or it was PECL install is different with PEAR install
 
Thanks in advance
bn


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



[PHP] install php 5.2.1 with checkinstall

2007-03-18 Thread Tiron Adrian
Hello,
 

I have php 5.1.6 ,the latest available with yum and i wanted to upgrade to 5.2.1

I have downloade 5.2.1 run ./configure,make and the checkinstall. When i wanted 
to install the newly created rpm i got the following errors:
 

# rpm -ivh php-5.2.1-1.i386.rpm 

Preparing...### [100%]

file /etc/pear.conf from install of php-5.2.1-1 conflicts with file 
from package php-pear-1.4.9-4

file /usr/share/pear/.channels/pear.php.net.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4

file /usr/share/pear/.depdb from install of php-5.2.1-1 conflicts with 
file from package php-pear-1.4.9-4

file /usr/share/pear/.registry/archive_tar.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4

file /usr/share/pear/.registry/console_getopt.reg from install of
php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4

file /usr/share/pear/.registry/pear.reg from install of php-5.2.1-1 
conflicts with file from package php-pear-1.4.9-4

file /usr/bin/php from install of php-5.2.1-1 conflicts with file from 
package php-cli-5.1.6-3.4.fc6

file /usr/share/man/man1/php.1.gz from install of php-5.2.1-1 conflicts 
with file from package php-cli-5.1.6-3.4.fc6
 
 

Is it safe to use the --force option?

just in case this is the output of rpm -qa | grep php on my machine(i thought 
it would be useful)
 

rpm -qa | grep php

php-5.1.6-3.4.fc6

php-pear-Date-1.4.7-1.fc6

php-cli-5.1.6-3.4.fc6

php-mbstring-5.1.6-3.4.fc6

php-pear-DB-1.7.6-7.fc6

php-common-5.1.6-3.4.fc6

php-pear-1.4.9-4

php-mysql-5.1.6-3.4.fc6

php-pear-DB-DataObject-1.8.5-2.fc6

php-pear-Validate-0.7.0-1.fc6

php-pear-MDB2-2.4.0-1.fc6

php-pdo-5.1.6-3.4.fc6
 

So as you can see php,php-cli,php-mbstring and php-mysql are the same version : 
5.1.6

If i install JUST php 5.2.1 wouldn't that break the dependencies with the other 
packages?
 

Thanks.



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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



[PHP] install problems

2007-03-18 Thread jekillen

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

I saved the ./configure options in a file and had
configure read from it. All seemed to go ok,
no errors, bailouts. I can send that file if anyone
thinks it may have the answer.

The problem showed up when I tried to start apache and
it would not start because it could not find libphp5.so

OS: Freebsd 6.2
(I know there is the ports system, I have install all of this 
successfully on
 two other machines doing just untar, configure, make, make install. I 
had

 reasons for not dealing with ports)
Any clues?
Thanks in advance
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



[PHP] Install / update php rpm packages with FC6

2007-02-20 Thread edwardspl

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



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



[PHP] Install GD2 Library - $ Reward

2006-04-25 Thread Aleksander Davidsen
Hi,

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

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

Please send me an E-Mail at [EMAIL PROTECTED] asap.

Thanks in advance,
Aleksander Davidsen

-- 
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



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

2006-02-03 Thread Mark Galbreath
This is a no-brainer, really.  From a security standpoint alone, PHP 5 is 
superior, but through in the OOP and there's no question.  There are books 
written on the subject - do an amazon search.  And don't forget eric's advice.
 
mark

 Paul Novitski [EMAIL PROTECTED] 02-Feb-06 19:36 PM 

At 04:09 PM 2/2/2006, Tim Burgan wrote:
I'm wondering if you can outline, or direct me to a resource that 
explicitly notes the benefits of php5 over php4.


They've got everything you need at php.net:*

Appendix B. Migrating from PHP 4 to PHP 5
http://php.net/manual/en/migration5.php


* to paraphrase Arlo Guthrie 




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



[PHP] PHP Install problem

2005-11-14 Thread russbucket
Trying to get apache2, php5 and mysql running. get the following error when 
opening phpMyAdmin. Can someone explain what it means. There is an include 
path in php.ini.


-- 
Russ

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



Re: [PHP] PHP Install problem

2005-11-14 Thread Curt Zirzow
On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote:
 Trying to get apache2, php5 and mysql running. get the following error when 
 opening phpMyAdmin. Can someone explain what it means. There is an include 
 path in php.ini.

I think you forgot to include the error message.

curt.
-- 

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



Re: [PHP] PHP Install problem

2005-11-14 Thread russbucket
On Monday 14 November 2005 10:47, Curt Zirzow wrote:
 On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote:
  Trying to get apache2, php5 and mysql running. get the following error
  when opening phpMyAdmin. Can someone explain what it means. There is an
  include path in php.ini.

 I think you forgot to include the error message.

 curt.
 --
Your right, hand got ahead of my brain,  Heres the messages when using 
http/localhost/phpMyAdmin/ 

phpMyAdmin - Error
 phpMyAdmin was unable to read your configuration file!
This might happen if PHP finds a parse error in it or PHP cannot find the 
file.
Please call the configuration file directly using the link below and read the 
PHP error message(s) that you receive. In most cases a quote or a semicolon 
is missing somewhere.
If you receive a blank page, everything is fine.

 config.inc.php

Clicking on the config.inc.php gives following error.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 
0
 
 Warning: Unknown: Failed opening '/srv/www/htdocs/phpMyAdmin/config.inc.php' 
for inclusion (include_path='.:') in Unknown on line 0

I've checked and rechecked the configurations files, they look correct.

Thanks for responding even with my goof.

-- 
Russ

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



Re: [PHP] PHP Install problem

2005-11-14 Thread Ben

russbucket said the following on 11/14/2005 11:15 AM:


Clicking on the config.inc.php gives following error.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 
0
 
 Warning: Unknown: Failed opening '/srv/www/htdocs/phpMyAdmin/config.inc.php' 
for inclusion (include_path='.:') in Unknown on line 0


I've checked and rechecked the configurations files, they look correct.



Sounds like your web server's user does not have permission to read the 
file.


chmod 444 /srv/www/htdocs/phpMyAdmin/config.inc.php

will set your permissions (assuming your on *nix) to r--r--r-- which 
will give your web server's user (and ever other user account on the 
machine - which may not be what you want) permission to read the file.


- Ben

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



Re: [PHP] PHP Install problem

2005-11-14 Thread Richard Lynch
On Mon, November 14, 2005 1:15 pm, russbucket wrote:
 On Monday 14 November 2005 10:47, Curt Zirzow wrote:
 On Mon, Nov 14, 2005 at 10:06:17AM -0800, russbucket wrote:
  Trying to get apache2, php5 and mysql running. get the following
 error
  when opening phpMyAdmin. Can someone explain what it means. There
 is an
  include path in php.ini.

 I think you forgot to include the error message.

 curt.
 --
 Your right, hand got ahead of my brain,  Heres the messages when using
 http/localhost/phpMyAdmin/

 phpMyAdmin - Error
  phpMyAdmin was unable to read your configuration file!
 This might happen if PHP finds a parse error in it or PHP cannot find
 the
 file.
 Please call the configuration file directly using the link below and
 read the
 PHP error message(s) that you receive. In most cases a quote or a
 semicolon
 is missing somewhere.
 If you receive a blank page, everything is fine.

  config.inc.php

 Clicking on the config.inc.php gives following error.
 Warning: Unknown: failed to open stream: Permission denied in Unknown
 on line
 0

  Warning: Unknown: Failed opening
 '/srv/www/htdocs/phpMyAdmin/config.inc.php'
 for inclusion (include_path='.:') in Unknown on line 0

 I've checked and rechecked the configurations files, they look
 correct.

The file contents are fine (maybe) but PHP can't even *READ* the file
because it's set up as un-readable by the PHP user.

You need to find out the permissions on the file (config.inc.php)

In a shell prompt on the server you can do:
ls -als config.inc.php
The output will have something not unlike:
 7 -rw-rw-r--  1 russbucket  nwi_group ... config.inc.php

But I'll bet a dollar *YOUR* file doesn't have the last 'r' letter 
there, and just has '-' instead:
-rw-rw

You need to change that:
chmod 554 config.inc.php

WARNING:
On a shared server, this is exposing your database password to
everybody else on that shared server.  You may not have any other
option, however.

To mitigate this risk, you may want to do several things, after you
get phpMyAdmin working.

1. Move the file out of your web tree, so *ONLY* users on the shared
server could possibly read it, not the whole friggin' world.

2. Move it to a directory that denies listings by other users, so they
can't stumble across it. (This may make it unreadable by PHP, though,
depending on things I've never fully understood, so then don't do
that...)

More involved methods of keeping the password accessible to PHP and
not everybody else with a login can be found here:
http://phpsec.org

-- 
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] install issue (affects 4.4.0 and 5.0.5) [/usr/include/rpc/rpc_msg.h, /usr/include/rpc/rpc.h, /usr/include/crypt.h, standard/crypt.c

2005-10-21 Thread Mark Nernberg
Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 1.3.33

When attempting to install 4.4.0 and 5.0.5, from ports or from source, I am
getting the following error: (This specific error is from 4.4.0 from ports
[/usr/ports/lang/php4]

/bin/sh /usr/ports/lang/php4/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile cc  -Iext/standard/
-I/usr/ports/lang/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC
-I/usr/ports/lang/php4/work/php-4.4.0/include
-I/usr/ports/lang/php4/work/php-4.4.0/main
-I/usr/ports/lang/php4/work/php-4.4.0
-I/usr/ports/lang/php4/work/php-4.4.0/TSRM
-I/usr/ports/lang/php4/work/php-4.4.0/Zend-O -pipe   -c
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c -o
ext/standard/crypt.lo
In file included from /usr/include/rpc/rpc.h:59,
 from /usr/include/crypt.h:9,
 from
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c:31:
/usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.0.
*** Error code 1

Stop in /usr/ports/lang/php4.

Any ideas would  be helpful.  If anyone requires more information, just ask
 I will provide.

--
m

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



[PHP] install issue (affects 4.4.0 and 5.0.5) [/usr/include/rpc/rpc_msg.h, /usr/include/rpc/rpc.h, /usr/include/crypt.h, standard/crypt.c

2005-10-20 Thread Administrator
Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 1.3.33

When attempting to install 4.4.0 and 5.0.5, from ports or from source, I am
getting the following error: (This specific error is from 4.4.0 from ports
[/usr/ports/lang/php4]

/bin/sh /usr/ports/lang/php4/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile cc  -Iext/standard/
-I/usr/ports/lang/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC
-I/usr/ports/lang/php4/work/php-4.4.0/include
-I/usr/ports/lang/php4/work/php-4.4.0/main
-I/usr/ports/lang/php4/work/php-4.4.0
-I/usr/ports/lang/php4/work/php-4.4.0/TSRM
-I/usr/ports/lang/php4/work/php-4.4.0/Zend-O -pipe   -c
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c -o
ext/standard/crypt.lo
In file included from /usr/include/rpc/rpc.h:59,
 from /usr/include/crypt.h:9,
 from
/usr/ports/lang/php4/work/php-4.4.0/ext/standard/crypt.c:31:
/usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.0.
*** Error code 1

Stop in /usr/ports/lang/php4.

Any ideas would  be helpful.  If anyone requires more information, just ask
 I will provide.

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



[PHP] Yaz and PHP 5.0.3 (x-posted to php-install)

2005-10-01 Thread Mark A. O'Neil
To be brief I would like to know if Indexdata's PHP/YAZ is compatible  
with PHP 5.0.3 and if so what steps may be taken taken to build it.


The configure file that comes with PHP 5.0 contains no mention of yaz  
so  how does one build PHP (and the php_yaz.so) short of adding the  
configure information from the 4.4 configure file and munging until  
it builds?


I have already built the yaz 2.0 libs and bins and can use the yaz- 
client so it is a matter of building the PHP extension at this point.


I would like not to have to go back to 4.4 for this functionality.

Thank you,
-m 


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



[PHP] Problems with new PHP install

2005-09-29 Thread Chris Boget
Since I was having so much difficulty getting PHP (with libxml2) 
installed on RH9, I decided to take the advice given by several
people and use Fedora Core 4 instead, which I get installed w/o 
difficulty.  So next is Apache/PHP and I download Apache version

2.0.54 and PHP version 5.0.5.  Following the instructions on the
PHP site (http://www.php.net/manual/en/install.unix.apache2.php)
exactly, I'm able to get both configured and installed w/o difficulty.
I first test Apache by going to localhost to see if the server is running.
It is.  Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.

The problem I'm getting is when I access the page, it's showing me
the actual php code and not the parsed result.  I looked in the 
modules directory to see if the libphp5.so file is there and it is.  I

did notice something odd, though.  In the httpd.conf file there are
a large number of LoadModule lines for modules that are not in
the modules directory.  Could that be causing my problem?

In any case, if someone could give me some pointers are to where
I should concentrate my attentions in order to resolve this problem,
I would be very appreciative!

thnx,
Chris

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



RE: [PHP] Problems with new PHP install

2005-09-29 Thread Jay Blanchard
[snip]
Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.
[/snip]

Did you restart the Apache server after making the changes to httpd.conf ? I
know it is basic, I just have to ask.

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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread Chris Boget

[snip]
Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.
[/snip]
Did you restart the Apache server after making the changes to httpd.conf ? 
I

know it is basic, I just have to ask.


Fair enough. :)
Yes, I did.  Step 8 (on the included link) of the PHP installation has you 
start
Apache and then stop it again.  It was during this step that I tested to 
make

sure Apache was working by just going to http://localhost.  Then step 16 has
you start Apache again.  The only slightly different thing I did that wasn't 
part

of the installation was my configure of php.  It looked like this:

./configure \
--enable-force-cgi-redirect \
--without-pear \
--enable-magic-quotes \
--enable-bcmath \
--enable-calendar \
--with-mysql=/usr/local/mysql \
--enable-ftp \
--enable-mailparse \
--with-mcrypt \
--enable-trans-sid \
--disable-short-tags \
--with-zlib-dir=/usr/lib \
--enable-wddx \
--with-xml \
--with-dom=/usr \
--with-xslt-sablot \
--with-expat-dir=/usr \
--with-dom-xslt=/usr \
--with-sablot-js=/usr \
--enable-xslt \
--with-apxs2=/usr/local/apache2/bin/apxs

And that configured with no error (at least, as far as I could tell).  My 
test

script looks like this:

script language=php
 echo PHP Works!!;
/script
br
? echo PHP Works??;

And that is exactly what is getting output by the browser.  The br isn't 
even

getting interpreted as a break...?

thnx,
Chris



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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread John Nichel

Chris Boget wrote:
Since I was having so much difficulty getting PHP (with libxml2) 
installed on RH9, I decided to take the advice given by several
people and use Fedora Core 4 instead, which I get installed w/o 
difficulty.  So next is Apache/PHP and I download Apache version

2.0.54 and PHP version 5.0.5.  Following the instructions on the
PHP site (http://www.php.net/manual/en/install.unix.apache2.php)
exactly, I'm able to get both configured and installed w/o difficulty.
I first test Apache by going to localhost to see if the server is running.
It is.  Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.

The problem I'm getting is when I access the page, it's showing me
the actual php code and not the parsed result.  I looked in the modules 
directory to see if the libphp5.so file is there and it is.  I

did notice something odd, though.  In the httpd.conf file there are
a large number of LoadModule lines for modules that are not in
the modules directory.  Could that be causing my problem?

In any case, if someone could give me some pointers are to where
I should concentrate my attentions in order to resolve this problem,
I would be very appreciative!


Is there a line like this in your httpd.conf...?

AddType application/x-httpd-php .php

(Don't forget to restart Apache ;)

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread John Nichel

Chris Boget wrote:
snip

My test
script looks like this:

script language=php
 echo PHP Works!!;
/script
br
? echo PHP Works??;

And that is exactly what is getting output by the browser.  The br 
isn't even

getting interpreted as a break...?


Yeah, looks like you need the AddType entry.  Apache doesn't know what 
*.php is, so it's just serving it up as plain text.



--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread Chris Boget
And that is exactly what is getting output by the browser.  The br 
isn't even getting interpreted as a break...?



Is there a line like this in your httpd.conf...?
AddType application/x-httpd-php .php


[snip]

Yeah, looks like you need the AddType entry.  Apache doesn't know what 
*.php is, so it's just serving it up as plain text.


Step 15 of the php installation (as listed in the link in my OP) has you add 
the

following to the httpd.conf:

AddType application/x-httpd-php .php .phtml

I also went ahead and added the following as well

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

The filename of my test script, though, is php_test.php and not 
php_test.phps

so php should be parsing it..

thnx,
Chris 


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



RE: [PHP] Problems with new PHP install

2005-09-29 Thread Jay Blanchard
[snip]
Step 15 of the php installation (as listed in the link in my OP) has you add

the following to the httpd.conf:

AddType application/x-httpd-php .php .phtml

I also went ahead and added the following as well

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

The filename of my test script, though, is php_test.php and not 
php_test.phps
so php should be parsing it..
[/snip]

Have you enabled a version of php.ini? It is not necessary...just a thought.

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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread Chris Boget
Step 15 of the php installation (as listed in the link in my OP) has you 
add the following to the httpd.conf:


Ok, color me retarded.  Pretty please. :)  It turns out I modified the wrong
httpd.conf file.

duh.

Sorry about that.  Everyone can move along.  Nothing to see here but some
blathering idiot. :p  hehehe

thnx,
Chris 


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



Re: [PHP] Problems with new PHP install

2005-09-29 Thread John Nichel

Chris Boget wrote:
Step 15 of the php installation (as listed in the link in my OP) has 
you add the following to the httpd.conf:



Ok, color me retarded.


That happens when Jay gets involved.  ;)

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

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



RE: [PHP] Problems with new PHP install

2005-09-29 Thread Jay Blanchard
[snip]
duh.
[/snip]

You have now officially obtained a lifetime membership to the club. Your
t-shirt should arrive in the mail soon.

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



[PHP] install-pear.phar errors

2005-09-07 Thread Greg Donald
-- 
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

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



[PHP] PHP Install with MySQL in 64 bit libraries.

2005-08-08 Thread Martin McGinn
I installed MySQL 4.23 using SuSE provided rpms so it loads to /usr/lib64 


How do I configure the php 5.0 configure script so that it finds the mysql 
client in here while finding other objects in the /urs/local/.

Currently the link fails as it does not find the mysql client so files.

Thanks

Martin 

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



Re: [PHP] PHP Install with MySQL in 64 bit libraries.

2005-08-08 Thread Joseph Oaks
Martin,

Make a symlink from /usr/lib64 to /usr/lib and it should work just fine.

Joe

Martin McGinn ([EMAIL PROTECTED]) wrote:

 I installed MySQL 4.23 using SuSE provided rpms so it loads to /usr/lib64
 

 How do I configure the php 5.0 configure script so that it finds the mysql
 client in here while finding other objects in the /urs/local/.

 Currently the link fails as it does not find the mysql client so files.

 Thanks

 Martin

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



-- 
Computers are like air conditioners - they stop working properly when you
open Windows

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



  1   2   3   >