RES: [PHP] Installing PHP

2011-09-21 Thread Mateus Almeida
Thanks for the help, people. Problem solved.


-Mensagem original-
De: Alejandro Michelin Salomon (Hotmail) [mailto:amichel...@hotmail.com] 
Enviada em: quarta-feira, 21 de setembro de 2011 00:07
Para: 'Mateus Almeida'
Cc: php-general@lists.php.net
Assunto: RES: [PHP] Installing PHP

Mateus:

Para configurar o php no apache :
1) Adicionar estas linhas no httpd.conf

Troca D:\PHP\ pelos dados da tua instalação.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir D:\PHP\ 
LoadModule php5_module D:\PHP\php5apache2_2.dll

AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Trocar o directory index do apache
IfModule dir_module
DirectoryIndex index.html index.php adicionar index.php como um arquivo
padrão para ele procurar
/IfModule

Inglish:

Mateus:
To configure php on apache:
1) Add this lines in httpd.conf

Change this D:\PHP\ to yours instalation data.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir D:\PHP\ 
LoadModule php5_module D:\PHP\php5apache2_2.dll

AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Change the directory index on apache
IfModule dir_module
DirectoryIndex index.html index.php == add index.php to be a default
file to search
/IfModule

Alejandro M.S.
PAO/RS
Brasil

-Mensagem original-
De: Mateus Almeida [mailto:supor...@avanutri.com.br] 
Enviada em: segunda-feira, 19 de setembro de 2011 18:32
Para: php-general@lists.php.net
Assunto: [PHP] Installing PHP

Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work. 

Every time I try to run a test I receive the message Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server. OR
(when I try to change some options) Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server.

I've tried to copy the recommended configurations from some sites, but it
haven't worked. 

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.

Thanks in advance.




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



[PHP] Installing PHP

2011-09-20 Thread Mateus Almeida
Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work. 

Every time I try to run a test I receive the message Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server. OR
(when I try to change some options) Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server.

I've tried to copy the recommended configurations from some sites, but it
haven't worked. 

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.

Thanks in advance.



Re: [PHP] Installing PHP

2011-09-20 Thread Bastien


On 2011-09-19, at 5:32 PM, Mateus Almeida supor...@avanutri.com.br wrote:

 Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
 work. 
 
 Every time I try to run a test I receive the message Not Found The
 requested URL /php/php-cgi.exe/test.php was not found on this server. OR
 (when I try to change some options) Forbidden You don't have permission to
 access /php/php-cgi.exe/test.php on this server.
 
 I've tried to copy the recommended configurations from some sites, but it
 haven't worked. 
 
 The machine runs Windows XP, I'm using an administrator account, no firewall
 is blocking me, PHP and Apache are the most recent versions.
 
 Thanks in advance.
 

The files need to go into the htdocs folder of the apache installation. They do 
no go in the php folder at all. 

You can also set the root directory in the httpd.conf file, the apache config, 
to place the root of the webserver elsewhere in your filesystem

Bastien Koert
905-904-0334
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Installing PHP

2011-09-20 Thread Lester Caine

Mateus Almeida wrote:

Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work.

Every time I try to run a test I receive the message Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server. OR
(when I try to change some options) Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server.


Well that just looks totally wrong!
The test.php file should be in your apache site directory and you would never 
use the php directory inside a website setup.



I've tried to copy the recommended configurations from some sites, but it
haven't worked.

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.


Starting point ... what does http://localhost say when put into your browser.

--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



RES: [PHP] Installing PHP

2011-09-20 Thread Mateus Almeida
Yes, I've put the test.php in the htdocs.
The server works with an html file, but it doesn’t work with the php.

-Mensagem original-
De: Bastien [mailto:phps...@gmail.com] 
Enviada em: terça-feira, 20 de setembro de 2011 09:04
Para: Mateus Almeida
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Installing PHP



On 2011-09-19, at 5:32 PM, Mateus Almeida supor...@avanutri.com.br
wrote:

 Hello, I'm newbie and I'm trying to install PHP with Apache, but it
doesn't
 work. 
 
 Every time I try to run a test I receive the message Not Found The
 requested URL /php/php-cgi.exe/test.php was not found on this server. OR
 (when I try to change some options) Forbidden You don't have permission
to
 access /php/php-cgi.exe/test.php on this server.
 
 I've tried to copy the recommended configurations from some sites, but it
 haven't worked. 
 
 The machine runs Windows XP, I'm using an administrator account, no
firewall
 is blocking me, PHP and Apache are the most recent versions.
 
 Thanks in advance.
 

The files need to go into the htdocs folder of the apache installation. They
do no go in the php folder at all. 

You can also set the root directory in the httpd.conf file, the apache
config, to place the root of the webserver elsewhere in your filesystem

Bastien Koert
905-904-0334


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



Re: RES: [PHP] Installing PHP

2011-09-20 Thread Lester Caine

Mateus Almeida wrote:

Yes, I've put the test.php in the htdocs.
The server works with an html file, but it doesn’t work with the php.


Mateus

There are only tow things which need adding to httpd.conf to get PHP working.

LoadModule should point to your php installation
LoadModule php5_module c:/Network/PHP-5_2_6a/php5apache2_2.dll

And file type
AddType application/x-httpd-php .php .php5

I suspect you have an 'Action' line which should be commented out.

--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



Re: RES: [PHP] Installing PHP

2011-09-20 Thread Curtis Maurand



try http://localhost/test.php



Mateus Almeida
wrote:
 Yes, I've put the test.php in the htdocs.
 The server works with an html file, but it doesnrsquo;t work with
the php.
 
 -Mensagem original-
 De:
Bastien [mailto:phps...@gmail.com]
 Enviada em:
terça-feira, 20 de setembro de 2011 09:04
 Para: Mateus
Almeida
 Cc: php-general@lists.php.net
 Assunto:
Re: [PHP] Installing PHP
 
 
 
 On
2011-09-19, at 5:32 PM, Mateus Almeida
supor...@avanutri.com.br
 wrote:
 

Hello, I'm newbie and I'm trying to install PHP with Apache, but it
 doesn't
 work.

 Every time
I try to run a test I receive the message Not Found The
 requested URL /php/php-cgi.exe/test.php was not found on this
server.
 OR
 (when I try to change some
options) Forbidden You don't have permission
 to
 access /php/php-cgi.exe/test.php on this server.

 I've tried to copy the recommended configurations
from some sites, but
 it
 haven't worked.

 The machine runs Windows XP, I'm using an
administrator account, no
 firewall
 is blocking me,
PHP and Apache are the most recent versions.


Thanks in advance.

 
 The files need to go
into the htdocs folder of the apache installation.
 They
 do no go in the php folder at all.
 
 You can
also set the root directory in the httpd.conf file, the apache

config, to place the root of the webserver elsewhere in your filesystem
 
 Bastien Koert
 905-904-0334
 
 
 --
 PHP General Mailing List
(http://www.php.net/)
 To unsubscribe, visit:
http://www.php.net/unsub.php
 



Re: RES: RES: [PHP] Installing PHP

2011-09-20 Thread Curtis Maurand
 [mailto:cur...@maurand.com]
 Enviada em: terça-feira, 20 de setembro de 2011 11:50
 Para: Mateus Almeida
 Cc: 'Bastien';
php-general@lists.php.net
 Assunto: Re: RES: [PHP] Installing
PHP
 
 
 
 
 try
http://localhost/test.php
 
 
 

Mateus Almeida wrote:
 Yes, I've put the test.php
in the htdocs.
 The server works with an html file, but it
doesnrsquo;t work with the php.

 -Mensagem
original-
 De: Bastien [mailto:phps...@gmail.com]
 Enviada em: terça-feira, 20 de setembro de 2011 09:04
 Para: Mateus Almeida
 Cc:
php-general@lists.php.net
 Assunto: Re: [PHP]
Installing PHP



 On
2011-09-19, at 5:32 PM, Mateus Almeida
supor...@avanutri.com.br
 wrote:

 Hello, I'm newbie and I'm trying to install PHP with
Apache, but it
 doesn't
 work.

 Every time I try to run a test I receive
the message Not Found The
 requested URL
/php/php-cgi.exe/test.php was not found on this server.
 OR
 (when I try to change some options)
Forbidden You don't have
 permission

to
 access /php/php-cgi.exe/test.php on this
server.

 I've tried to copy the
recommended configurations from some sites, but
 it
 haven't worked.

 The
machine runs Windows XP, I'm using an administrator account, no
 firewall
 is blocking me, PHP and Apache are
the most recent versions.

 Thanks in
advance.


 The files need to
go into the htdocs folder of the apache installation.

They
 do no go in the php folder at all.

 You can also set the root directory in the httpd.conf file, the
apache
 config, to place the root of the webserver elsewhere
in your filesystem

 Bastien Koert

905-904-0334


 --

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


 



RES: [PHP] Installing PHP

2011-09-20 Thread Alejandro Michelin Salomon (Hotmail)
Mateus:

Para configurar o php no apache :
1) Adicionar estas linhas no httpd.conf

Troca D:\PHP\ pelos dados da tua instalação.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir D:\PHP\ 
LoadModule php5_module D:\PHP\php5apache2_2.dll

AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Trocar o directory index do apache
IfModule dir_module
DirectoryIndex index.html index.php adicionar index.php como um arquivo
padrão para ele procurar
/IfModule

Inglish:

Mateus:
To configure php on apache:
1) Add this lines in httpd.conf

Change this D:\PHP\ to yours instalation data.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir D:\PHP\ 
LoadModule php5_module D:\PHP\php5apache2_2.dll

AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

2 ) Change the directory index on apache
IfModule dir_module
DirectoryIndex index.html index.php == add index.php to be a default
file to search
/IfModule

Alejandro M.S.
PAO/RS
Brasil

-Mensagem original-
De: Mateus Almeida [mailto:supor...@avanutri.com.br] 
Enviada em: segunda-feira, 19 de setembro de 2011 18:32
Para: php-general@lists.php.net
Assunto: [PHP] Installing PHP

Hello, I'm newbie and I'm trying to install PHP with Apache, but it doesn't
work. 

Every time I try to run a test I receive the message Not Found The
requested URL /php/php-cgi.exe/test.php was not found on this server. OR
(when I try to change some options) Forbidden You don't have permission to
access /php/php-cgi.exe/test.php on this server.

I've tried to copy the recommended configurations from some sites, but it
haven't worked. 

The machine runs Windows XP, I'm using an administrator account, no firewall
is blocking me, PHP and Apache are the most recent versions.

Thanks in advance.



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



[PHP] Installing PHP

2011-07-04 Thread Jim Giner
Hi all,
(Hopefully I posted this in a place that can/will help me)

I got curious about running php / apache on my own laptop in order to help
my devl process, instead of writing, uploading and testing on my site.

Found a nice pair of docs from thesitewizard.com that appeared to be
pretty well-written instructions on installing each of these systems.  btw-
I'm running XpSp2.  Chose the Apache 2.0 and PHP 5.2 (thread-safe?) per the
recommendations.

Went thru all instructions step-by-step, testing all the way.  Apache
works - PHP doesn't.  When I bring up IE and type in localhost I get the
default apache page as I was told I should see.  When I type
localhost/test.php I get a windows dialog asking what program should run
the php script.

In debugging I went to a cmd windows and ran c:\php\php-cgi test.php and
got the expected result from my script - so PHP works.

End result - they each work separately, but php is not working under apache.

As part of the docs instructions I added the following code to the apache
conf file:

1 - I chose the configure apache to run php as an apache module.
2 - added LoadModule php5_module c:/php/php5apache2.dll as last one of
those lines
3 - added AddType application/x-httpd-php .php as the last of those lines
4 - added PHPIniDir c:/php as the last line of the conf file.

Upon adding these lines apache will no longer restart.  In fact adding any
ONE of these lines breaks Apache.

Ideas welcome.

And for those who still love the USofA, Happy Independence Day!





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



Re: [PHP] Installing PHP

2011-07-04 Thread Richard Quadling
On 4 July 2011 13:39, Jim Giner jim.gi...@albanyhandball.com wrote:
 Hi all,
 (Hopefully I posted this in a place that can/will help me)

 I got curious about running php / apache on my own laptop in order to help
 my devl process, instead of writing, uploading and testing on my site.

 Found a nice pair of docs from thesitewizard.com that appeared to be
 pretty well-written instructions on installing each of these systems.  btw-
 I'm running XpSp2.  Chose the Apache 2.0 and PHP 5.2 (thread-safe?) per the
 recommendations.

 Went thru all instructions step-by-step, testing all the way.  Apache
 works - PHP doesn't.  When I bring up IE and type in localhost I get the
 default apache page as I was told I should see.  When I type
 localhost/test.php I get a windows dialog asking what program should run
 the php script.

 In debugging I went to a cmd windows and ran c:\php\php-cgi test.php and
 got the expected result from my script - so PHP works.

 End result - they each work separately, but php is not working under apache.

 As part of the docs instructions I added the following code to the apache
 conf file:

 1 - I chose the configure apache to run php as an apache module.
 2 - added LoadModule php5_module c:/php/php5apache2.dll as last one of
 those lines
 3 - added AddType application/x-httpd-php .php as the last of those lines
 4 - added PHPIniDir c:/php as the last line of the conf file.

 Upon adding these lines apache will no longer restart.  In fact adding any
 ONE of these lines breaks Apache.

 Ideas welcome.

Do you have to use Apache? I use Abyss (closed source) or LightTPD
(open source) are both good options. Really tiny and I feel a lot
easier to install. Especially Abyss.

Both would use cgi-fastcgi and be NTS.



-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



RES: [PHP] Installing PHP

2011-07-04 Thread Alejandro Michelin Salomon (Hotmail)
Jim:
In my Windows the install adds the lines :

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

AddHandler application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Where is the apache version that you install?

I have the apache 2.2.17

This  php5apache2.dll  is for the version 2.0.x
And this  php5apache2_2.dll  for the version 2.2.x

Maybe the dll files is in the brong version.

Alejandro M.S.

-Mensagem original-
De: Jim Giner [mailto:jim.gi...@albanyhandball.com] 
Enviada em: segunda-feira, 4 de julho de 2011 09:40
Para: php-general@lists.php.net
Assunto: [PHP] Installing PHP

Hi all,
(Hopefully I posted this in a place that can/will help me)

I got curious about running php / apache on my own laptop in order to help
my devl process, instead of writing, uploading and testing on my site.

Found a nice pair of docs from thesitewizard.com that appeared to be
pretty well-written instructions on installing each of these systems.  btw-
I'm running XpSp2.  Chose the Apache 2.0 and PHP 5.2 (thread-safe?) per the
recommendations.

Went thru all instructions step-by-step, testing all the way.  Apache
works - PHP doesn't.  When I bring up IE and type in localhost I get the
default apache page as I was told I should see.  When I type
localhost/test.php I get a windows dialog asking what program should run
the php script.

In debugging I went to a cmd windows and ran c:\php\php-cgi test.php and
got the expected result from my script - so PHP works.

End result - they each work separately, but php is not working under apache.

As part of the docs instructions I added the following code to the apache
conf file:

1 - I chose the configure apache to run php as an apache module.
2 - added LoadModule php5_module c:/php/php5apache2.dll as last one of
those lines
3 - added AddType application/x-httpd-php .php as the last of those lines
4 - added PHPIniDir c:/php as the last line of the conf file.

Upon adding these lines apache will no longer restart.  In fact adding any
ONE of these lines breaks Apache.

Ideas welcome.

And for those who still love the USofA, Happy Independence Day!





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



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



Re: RES: [PHP] Installing PHP

2011-07-04 Thread Chris Stinemetz
Jim,

What is your server root set up too? I would put the apache configuration
back to the way it was and then place php script with phpinfo() function in
it. Try to run it and see if that works.

HTH,

Chris
On Jul 4, 2011 8:14 AM, Alejandro Michelin Salomon (Hotmail) 
amichel...@hotmail.com wrote:
 Jim:
 In my Windows the install adds the lines :

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

 AddHandler application/x-httpd-php .php
 #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 Where is the apache version that you install?

 I have the apache 2.2.17

 This  php5apache2.dll  is for the version 2.0.x
 And this  php5apache2_2.dll  for the version 2.2.x

 Maybe the dll files is in the brong version.

 Alejandro M.S.

 -Mensagem original-
 De: Jim Giner [mailto:jim.gi...@albanyhandball.com]
 Enviada em: segunda-feira, 4 de julho de 2011 09:40
 Para: php-general@lists.php.net
 Assunto: [PHP] Installing PHP

 Hi all,
 (Hopefully I posted this in a place that can/will help me)

 I got curious about running php / apache on my own laptop in order to help
 my devl process, instead of writing, uploading and testing on my site.

 Found a nice pair of docs from thesitewizard.com that appeared to be
 pretty well-written instructions on installing each of these systems. btw-
 I'm running XpSp2. Chose the Apache 2.0 and PHP 5.2 (thread-safe?) per the
 recommendations.

 Went thru all instructions step-by-step, testing all the way. Apache
 works - PHP doesn't. When I bring up IE and type in localhost I get the
 default apache page as I was told I should see. When I type
 localhost/test.php I get a windows dialog asking what program should run
 the php script.

 In debugging I went to a cmd windows and ran c:\php\php-cgi test.php and
 got the expected result from my script - so PHP works.

 End result - they each work separately, but php is not working under
apache.

 As part of the docs instructions I added the following code to the apache
 conf file:

 1 - I chose the configure apache to run php as an apache module.
 2 - added LoadModule php5_module c:/php/php5apache2.dll as last one of
 those lines
 3 - added AddType application/x-httpd-php .php as the last of those
lines
 4 - added PHPIniDir c:/php as the last line of the conf file.

 Upon adding these lines apache will no longer restart. In fact adding any
 ONE of these lines breaks Apache.

 Ideas welcome.

 And for those who still love the USofA, Happy Independence Day!





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



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



Re: [PHP] Installing PHP

2011-07-04 Thread Chris Stinemetz
On Mon, Jul 4, 2011 at 8:13 AM, Alejandro Michelin Salomon (Hotmail)
amichel...@hotmail.com wrote:
 Jim:
 In my Windows the install adds the lines :

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

 AddHandler application/x-httpd-php .php
 #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 Where is the apache version that you install?

 I have the apache 2.2.17

 This  php5apache2.dll  is for the version 2.0.x
 And this  php5apache2_2.dll  for the version 2.2.x

 Maybe the dll files is in the brong version.

 Alejandro M.S.


Jim,

Alejandro makes a valid point. There is a naming convention change
from apache 2.0. to 2.2 for the dll file. I know in your original post
you specified that you loaded 2.0, but you may want to double check.
Since 2.2 requires php5apache2_2.dll to work correctly.

Just a thought,

Chris

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




Re: [PHP] installing php 5 with pdflib

2009-01-14 Thread Frank Arensmeier

13 jan 2009 kl. 22.38 skrev Merlin Morgenstern:


Hi there,

I am still facing trouble with pdflib and php 5. After hours of  
research I found that I do have to install the pecl package. So I  
decided to compile it into php staticly like described here:

http://www.php-resource.de/handbuch/install.pecl.static.htm

The configure command stops with the error:
configure: error: pdflib.h not found! Check the path passed to -- 
with-pdflib=PATH. PATH should be the install prefix directory.


actually the file is and always was there. Does it have to be a new  
version? I am using pdflib 4.x which workes fine in the running php  
4.x installation.


Thank you for any help,

Merlin

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


Are you talking about pdflib lite or the commercial version? Is there  
any particular reason why you like to compile pdflib directly into  
PHP? pdflib (at least the commercial version) is available as a .so  
extension for PHP. See:


http://www.pdflib.com/download/pdflib-family/pdflib-7/

Maybe you should download the current version (7) and try to compile  
your php again. Version 4 seems pretty outdated.


//frank

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



[PHP] installing php 5 with pdflib

2009-01-13 Thread Merlin Morgenstern

Hi there,

I am still facing trouble with pdflib and php 5. After hours of research 
I found that I do have to install the pecl package. So I decided to 
compile it into php staticly like described here:

http://www.php-resource.de/handbuch/install.pecl.static.htm

The configure command stops with the error:
configure: error: pdflib.h not found! Check the path passed to 
--with-pdflib=PATH. PATH should be the install prefix directory.


actually the file is and always was there. Does it have to be a new 
version? I am using pdflib 4.x which workes fine in the running php 4.x 
installation.


Thank you for any help,

Merlin

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



Re: [PHP] installing php 5 with pdflib

2009-01-13 Thread Bastien Koert
On Tue, Jan 13, 2009 at 4:38 PM, Merlin Morgenstern merli...@fastmail.fmwrote:

 Hi there,

 I am still facing trouble with pdflib and php 5. After hours of research I
 found that I do have to install the pecl package. So I decided to compile it
 into php staticly like described here:
 http://www.php-resource.de/handbuch/install.pecl.static.htm

 The configure command stops with the error:
 configure: error: pdflib.h not found! Check the path passed to
 --with-pdflib=PATH. PATH should be the install prefix directory.

 actually the file is and always was there. Does it have to be a new
 version? I am using pdflib 4.x which workes fine in the running php 4.x
 installation.

 Thank you for any help,

 Merlin

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


try dompdf from www.digitaljunkies.ca...its a class for pdf that I found
pretty simple to implement

-- 

Bastien

Cat, the other other white meat


Re: [PHP] installing php 5 with pdflib

2009-01-13 Thread Ashley Sheridan
On Tue, 2009-01-13 at 16:58 -0500, Bastien Koert wrote:
 On Tue, Jan 13, 2009 at 4:38 PM, Merlin Morgenstern 
 merli...@fastmail.fmwrote:
 
  Hi there,
 
  I am still facing trouble with pdflib and php 5. After hours of research I
  found that I do have to install the pecl package. So I decided to compile it
  into php staticly like described here:
  http://www.php-resource.de/handbuch/install.pecl.static.htm
 
  The configure command stops with the error:
  configure: error: pdflib.h not found! Check the path passed to
  --with-pdflib=PATH. PATH should be the install prefix directory.
 
  actually the file is and always was there. Does it have to be a new
  version? I am using pdflib 4.x which workes fine in the running php 4.x
  installation.
 
  Thank you for any help,
 
  Merlin
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 try dompdf from www.digitaljunkies.ca...its a class for pdf that I found
 pretty simple to implement
 
I use FPDF and it works like a dream!


Ash
www.ashleysheridan.co.uk


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



Re: [PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-17 Thread Gergely Hodicska

Hi!



http://www.phpmac.com/

This project seems dead.


Best Regards,
Felhő

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



Re: [PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-17 Thread Gergely Hodicska

Hi!



Consider using Macports (http://www.macports.org/) to install it. After
installing macports onto your computer, do this in the terminal:

I ma using Macports, but it currently doesn't support PHP 5.3.


// This will give you the available variants (I think)

port info php5

To list package variants:
# port variants php5


Best Regards,
Felhő

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



[PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-15 Thread Hodicska Gergely

Hi!


Can somebody give me some guideline how to install PHP 5.3 to a Mac 
(intel based) with mysqlnd support?


TIA!


Best Regards,
Felhő

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



Re: [PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-15 Thread Philip Thompson
On Nov 15, 2007 10:00 AM, Hodicska Gergely [EMAIL PROTECTED] wrote:

 Hi!


 Can somebody give me some guideline how to install PHP 5.3 to a Mac
 (intel based) with mysqlnd support?

 TIA!


 Best Regards,
 Felhő



Consider using Macports (http://www.macports.org/) to install it. After
installing macports onto your computer, do this in the terminal:

// This will give you the available PHP downloads
 port search php5

// This will give you the available variants (I think)
 port info php5

// For example, to install PHP5 with mysqlnd support, you would do this
(NOTE: this has *not* been tested)
 sudo port install php5 +mysqlnd

Try that. See if it gets you anywhere. If you haven't used Macports
(formally Darwinports) before, do some reading on their website to figure it
out. I think it simplifies the process of building and installing software
on the Mac.

HTH
~Philip


[PHP] installing php 5.2.1

2007-03-29 Thread Jay Jose
Its my first time to install and use php on my computer with IIS 5.1... I used 
the MSI of php 5.2.1 for intallation but every time i run the
?php
phpinfo();
?
i always get the following result:
CGI Error
The specified CGI application misbehaved by not returning a complete set of 
HTTP headers. The headers it did return are:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\PHP\ext\php_exif.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\PHP\ext\php_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\PHP\ext\php_pdo_oci.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\PHP\ext\php_pdo_oci8.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\PHP\ext\php_pspell.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic librar

i installed the php on C:\PHP and the extentions at C:\PHP\ext and set the the 
php.ini
extension_dir = C:\PHP\ext
i also tried the extension_dir = C:\PHP\ext but still same result... can anyone 
show me what i've done wrong or if you can, please guide my in the whole 
process of installing and configuring... thanks
 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: [PHP] installing php 5.2.1

2007-03-29 Thread Juergen Wind

maybe this helps:
http://de.php.net/manual/en/install.windows.php#install.windows.installer.msi
you can extract missing extensions from the php zip distribution.
-- 
View this message in context: 
http://www.nabble.com/installing-php-5.2.1-tf3484942.html#a9729753
Sent from the PHP - General mailing list archive at Nabble.com.

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



Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Brad Bonkoski

I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step 
prior to downloading and activating the php-mysql rpm. I was 
attempting to follow steps based on the link below. the php rpm is 
loaded and activated as I have been able to execute php scripts. When 
I attempt to follow those directions, I get the below errors. Does 
anyone know why I got the below errors or can help me through this 
process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com


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



RE: [PHP] Installing php and mysql on linux

2007-03-12 Thread Jim Moseby
 I am attempting to start the mysql rpm in Red hat as a first 
 step prior to 
 downloading and activating the php-mysql rpm. I was 
 attempting to follow 
 steps based on the link below. the php rpm is loaded and 
 activated as I have 
 been able to execute php scripts. When I attempt to follow 
 those directions, 
 I get the below errors. Does anyone know why I got the below 
 errors or can 
 help me through this process?
 
 Thanks
 
 http://kbase.redhat.com/faq/FAQ_39_3633.shtm
 
 
 [EMAIL PROTECTED] var]# rpm -q mysql-server
 mysql-server-4.1.20-1.FC4.1
 [EMAIL PROTECTED] var]# rpm -q mysql
 mysql-4.1.20-1.FC4.1
 [EMAIL PROTECTED]  var]# up2date mysql
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# up2date mysql-server
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED] var]# ./up2date mysql-server
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]#
 

Unless the up2date binary is in the current directory, leave off the './' at
the beginning.  Type the command exactly as it appears in the directions.

JM

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



Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Jonathan Kahan

http://www.die.net/doc/linux/man/man8/yum.8.html

I checked the above page on 'Yum and see no up2date command as you point 
out. However when I  tried update in the format suggested in the link, it 
still gives a command not found error.




Brad Bonkoski [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step prior 
to downloading and activating the php-mysql rpm. I was attempting to 
follow steps based on the link below. the php rpm is loaded and activated 
as I have been able to execute php scripts. When I attempt to follow 
those directions, I get the below errors. Does anyone know why I got the 
below errors or can help me through this process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com
- Original Message - 
From: Brad Bonkoski [EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re: [PHP] Installing php and mysql on linux



I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step prior 
to downloading and activating the php-mysql rpm. I was attempting to 
follow steps based on the link below. the php rpm is loaded and activated 
as I have been able to execute php scripts. When I attempt to follow 
those directions, I get the below errors. Does anyone know why I got the 
below errors or can help me through this process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com






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



Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Alberto Ferrer

I gonna suggest something very cool: Apache Friends.

http://www.apachefriends.org/en/xampp-linux.html

Its the best option on lamp packs.

Regards.

2007/3/12, Jonathan Kahan [EMAIL PROTECTED]:

http://www.die.net/doc/linux/man/man8/yum.8.html

I checked the above page on 'Yum and see no up2date command as you point
out. However when I  tried update in the format suggested in the link, it
still gives a command not found error.



Brad Bonkoski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I think up2date is *not* up2date ;-)
 Google for 'yum' and all its flags for usage...

 -B

 Jonathan Kahan wrote:
 Hi all,

 I am attempting to start the mysql rpm in Red hat as a first step prior
 to downloading and activating the php-mysql rpm. I was attempting to
 follow steps based on the link below. the php rpm is loaded and activated
 as I have been able to execute php scripts. When I attempt to follow
 those directions, I get the below errors. Does anyone know why I got the
 below errors or can help me through this process?

 Thanks

 http://kbase.redhat.com/faq/FAQ_39_3633.shtm


 [EMAIL PROTECTED] var]# rpm -q mysql-server
 mysql-server-4.1.20-1.FC4.1
 [EMAIL PROTECTED] var]# rpm -q mysql
 mysql-4.1.20-1.FC4.1
 [EMAIL PROTECTED]  var]# up2date mysql
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# up2date mysql-server
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED] var]# ./up2date mysql-server
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]#


 Kind Regards
 Jonathan Kahan

 
 Systems Developer
 Estrin Technologies, inc.
 1375 Broadway, 3rd Floor, New York, NY, 10018
 
 Email: [EMAIL PROTECTED]
 Web: http://www.estrintech.com
- Original Message -
From: Brad Bonkoski [EMAIL PROTECTED]
To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re: [PHP] Installing php and mysql on linux


I think up2date is *not* up2date ;-)
 Google for 'yum' and all its flags for usage...

 -B

 Jonathan Kahan wrote:
 Hi all,

 I am attempting to start the mysql rpm in Red hat as a first step prior
 to downloading and activating the php-mysql rpm. I was attempting to
 follow steps based on the link below. the php rpm is loaded and activated
 as I have been able to execute php scripts. When I attempt to follow
 those directions, I get the below errors. Does anyone know why I got the
 below errors or can help me through this process?

 Thanks

 http://kbase.redhat.com/faq/FAQ_39_3633.shtm


 [EMAIL PROTECTED] var]# rpm -q mysql-server
 mysql-server-4.1.20-1.FC4.1
 [EMAIL PROTECTED] var]# rpm -q mysql
 mysql-4.1.20-1.FC4.1
 [EMAIL PROTECTED]  var]# up2date mysql
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# up2date mysql-server
 bash: up2date: command not found
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED] var]# ./up2date mysql-server
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]# ./up2date mysql
 bash: ./up2date: No such file or directory
 [EMAIL PROTECTED]  var]#


 Kind Regards
 Jonathan Kahan

 
 Systems Developer
 Estrin Technologies, inc.
 1375 Broadway, 3rd Floor, New York, NY, 10018
 
 Email: [EMAIL PROTECTED]
 Web: http://www.estrintech.com




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





--
bet0x - Barrahome
http://www.barrahome.com.ar

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



Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Edward Vermillion
You've either got path problems or up2date is not installed. That's  
what 'command not found' means, it can't find the 'up2date' command.


Do you just want to start the MySQL server? Or are you trying to  
update the MySQL rpm?


You should be able to start the server with a '/etc/init.d/mysql  
start', as root. If that doesn't work try 'mysqld' in place of  
'mysql'. I don't remember which one Fedora uses.


If you're trying to update the rpm then make sure you have up2date  
installed. 'rmp -qa | grep up2date' should get you something. If it  
is installed then try to ad the complete path to up2date, I can't  
remember where it is off the top of my head but '/usr/bin/up2date' or  
'/usr/sbin/up2date' should get it.


I would also suggest you either look online or get a good book on  
linux administration, especially if this system is doing anything  
important. As root you can really mess it up if you don't know what  
you're doing. And you could probably find a good used book fairly  
cheap. You shouldn't need to get the latest and greatest as the basic  
administration stuff has been relatively standard for quite a few  
years now.


Good Luck!

Ed

On Mar 12, 2007, at 3:56 PM, Jonathan Kahan wrote:


http://www.die.net/doc/linux/man/man8/yum.8.html

I checked the above page on 'Yum and see no up2date command as you  
point out. However when I  tried update in the format suggested in  
the link, it still gives a command not found error.




Brad Bonkoski [EMAIL PROTECTED] wrote in message news: 
[EMAIL PROTECTED]

I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step  
prior to downloading and activating the php-mysql rpm. I was  
attempting to follow steps based on the link below. the php rpm  
is loaded and activated as I have been able to execute php  
scripts. When I attempt to follow those directions, I get the  
below errors. Does anyone know why I got the below errors or can  
help me through this process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com
- Original Message - From: Brad Bonkoski  
[EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re: [PHP] Installing php and mysql on linux



I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step  
prior to downloading and activating the php-mysql rpm. I was  
attempting to follow steps based on the link below. the php rpm  
is loaded and activated as I have been able to execute php  
scripts. When I attempt to follow those directions, I get the  
below errors. Does anyone know why I got the below errors or can  
help me through this process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com





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



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



Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Jonathan Kahan
Your point are well taken. I was ale to follow directions from the mysql 
website to start getting mysql to work instead of the linux site which was 
the basis for my original post. Does anyone know where I can go to download 
(aside from the red hat site where i would need to gather license info) a 
php-mysql rpm?
- Original Message - 
From: Edward Vermillion [EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php Lists php-general@lists.php.net
Sent: Monday, March 12, 2007 6:27 PM
Subject: Re: [PHP] Installing php and mysql on linux


You've either got path problems or up2date is not installed. That's  what 
'command not found' means, it can't find the 'up2date' command.


Do you just want to start the MySQL server? Or are you trying to  update 
the MySQL rpm?


You should be able to start the server with a '/etc/init.d/mysql  start', 
as root. If that doesn't work try 'mysqld' in place of  'mysql'. I don't 
remember which one Fedora uses.


If you're trying to update the rpm then make sure you have up2date 
installed. 'rmp -qa | grep up2date' should get you something. If it  is 
installed then try to ad the complete path to up2date, I can't  remember 
where it is off the top of my head but '/usr/bin/up2date' or 
'/usr/sbin/up2date' should get it.


I would also suggest you either look online or get a good book on  linux 
administration, especially if this system is doing anything  important. As 
root you can really mess it up if you don't know what  you're doing. And 
you could probably find a good used book fairly  cheap. You shouldn't need 
to get the latest and greatest as the basic  administration stuff has been 
relatively standard for quite a few  years now.


Good Luck!

Ed

On Mar 12, 2007, at 3:56 PM, Jonathan Kahan wrote:


http://www.die.net/doc/linux/man/man8/yum.8.html

I checked the above page on 'Yum and see no up2date command as you 
point out. However when I  tried update in the format suggested in  the 
link, it still gives a command not found error.




Brad Bonkoski [EMAIL PROTECTED] wrote in message news: 
[EMAIL PROTECTED]

I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step 
prior to downloading and activating the php-mysql rpm. I was 
attempting to follow steps based on the link below. the php rpm  is 
loaded and activated as I have been able to execute php  scripts. When 
I attempt to follow those directions, I get the  below errors. Does 
anyone know why I got the below errors or can  help me through this 
process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan


Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com
- Original Message - From: Brad Bonkoski 
[EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re: [PHP] Installing php and mysql on linux



I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first step 
prior to downloading and activating the php-mysql rpm. I was 
attempting to follow steps based on the link below. the php rpm  is 
loaded and activated as I have been able to execute php  scripts. When 
I attempt to follow those directions, I get the  below errors. Does 
anyone know why I got the below errors or can  help me through this 
process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan

Re: [PHP] Installing php and mysql on linux

2007-03-12 Thread Edward Vermillion

http://rpmfind.net/linux/RPM/

Has all the rpm's for all the distros. How did you get FC4 on the  
computer? The disks should have the base rpm's for all of this, or  
you can download the ISO's from the fedora site. I *think* there's a  
gnome program in there somewhere that's kinda like the Windows Add/ 
Remove Programs thing, but I don't remember the name of it. But it  
used to let you pick something to install and then it would pull all  
the necessary bits off of the disks. 'yum' will do that for you over  
the internet also, I think. You can do a 'man yum' in a terminal and  
get some of the details of how that works, if you have it installed.


Ed


On Mar 12, 2007, at 5:40 PM, Jonathan Kahan wrote:

Your point are well taken. I was ale to follow directions from the  
mysql website to start getting mysql to work instead of the linux  
site which was the basis for my original post. Does anyone know  
where I can go to download (aside from the red hat site where i  
would need to gather license info) a php-mysql rpm?
- Original Message - From: Edward Vermillion  
[EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php Lists php-general@lists.php.net
Sent: Monday, March 12, 2007 6:27 PM
Subject: Re: [PHP] Installing php and mysql on linux


You've either got path problems or up2date is not installed.  
That's  what 'command not found' means, it can't find the  
'up2date' command.


Do you just want to start the MySQL server? Or are you trying to   
update the MySQL rpm?


You should be able to start the server with a '/etc/init.d/mysql   
start', as root. If that doesn't work try 'mysqld' in place of   
'mysql'. I don't remember which one Fedora uses.


If you're trying to update the rpm then make sure you have up2date  
installed. 'rmp -qa | grep up2date' should get you something. If  
it  is installed then try to ad the complete path to up2date, I  
can't  remember where it is off the top of my head but '/usr/bin/ 
up2date' or '/usr/sbin/up2date' should get it.


I would also suggest you either look online or get a good book on   
linux administration, especially if this system is doing anything   
important. As root you can really mess it up if you don't know  
what  you're doing. And you could probably find a good used book  
fairly  cheap. You shouldn't need to get the latest and greatest  
as the basic  administration stuff has been relatively standard  
for quite a few  years now.


Good Luck!

Ed

On Mar 12, 2007, at 3:56 PM, Jonathan Kahan wrote:


http://www.die.net/doc/linux/man/man8/yum.8.html

I checked the above page on 'Yum and see no up2date command as  
you point out. However when I  tried update in the format  
suggested in  the link, it still gives a command not found error.




Brad Bonkoski [EMAIL PROTECTED] wrote in message news:  
[EMAIL PROTECTED]

I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first  
step prior to downloading and activating the php-mysql rpm. I  
was attempting to follow steps based on the link below. the php  
rpm  is loaded and activated as I have been able to execute  
php  scripts. When I attempt to follow those directions, I get  
the  below errors. Does anyone know why I got the below errors  
or can  help me through this process?


Thanks

http://kbase.redhat.com/faq/FAQ_39_3633.shtm


[EMAIL PROTECTED] var]# rpm -q mysql-server
mysql-server-4.1.20-1.FC4.1
[EMAIL PROTECTED] var]# rpm -q mysql
mysql-4.1.20-1.FC4.1
[EMAIL PROTECTED]  var]# up2date mysql
bash: up2date: command not found
[EMAIL PROTECTED]  var]# up2date mysql-server
bash: up2date: command not found
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED] var]# ./up2date mysql-server
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]# ./up2date mysql
bash: ./up2date: No such file or directory
[EMAIL PROTECTED]  var]#


Kind Regards
Jonathan Kahan

-- 
--

Systems Developer
Estrin Technologies, inc.
1375 Broadway, 3rd Floor, New York, NY, 10018
-- 
--

Email: [EMAIL PROTECTED]
Web: http://www.estrintech.com
- Original Message - From: Brad Bonkoski  
[EMAIL PROTECTED]

To: Jonathan Kahan [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re: [PHP] Installing php and mysql on linux



I think up2date is *not* up2date ;-)
Google for 'yum' and all its flags for usage...

-B

Jonathan Kahan wrote:

Hi all,

I am attempting to start the mysql rpm in Red hat as a first  
step prior to downloading and activating the php-mysql rpm. I  
was attempting to follow steps based on the link below. the php  
rpm  is loaded and activated as I have been able to execute  
php  scripts. When I attempt to follow those directions, I

Re: [PHP] installing php 4.4.2 on windows system

2006-02-16 Thread Olaf Greve

Hi Paul,


I have been developing a php website.  I have been ftping my php web
pages to a webserver and that works hkowever I don't have an error log
on the webserver.  So I downloaded apache 2.0.55.   I am doing a
manual installation and I am at the point where it tells me where to
place the php.ini file.  The instructions tell me to put the file in a
number of places. The directions told me that if I were using apache
to use the PHPIniDir directive.  My question is where do I put the
php.ini file? Where do I put this Directive? In the Httpd.conf?


Under Windows it didn't use to be necessary to make Apache explicitly 
point to the ini file (at least: for all Apache 1.3.x versions). Rather, 
the trick used to be to simply place the php.ini file somewhere in the 
path that has been set for all Windows applications.


Normally, the 'windows' or 'winnt\system32' directories do the trick. If 
you're working under NT, 2000, or XP give the latter a go and restart 
Apache. Chances are it still picks it up swell. If it doesn't, then 
indeed perhaps as of Apache 2 you need to explicitly make Apache point 
to the right file.


Cheers!
Olafo

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



Re: [PHP] installing php 4.4.2 on windows system

2006-02-16 Thread Kim Christensen
On 2/16/06, Olaf Greve [EMAIL PROTECTED] wrote:
 Under Windows it didn't use to be necessary to make Apache explicitly
 point to the ini file (at least: for all Apache 1.3.x versions). Rather,
 the trick used to be to simply place the php.ini file somewhere in the
 path that has been set for all Windows applications.

It still ain'¨t necessary, but preferred. Either way works :-)

--
Kim Christensen
[EMAIL PROTECTED]

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



Re: [PHP] installing php 4.4.2 on windows system

2006-02-16 Thread Richard Lynch
On Wed, February 15, 2006 10:43 pm, Paul Goepfert wrote:
 I have been developing a php website.  I have been ftping my php web
 pages to a webserver and that works hkowever I don't have an error log
 on the webserver.

If you want Apache error logs, you can just configure Apache to
generate them and put them where you want them...

They usually end up in /var/log/httpd/error.log (or somesuch) by
default, though with older Apache from source maybe in
/usr/local/lib/apache/logs/error or similar.

It's quite likely that you HAVE error logs, but just don't know where
they are :-)

locate error_log

might find them for you.

If the error logging was turned off in Apache config, you want to
find your httpd.conf file:

locate httpd.conf

and turn it back on.

Installing a whole new Apache to turn on error logging is like buying
a new car because the cigarette lighter is missing...

 So I downloaded apache 2.0.55.   I am doing a
 manual installation and I am at the point where it tells me where to
 place the php.ini file.  The instructions tell me to put the file in a
 number of places. The directions told me that if I were using apache
 to use the PHPIniDir directive.  My question is where do I put the
 php.ini file? Where do I put this Directive? In the Httpd.conf?

php.ini traditionally went in /usr/local/lib/php.ini

Many OS-installed distros (RPMs et al) put it in place like:
/etc/php.ini
/usr/local/etc/php.ini

locate php.ini

might be instructive.

You can put php.ini anyplace you like ; You just have to convince
Apache+PHP where to find it.

PHPIniDir directive in Apache 2.0 simplifies this.
PHPIniDir would need to go in httpd.conf file.

All these locate xyz things assume you can SSH (telnet?!) in to your
server...

If you ONLY have FTP access, then it is unlikely to be useful...

It is equally unlikely, with only FTP access, that you'll be able to
successfully install a new Apache anyway, much less get it to run
(you'd have to have root access).

Some webhosts, for reasons beyond my ken, do not provide log files
unless you specifically ask for them, but will do it if you ask.

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

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



Re: [PHP] installing php 4.4.2 on windows system

2006-02-16 Thread Richard Lynch
On Thu, February 16, 2006 3:46 am, Olaf Greve wrote:
 I have been developing a php website.  I have been ftping my php web
 pages to a webserver and that works hkowever I don't have an error
 log
 on the webserver.  So I downloaded apache 2.0.55.   I am doing a
 manual installation and I am at the point where it tells me where to
 place the php.ini file.  The instructions tell me to put the file in
 a
 number of places. The directions told me that if I were using apache
 to use the PHPIniDir directive.  My question is where do I put the
 php.ini file? Where do I put this Directive? In the Httpd.conf?

 Under Windows it didn't use to be necessary to make Apache explicitly
 point to the ini file (at least: for all Apache 1.3.x versions).

PHPIniDir only works in Apache 2, I think...

 Rather,
 the trick used to be to simply place the php.ini file somewhere in the
 path that has been set for all Windows applications.

Or the path which was compiled into the php DLL when it was compiled.

This was usually:
C:\php
C:\php4
C:\php5
or some variant on that.

 Normally, the 'windows' or 'winnt\system32' directories do the trick.

I suspect this only works if there was no specific directory chosen
when php DLL was compiled, but it MIGHT be the case that Apache/PHP
would automatically look here via the Windows OS system rules...

Rather than guess, however, a quick look at:

http://php.net/phpinfo

output on your own server will tell you EXACTLY where PHP expects the
php.ini file to be.

-- 
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] installing php 4.4.2 on windows system

2006-02-15 Thread Paul Goepfert
Hello all,

I have been developing a php website.  I have been ftping my php web
pages to a webserver and that works hkowever I don't have an error log
on the webserver.  So I downloaded apache 2.0.55.   I am doing a
manual installation and I am at the point where it tells me where to
place the php.ini file.  The instructions tell me to put the file in a
number of places. The directions told me that if I were using apache
to use the PHPIniDir directive.  My question is where do I put the
php.ini file? Where do I put this Directive? In the Httpd.conf?

Paul

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



Re: [PHP] installing php on 2 apache server

2005-02-07 Thread Stephane Parenton
John Nichel wrote:
Stephane Parenton wrote:
snip
John Nichel wrote:
Just install the second version of Apache in a different location 
(--prefix=/path/to/other/location), and run it on a different port 
(the listen directive in the httpd.conf)

Well, this is ok to have 2 seperate httpd, but what i need, and that 
was not clear in my first mail, is that i also want 2 php setup, one 
for the prod apache and the other one for the test... This is THIS 
point that seems a bit confused regarding the php config files to run 
with apache...

stephane

Configure and build the second version of php against the second 
version of Apache.  Either before you build Apache...

./configure --with-apache=/path/to/second/apache/source
Or as a DSO
./configure --with-apxs=/path/to/second/apache/apxs
Yes, it was way much simpler than what i thought..; it works !!
Thanx everyone ;-)
Stephane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] installing php on 2 apache server

2005-02-06 Thread Stephane Parenton
Hi everyone,
I've looked at google and the archive, but did not found an accurate 
answer, so here's my question (that is certainly common though...)

I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want this 
apache to be the production apache server and i need to have another 
apache server to be an httpd test server. So what i want is 2 strictly 
separated apache/php configuration on the same box. Is it possible, and 
is there any how to somewhere to help me place the config files at the 
right places ?

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


Re: [PHP] installing php on 2 apache server

2005-02-06 Thread John Nichel
Stephane Parenton wrote:
Hi everyone,
I've looked at google and the archive, but did not found an accurate 
answer, so here's my question (that is certainly common though...)

I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want this 
apache to be the production apache server and i need to have another 
apache server to be an httpd test server. So what i want is 2 strictly 
separated apache/php configuration on the same box. Is it possible, and 
is there any how to somewhere to help me place the config files at the 
right places ?
Just install the second version of Apache in a different location 
(--prefix=/path/to/other/location), and run it on a different port (the 
listen directive in the httpd.conf)

--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] installing php on 2 apache server

2005-02-06 Thread Stephane Parenton
John Nichel wrote:
Stephane Parenton wrote:
Hi everyone,
I've looked at google and the archive, but did not found an accurate 
answer, so here's my question (that is certainly common though...)

I have one mdk 10.1 box that has 1 apache server 1.3.x. Now i want 
this apache to be the production apache server and i need to have 
another apache server to be an httpd test server. So what i want is 2 
strictly separated apache/php configuration on the same box. Is it 
possible, and is there any how to somewhere to help me place the 
config files at the right places ?

Just install the second version of Apache in a different location 
(--prefix=/path/to/other/location), and run it on a different port 
(the listen directive in the httpd.conf)

Well, this is ok to have 2 seperate httpd, but what i need, and that was 
not clear in my first mail, is that i also want 2 php setup, one for the 
prod apache and the other one for the test... This is THIS point that 
seems a bit confused regarding the php config files to run with apache...

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


Re: [PHP] installing php on 2 apache server

2005-02-06 Thread John Nichel
Stephane Parenton wrote:
snip
John Nichel wrote:
Just install the second version of Apache in a different location 
(--prefix=/path/to/other/location), and run it on a different port 
(the listen directive in the httpd.conf)

Well, this is ok to have 2 seperate httpd, but what i need, and that was 
not clear in my first mail, is that i also want 2 php setup, one for the 
prod apache and the other one for the test... This is THIS point that 
seems a bit confused regarding the php config files to run with apache...

stephane
Configure and build the second version of php against the second version 
of Apache.  Either before you build Apache...

./configure --with-apache=/path/to/second/apache/source
Or as a DSO
./configure --with-apxs=/path/to/second/apache/apxs
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Installing PHP 4.3 on Windows XP with SP2 and IIS

2004-12-29 Thread GH
I am trying to install php 4.3 on Windows XP Pro SP2 w/ IIS ...
(please dont kill me :-))

I am doing it via ISAPI, I am up to the step in the instruction sheet
that says Under Home Directory, click on the 'configuration' button.
Add a new entry to the Application Mappings. Use the path to the
php4isapi.dll / php5isapi.dll as the Executable, supply .php as the
extention, leave 'Method exclusions' blank, and check the 'script
engine' checkbox.'

I did that... but it is not allowing me to click on the OK button...

anyone have advice --- please dont tell me to get Apache :-P

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



Re: [PHP] Installing PHP 4.3 on Windows XP with SP2 and IIS

2004-12-29 Thread Richard Davey
Hello GH,

Wednesday, December 29, 2004, 9:22:08 PM, you wrote:

G anyone have advice --- please dont tell me to get Apache :-P

You'd have none of these issues if you did. Apache even has a pretty
installer.

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 I am not young enough to know everything. - Oscar Wilde

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



Re: [PHP] Installing PHP 4.3 on Windows XP with SP2 and IIS

2004-12-29 Thread GH
Well actually it now works just took a bit of rest and relaxing :)

On Wed, 29 Dec 2004 22:18:25 +, Richard Davey [EMAIL PROTECTED] wrote:
 Hello GH,
 
 Wednesday, December 29, 2004, 9:22:08 PM, you wrote:
 
 G anyone have advice --- please dont tell me to get Apache :-P
 
 You'd have none of these issues if you did. Apache even has a pretty
 installer.
 
 Best regards,
 
 Richard Davey
 --
 http://www.launchcode.co.uk - PHP Development Services
 I am not young enough to know everything. - Oscar Wilde
 
 --
 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] installing php 5.02 and Apache 2

2004-12-06 Thread Octavian Rasnita
Hi all,

I have installed Apache 2 under Fedora Core 2 and now I would like to
install PHP 5.02 as a server module.

I have downloaded and unpacked PHP 5.02, and I think that I need to run
./configure now but I don't know which parameters I need to add.

I have added --prefix=dir --with-mysql=dir --with-curl

But I want to add many other modules I might need. Do I need to specify the
entire list of modules in the command line? Or how can I create and choose a
config file?

And please tell me what option do I need to install the Apache 2 module.

I have seen some parameters in the ./configure --help instructions for
installing the module for Apache 2, but I saw that that module is only
experimental. Isn't there a working module for PHP 5.02 and Apache 2?

And do you know where the Apache 2 module is put after installing php? (in
order to specify it in httpd.conf).

Thank you.

Teddy

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



Re: [PHP] installing php 5.02 and Apache 2

2004-12-06 Thread Jason Wong
On Monday 06 December 2004 21:31, Octavian Rasnita wrote:

 I have installed Apache 2 under Fedora Core 2 and now I would like to
 install PHP 5.02 as a server module.

 I have downloaded and unpacked PHP 5.02, and I think that I need to run
 ./configure now but I don't know which parameters I need to add.

 I have added --prefix=dir --with-mysql=dir --with-curl

I hope you're not literally using 'dir', 'dir' would be where your library 
files and headers are kept and in most cases it would be /usr, eg:

  --with-mysql=/usr

 But I want to add many other modules I might need. Do I need to specify the
 entire list of modules in the command line?

Yes. But only put it the ones that you really use. You can always go back and 
recompile later if you find you need to add something. 

 Or how can I create and choose 
 a config file?

Doing the ./configure business *is* creating a config file, which will be used 
by 'make' to actually compile the necessary bits.

If you find that you need to recompile at any time, just use phpinfo() to see 
what the current ./configure settings are, then copy-and-paste it and 
add/edit as required.

 And please tell me what option do I need to install the Apache 2 module.

If you followed the instructions in the manual it will install PHP as a module 
for Apache. 

 I have seen some parameters in the ./configure --help instructions for
 installing the module for Apache 2, but I saw that that module is only
 experimental. Isn't there a working module for PHP 5.02 and Apache 2?

Did you read the FAQ referred to in the manual?

 And do you know where the Apache 2 module is put after installing php? (in
 order to specify it in httpd.conf).

Again, following the instructions, in particular using:

  --with-apxs2=/usr/local/apache2/bin/apxs

will put everything in the right place.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
People humiliating a salami!
*/

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



[PHP] Installing PHP 5.0.2 on Fedora Core 2

2004-10-13 Thread Don
Hi,
 
I'm getting an error trying to install PHP 5.0.2 on a fresh Fedora Core 2
installation:
 
Sorry, I cannot run apxs
apxs was not found
 
I verified this by searching the drive, it is not there.  Is Apache
installed by default without using --enable-so ?
 
If so, what can I do?
 
Thanks,
Don

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004
 

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



Re: [PHP] Installing PHP 5.0.2 on Fedora Core 2

2004-10-13 Thread Greg Donald
On Wed, 13 Oct 2004 15:55:46 -0400, Don [EMAIL PROTECTED] wrote:
 I'm getting an error trying to install PHP 5.0.2 on a fresh Fedora Core 2
 installation:
 
 Sorry, I cannot run apxs
 apxs was not found
 
 I verified this by searching the drive, it is not there.  Is Apache
 installed by default without using --enable-so ?
 
 If so, what can I do?

Search the mailing list archives, a very similar if not exact issue
was discussed just last week:

http://marc.theaimsgroup.com/?l=php-general


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

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



[PHP] installing PHP on winXP

2004-09-04 Thread Gerben
hi there

I have a problem with installing PHP on my winXp with apache server using 
the installer. I'm missing the sapi directory (c:/progra~1/php/sapi/) with 
in it the php4apache.dll file which apache misses.
The weird thing is that I've succesfully installed php and apache on this 
same machine, but now it's not working.
I've copied my httpd.conf and php.ini files from my last (succesfull) 
installation.

I have apache 1.3.28 and php 4.3.4 (but the latest version 4.3.8 also 
doesn't work)

Please help |:-( 

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



[PHP] Installing php with curl and sablotron

2004-04-03 Thread Merlin
Hi there,

thanx for the hint with apache2.x and php4.x.
I am now trying to build php, but the make command failes while configure did well?!
This is the cinfigure command I used:
'./configure' '--with-gd' '--with-freetype-dir=/usr/lib' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib' '--with-zlib' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--with-pdflib' '--with-xml' '--with-gettext' '--enable-sysvsem' '--enable-sysvshm' '--with-curl' '--enable-xslt' '--with-xslt-sablot=/usr/local/' 

This is the error msg after running make:

RM  -g -O2  -prefer-pic -c /home/merlin/sw/php-4.3.5/ext/curl/curl.c -o 
ext/curl/curl.lo
cc1: warning: changing search order for system directory /usr/local/include
cc1: warning:   as it has already been specified as a non-system directory
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `curl_free_post':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:568: warning: passing arg 1 of 
`curl_formfree' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `alloc_curl_handle':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:608: sizeof applied to an incomplete type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `zif_curl_setopt':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:845: duplicate case value
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:700: previously used here
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:890: warning: passing arg 1 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:890: warning: passing arg 2 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:898: warning: passing arg 1 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:898: warning: passing arg 2 of 
`curl_formadd' from incompatible pointer type
make: *** [ext/curl/curl.lo] Error 1
If I configure without curl, it still throws an error:

/usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Has somebody an idea what to do?`

thanx for anny hint,

Merlin

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


[PHP] installing php with pdflib

2004-02-06 Thread merlin
Hi there,

after crashing my linux machine I do have to reinstall php.

Somehow I can't figure out how I installed php with pdflib. It is 
perfectly running on my live system.

I tryed to just copy the files from the other server and run -- 
with-pdflib like in the other config command, but it did not work out.

Then I downloaded the source from pdflib.com and tryed this:
'--with-pdflib-dir=/usr/lib/pdflib5'
Did not work as well.

Can anybody give me a hint how to solve this?

Thanx,

Merlin

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


Re: [PHP] installing php with pdflib

2004-02-06 Thread Jason Wong
On Friday 06 February 2004 23:51, merlin wrote:

 Somehow I can't figure out how I installed php with pdflib. It is
 perfectly running on my live system.

 I tryed to just copy the files from the other server and run --
 with-pdflib like in the other config command, but it did not work out.

 Then I downloaded the source from pdflib.com and tryed this:
 '--with-pdflib-dir=/usr/lib/pdflib5'

It seems that v5.x of the pdflib has a different (and seemingly more complex) 
installation procedure to that of 4.x.

The installation instructions for 5.x discourages you from installing from 
source and suggests that you install from the pre-built binaries.

As I haven't had time to figure out how to install 5.x yet I decided to stick 
with one of the 4.x releases.

So if there's nothing compelling in 5.x that you need then you could just use 
one of the 4.x versions as installation of those are straightforward:

Extract the tarball
./configure
   make
   make test
   make install

Then add '--with-pdflib=/usr/local' in your php ./configure command.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
A jury consists of twelve persons chosen to decide who has the better lawyer.
-- Robert Frost
*/

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



Re: [PHP] installing php with pdflib

2004-02-06 Thread merlin
Hi Jason,

I just need 3.x since this is the version on my live server. However, I 
cant find any 4.x or 3.x version of pdflib

on pdflib.com there is a free version called pdflib lite. Pdflib 5.x 
costs over 400$. I do not need 5.x, just basic pdf generating.

Can you point me to a download place for 4.x?

merlin

Jason Wong schrieb:

On Friday 06 February 2004 23:51, merlin wrote:


Somehow I can't figure out how I installed php with pdflib. It is
perfectly running on my live system.
I tryed to just copy the files from the other server and run --
with-pdflib like in the other config command, but it did not work out.
Then I downloaded the source from pdflib.com and tryed this:
'--with-pdflib-dir=/usr/lib/pdflib5'


It seems that v5.x of the pdflib has a different (and seemingly more complex) 
installation procedure to that of 4.x.

The installation instructions for 5.x discourages you from installing from 
source and suggests that you install from the pre-built binaries.

As I haven't had time to figure out how to install 5.x yet I decided to stick 
with one of the 4.x releases.

So if there's nothing compelling in 5.x that you need then you could just use 
one of the 4.x versions as installation of those are straightforward:

Extract the tarball
./configure
   make
   make test
   make install
Then add '--with-pdflib=/usr/local' in your php ./configure command.

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


Re: [PHP] installing php with pdflib

2004-02-06 Thread John Nichel
merlin wrote:
Hi Jason,

I just need 3.x since this is the version on my live server. However, I 
cant find any 4.x or 3.x version of pdflib

on pdflib.com there is a free version called pdflib lite. Pdflib 5.x 
costs over 400$. I do not need 5.x, just basic pdf generating.

Can you point me to a download place for 4.x?

merlin
You have to jump thru hoops to get them (the pdflib people) to send it 
to you, and it took me forever to find it a few months ago.  So, to save 
you the trouble I had to go thru

http://www.by-tor.com/downloads/temp/pdflib-4.0.3.tar.gz

Because I'm a great guy. ;)

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] installing php with pdflib

2004-02-06 Thread merlin
thanx guys, that has worked perfectly!

Cheers,

Merlin



John Nichel schrieb:
merlin wrote:

Hi Jason,

I just need 3.x since this is the version on my live server. However, 
I cant find any 4.x or 3.x version of pdflib

on pdflib.com there is a free version called pdflib lite. Pdflib 5.x 
costs over 400$. I do not need 5.x, just basic pdf generating.

Can you point me to a download place for 4.x?

merlin


You have to jump thru hoops to get them (the pdflib people) to send it 
to you, and it took me forever to find it a few months ago.  So, to save 
you the trouble I had to go thru

http://www.by-tor.com/downloads/temp/pdflib-4.0.3.tar.gz

Because I'm a great guy. ;)

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


[PHP] Installing PHP on IIS6 Windows 2003

2004-01-15 Thread Tareq Yaghmour
Hi,

 

I'm suffering from installing PHP on IIS 6.0, Windows 2003 Web Edition
Server.

Any how-to ? or anyone how can write the instructions how to do it exactly ?

Your help is much much appreciated.

 

Best Regards,

Tareq Yaghmour

 



RE: [PHP] Installing PHP on 2nd Windows Drive

2004-01-14 Thread Warren Vail
There is only one port 80 (the port used by your browser by default to
connect to apache), choose a different port for the second instance, and you
should be ok, but all url's will have to have a non-standard port number.

Same is true for MySQL (different port number, but same conflict).
Configure your 2nd MySQL to listen to a different port, and make sure that
all your PHP code connects to MySQL using the different (non-standard) port
number.

I'm guessing two things; 1) if there are other common dependencies, like
system registry (there is only one per machine) you will run into those and
2) other configuration dependencies (like things that need to be on the C:
drive) will pop up (like php.ini?).

My recommendation would be to get a 2nd cheap machine, and network them.  My
experience at doing this tells me machines are less expensive than the
headaches you are going to have with conflicts.  But you do stand to learn a
lot, or at the very least a lot of things that you will never use again.

good luck,

Warren Vail


-Original Message-
From: Freedomware [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP on 2nd Windows Drive


I got a preconfigured package - Apache 2.0/PHP/MySQL - up and running,
then I installed Apache 1.3. Everything seems to be working fine, and
I'm ready to start tweaking it.

In the meantime, I bought a book about Apache, PHP and MySQL, which
includes tutorials on downloading the programs individually.

I don't want to mess up what I've already installed, but I have an
external hard drive that I use for backing up my documents. Could I
install new Apache, PHP and MySQL programs on that drive? They wouldn't
interfere with the equivalent programs on the C drive, would they?

In fact, is it possible to have PHP programs from two hard drives open
at the same time? After all, I can open up documents on both drives with
Windows Explorer.

Of course, I guess I'd have to install Dreamweaver on the second drive,
too, so I'd be able to test PHP and make sure it's working.

Thanks.

--
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] Installing PHP on 2nd Windows Drive

2004-01-13 Thread Freedomware
I got a preconfigured package - Apache 2.0/PHP/MySQL - up and running, 
then I installed Apache 1.3. Everything seems to be working fine, and 
I'm ready to start tweaking it.

In the meantime, I bought a book about Apache, PHP and MySQL, which 
includes tutorials on downloading the programs individually.

I don't want to mess up what I've already installed, but I have an 
external hard drive that I use for backing up my documents. Could I 
install new Apache, PHP and MySQL programs on that drive? They wouldn't 
interfere with the equivalent programs on the C drive, would they?

In fact, is it possible to have PHP programs from two hard drives open 
at the same time? After all, I can open up documents on both drives with 
Windows Explorer.

Of course, I guess I'd have to install Dreamweaver on the second drive, 
too, so I'd be able to test PHP and make sure it's working.

Thanks.

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


[PHP] Installing PHP on HP

2003-11-14 Thread Christopher Weaver
For learning purposes, can I install and run PHP on my XP Home Edition
machine?  If not that, how about an NT 4.0 Workstation?

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



Re: [PHP] Installing PHP on HP

2003-11-14 Thread Chris Shiflett
--- Christopher Weaver [EMAIL PROTECTED] wrote:
 For learning purposes, can I install and run PHP on my XP Home Edition
 machine? If not that, how about an NT 4.0 Workstation?

Yes, there is even a Windows mailing list.

http://www.php.net/mailing-lists.php
http://marc.theaimsgroup.com/?l=php-windows
http://news.php.net/group.php?group=php.windows

Hope that helps.

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
 Coming mid-2004
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



Re: [PHP] installing php onto xitami, HELP!

2003-10-29 Thread Phil Driscoll
On Tuesday 28 October 2003 17:59, Paul Vinten wrote:
 when trying to access a php file, I just get a 'cannot find server' message
 from my browser.

I don't have Windows or Xitami so I'm far from being an expert, but it sounds 
like Xitami is not actually running or you have a DNS lookup failure.

If you are requesting the web page in the form http://127.0.0.1/myphpfile.php 
then I guess it must be the former. Can you access a plain html non-php file 
on the server?
-- 
Phil Driscoll

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



[PHP] installing php onto xitami, HELP!

2003-10-28 Thread Paul Vinten
Hi, I'm running Windows XP, and Xitami version 2.4d10, I can get get PHP
4.0.3 installed and working fine, (on my www book's companion CD) but it
doesn't have a few of the functions I want. I've just tried installing 4.3.3
and 4.3.4 and can't get either to work...

when trying to access a php file, I just get a 'cannot find server' message
from my browser. I've got the


[Filter]
.php=c:\php\php.exe

and

[Mime]
Php=application/x-httpd-php

in my defaults.cfg, any thoughts? HELP

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



[PHP] Installing PHP on XP

2003-10-09 Thread Rinal Patel
Hello
 I am trying to install PHP on my personal computer, which runs Microsoft 
XP, but have had trouble installing it.  I have an apache server(it came 
with the oracle database I installed).
Could you please help me?  I would appreciate a quick response

Thank you
-rinal
_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

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


RE: [PHP] Installing PHP on XP

2003-10-09 Thread Jonathan Wilkes
I wrote a simple guide to doing this under Windows 2000 and it should be roughly the 
same under XP.

You can find it on www.xfcpro.com under the Library section, can't remember the name 
of the article though..

regards,
Jonathan

-Original Message-
From: Rinal Patel [mailto:[EMAIL PROTECTED]
Sent: 09 October 2003 04:06
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP on XP


Hello
  I am trying to install PHP on my personal computer, which runs Microsoft 
XP, but have had trouble installing it.  I have an apache server(it came 
with the oracle database I installed).
Could you please help me?  I would appreciate a quick response

Thank you
-rinal

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

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

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



RE: [PHP] Installing PHP on XP

2003-10-09 Thread Fernando Melo
Are you installing the CGI or the ISAPI?

-Original Message-
From: Rinal Patel [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2003 05:06
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP on XP

Hello
  I am trying to install PHP on my personal computer, which runs Microsoft 
XP, but have had trouble installing it.  I have an apache server(it came 
with the oracle database I installed).
Could you please help me?  I would appreciate a quick response

Thank you
-rinal

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

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

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



Re: [PHP] Installing PHP on XP

2003-10-09 Thread Burhan Khalid
Rinal Patel wrote:

Hello
 I am trying to install PHP on my personal computer, which runs 
Microsoft XP, but have had trouble installing it.  I have an apache 
server(it came with the oracle database I installed).
Could you please help me?  I would appreciate a quick response
Rinal :

 This is my contribution to the php apache on windows xp tutorial pot
 http://www.meidomus.com/node/view/3
Best of luck :)

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


[PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Donahue, Peter

I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
I am configuring Php with oci8 (Oracle) support.

Is it possible to build Php on system A, and then move the
files over to another Solaris 8 system and expect it to function
properly? I expect there to be a problem with the ORACLE_HOME
path, if it's not the same on the second system. But I believe I should
be able to solve that by 'export'ing ORACLE_HOME in the
apachectl file.

What I'm trying to do is build Apache and Php so that I can ship them
and install them along with my product.

Thanks for any help

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



Re: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
What you would want to do is build apache + php together with all the
libraries built into it. Unless you want the user to install the
libraries seperate. I have done this in the past however, you file is
going to be HUGE. 

Basically you have a file with everything that it needs in it and does
not use any system libraries.

As for your questions: yes you can do it.

--
Ray


On Wed, 2003-10-01 at 07:58, Donahue, Peter wrote:
 I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
 I am configuring Php with oci8 (Oracle) support.
 
 Is it possible to build Php on system A, and then move the
 files over to another Solaris 8 system and expect it to function
 properly? I expect there to be a problem with the ORACLE_HOME
 path, if it's not the same on the second system. But I believe I should
 be able to solve that by 'export'ing ORACLE_HOME in the
 apachectl file.
 
 What I'm trying to do is build Apache and Php so that I can ship them
 and install them along with my product.
 
 Thanks for any help

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



RE: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
You build apache with php statically linked instead of dynamically
linked.

Check the apache documentation on statically linking apache and php
(module).

I would venture to say that oracle libraries should not be shipped. They
are proprietary code and the user needs to install them. Your oracle
libraries should be installed by the user. However, I would suggest
checking with oracle on this.

--
Ray


On Wed, 2003-10-01 at 08:12, Donahue, Peter wrote:
 How would I build them with all of the libraries?
 Also - is it OK for me to ship Oracle libraries to
 customers to install on a system that may not have
 Oracle installed (tho they must have an Oracle server
 installed somewhere in their network for the product
 to actually do anything).
 
 Thanks,
 
 What you would want to do is build apache + php together with all the
 libraries built into it. Unless you want the user to install the
 libraries seperate. I have done this in the past however, you file is
 going to be HUGE. 
 
 Basically you have a file with everything that it needs in it and does
 not use any system libraries.
 
 As for your questions: yes you can do it.
 
 --
 Ray
 
 
  I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
  I am configuring Php with oci8 (Oracle) support.
  
  Is it possible to build Php on system A, and then move the
  files over to another Solaris 8 system and expect it to function
  properly? I expect there to be a problem with the ORACLE_HOME
  path, if it's not the same on the second system. But I believe I should
  be able to solve that by 'export'ing ORACLE_HOME in the
  apachectl file.
  
  What I'm trying to do is build Apache and Php so that I can ship them
  and install them along with my product.
  
  Thanks for any help
 
 

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-10 Thread Marek Kilimajer
As mysql is from an rpm, I bet it is in /usr, so use --with-mysql=/usr
Also make sure mysql-devel rpm is installed.
Mark McCulligh wrote:
I am trying to ./configure PHP 4.3.3 on a system that already has MySQL
4.0.14 on it.
In the configure line --with-mysql=/path/to/mysql were is the path for RPM
versions of MySQL. I have search the computer but it looks like the mysql
files are all over the place.  Database files are in /var/lib/mysql   BIN
files are in /usr/bin/, etc...
If you install MySQL from a RPM what path do you put in the PHP configure
line
Thanks,
Mark.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Installing php with gd what a pain!

2003-09-09 Thread Dhaval Desai
Hello Guys,

I am trying to install php 4.3.2 with gd support. I have already installed 
zlib and jpeg-6b. My configure line options are as below:

./configure --with-gd --with-jpeg-dir=/usr/lib
it doesn't work.
I tried
./configure --with-gd --with-jpeg-dir=/usr/local/bin
it still doesn't work even tough all the cjpeg and djpeg files are there...


it says libjpeg not found for both

Could anybody tell me what could be wrong?

-Dhaval

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Re: [PHP] Installing php with gd what a pain!

2003-09-09 Thread Jason Wong
On Tuesday 09 September 2003 14:49, Dhaval Desai wrote:

 I am trying to install php 4.3.2 with gd support. I have already installed
 zlib and jpeg-6b. My configure line options are as below:

PHP + GD installation problems have been covered many times before on the list 
and almost everything there is to know about it are in the archives.

 ./configure --with-gd --with-jpeg-dir=/usr/lib
 it doesn't work.

Very likely,

  ./configure --with-gd --with-jpeg-dir=/usr

would work.

 it still doesn't work even tough all the cjpeg and djpeg files are there...


 
 it says libjpeg not found for both
 

It would be more helpful to state the *exact* error message. And very often 
googling on the error message would point you in the right direction.

 Could anybody tell me what could be wrong?

You gave the wrong directory for the --with-jpeg-dir option. But you didn't 
give enough details for us to help you, ie:

 - where your libjpeg files are installed
 - what the error message is

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
All vacations and holidays create problems, except for one's own
-- Murphy's Laws on Work n„1¤734
*/

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



Re: [PHP] Installing php with gd what a pain!

2003-09-09 Thread Desi
You must also install devel packages from jpeg, png and so on...

Desi

Jason Wong wrote:
On Tuesday 09 September 2003 14:49, Dhaval Desai wrote:


I am trying to install php 4.3.2 with gd support. I have already installed
zlib and jpeg-6b. My configure line options are as below:


PHP + GD installation problems have been covered many times before on the list 
and almost everything there is to know about it are in the archives.


./configure --with-gd --with-jpeg-dir=/usr/lib
it doesn't work.


Very likely,

  ./configure --with-gd --with-jpeg-dir=/usr

would work.


it still doesn't work even tough all the cjpeg and djpeg files are there...


it says libjpeg not found for both



It would be more helpful to state the *exact* error message. And very often 
googling on the error message would point you in the right direction.


Could anybody tell me what could be wrong?


You gave the wrong directory for the --with-jpeg-dir option. But you didn't 
give enough details for us to help you, ie:

 - where your libjpeg files are installed
 - what the error message is
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
I am trying to ./configure PHP 4.3.3 on a system that already has MySQL
4.0.14 on it.

In the configure line --with-mysql=/path/to/mysql were is the path for RPM
versions of MySQL. I have search the computer but it looks like the mysql
files are all over the place.  Database files are in /var/lib/mysql   BIN
files are in /usr/bin/, etc...

If you install MySQL from a RPM what path do you put in the PHP configure
line

Thanks,
Mark.

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
 In the configure line --with-mysql=/path/to/mysql were is the path for RPM
 versions of MySQL. I have search the computer but it looks like the mysql
 files are all over the place.  Database files are in /var/lib/mysql   BIN
 files are in /usr/bin/, etc...

use --with-mysql or --with-mysql-sock

example:

./configure --with-mysql
./configure --with-mysql-sock=/var/lib/mysql/mysql.sock

hth

--
BigDog

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
Thanks,

If you just use --with-mysql it will use PHP's built-in mysql client lib
3.23.49, but I have MySQL 4.0.14 installed. Won't this make a difference.  I
want to make sure PHP is compiled this the right libraries for MySQL.

Mark.


Ray Hunter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  In the configure line --with-mysql=/path/to/mysql were is the path for
RPM
  versions of MySQL. I have search the computer but it looks like the
mysql
  files are all over the place.  Database files are in /var/lib/mysql
BIN
  files are in /usr/bin/, etc...

 use --with-mysql or --with-mysql-sock

 example:

 ./configure --with-mysql
 ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock

 hth

 --
 BigDog

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
mark,

from what i understand of the configuration script it will go out and
look in various locations for the mysql libraries. If you want to
specify something then I would suggest using the --with-mysql-sock and
pass the socket file. I like to use the socket file and have always had
great success with it even for mysql 4.0

--
BigDog


On Tue, 2003-09-09 at 12:59, Mark McCulligh wrote:
 Thanks,
 
 If you just use --with-mysql it will use PHP's built-in mysql client lib
 3.23.49, but I have MySQL 4.0.14 installed. Won't this make a difference.  I
 want to make sure PHP is compiled this the right libraries for MySQL.
 
 Mark.
 
 
 Ray Hunter [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
   In the configure line --with-mysql=/path/to/mysql were is the path for
 RPM
   versions of MySQL. I have search the computer but it looks like the
 mysql
   files are all over the place.  Database files are in /var/lib/mysql
 BIN
   files are in /usr/bin/, etc...
 
  use --with-mysql or --with-mysql-sock
 
  example:
 
  ./configure --with-mysql
  ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock
 
  hth
 
  --
  BigDog

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
Ok,

when I compiled with --with-mysql only, phpinfo() said:
Client API version: 3.23.49

I will recompile PHP with --with-mysql-sock instead.

I want to make sure PHP is using the right MySQL Client version.

Thanks,
Mark.

Ray Hunter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 mark,

 from what i understand of the configuration script it will go out and
 look in various locations for the mysql libraries. If you want to
 specify something then I would suggest using the --with-mysql-sock and
 pass the socket file. I like to use the socket file and have always had
 great success with it even for mysql 4.0

 --
 BigDog


 On Tue, 2003-09-09 at 12:59, Mark McCulligh wrote:
  Thanks,
 
  If you just use --with-mysql it will use PHP's built-in mysql client lib
  3.23.49, but I have MySQL 4.0.14 installed. Won't this make a
difference.  I
  want to make sure PHP is compiled this the right libraries for MySQL.
 
  Mark.
 
 
  Ray Hunter [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
In the configure line --with-mysql=/path/to/mysql were is the path
for
  RPM
versions of MySQL. I have search the computer but it looks like the
  mysql
files are all over the place.  Database files are in /var/lib/mysql
  BIN
files are in /usr/bin/, etc...
  
   use --with-mysql or --with-mysql-sock
  
   example:
  
   ./configure --with-mysql
   ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock
  
   hth
  
   --
   BigDog

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



Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Brad Pauly
Mark McCulligh wrote:
when I compiled with --with-mysql only, phpinfo() said:
Client API version: 3.23.49
I will recompile PHP with --with-mysql-sock instead.
I don't think this will change the client version. It is my 
understanding that this will just tell the client to look in a specific 
place for the socket file.

I want to make sure PHP is using the right MySQL Client version.
I think you will need to specify the location using --with-mysql=[dir]. 
It is just a guess, but try --with-mysql=/usr

If you can't find where it is, one thing that might be worth considering 
is whether or not you need the 4.0 client lib. Take a look at this link:

http://www.mysql.com/doc/en/Upgrading-from-3.23.html

- Brad

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


[PHP] Installing PHP and MySQL on Linux machine

2003-03-05 Thread John Almberg
I've got both MySQL and PHP working independantly on my Linux web 
server. That is, I can view PHP web pages via Apache and I can access 
MySQL from the command line, set up databases, tables, etc.

What I can't do is get them working together.

When trying to make a connection in the usual way:

$dbh = mysql_connect( $HOSTNAME, $USER, $PASSWORD ) or die (couldn't 
connect to database\n);

I get the following error:

Fatal error: Call to undefined function: mysql_connect() in 
/var/www/html/bt/index.php on line 13

I have poured over the documents, but it looks like mysql support has 
been compiled in, so I'm not sure what's going on.

You can view my configuration (via phpinfo printout) at:

http://www.beyondtranslations.com/

Any help/advice much appreciated.

Brgds: John

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


Re: [PHP] Installing PHP and MySQL on Linux machine

2003-03-05 Thread Jason Wong
On Thursday 06 March 2003 13:32, John Almberg wrote:

You have started a new thread by taking an existing posting and replying to
it while you changed the subject.

That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a References: header that tells all recipients
which posting(s) your posting refers to. A mail client uses this information
to build a threaded view (tree view) of the postings.

With your posting style you successfully torpedoed this useful feature; your
posting shows up within an existing thread it has nothing to do with.

Always do a fresh post when you want to start a new thread. To achieve this,
click on New message instead of Reply within your mail client, and enter
the list address as the recipient. You can save the list address in your
address book for convenience.

[snip]

 I get the following error:

 Fatal error: Call to undefined function: mysql_connect() in
 /var/www/html/bt/index.php on line 13

Search the archives on the above error message for the various ways in which 
this problem can be resolved.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Unfair animal names:

-- tsetse fly   -- bullhead
-- booby-- duck-billed platypus
-- sapsucker-- Clarence
-- Gary Larson
*/


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



[PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Jacob Bolton
Hey all,

Here's the situation.  I'm on a server running FreeBSD and Apache 2.
Someone else installed both.  There is software that is running on this
server, that I'm sure is dependent on certain options being compiled into
Apache.

I'm trying to install PHP on the server to make life a little easier with
some scripting.  I don't think SO is compiled into Apache and that obviously
keeps me from compiling PHP as an apache mod.

But if I complile apache and don't include options that are needed for the
software, I'll obviously break the software.

So my question is, is there a way to see what options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
options that are compiled now?  Thanks in advance everyone!

Jacob Bolton




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




Re: [PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Chris Hewitt
Jacob Bolton wrote:



But if I complile apache and don't include options that are needed for the
software, I'll obviously break the software.

So my question is, is there a way to see what options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
options that are compiled now?  Thanks in advance everyone!



httpd -l will show options statically compiled.

HTH
Chris


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




[PHP] Installing PHP on XP

2002-12-26 Thread Todd Cary





   I have Apache running on Windows XP, however I am having problems
installing PHP. My PHP directory is C:\Active_Php and the documents say
that I should add the following lines to httpd.conf:
 
  LoadModule php4_module c:/Active_PhP/sapi/php4apache.dll
 AddModule mod_php4.c
 AddType application/x-httpd-php .php

However, I get an error when Apache tries to load the dll. Has any successfully
installed PHP and Apache on Windows XP? If so, what changes are made to
the conf file?

Todd
 
 
-- 
   


 
  
  
 




Re: [PHP] Installing PHP on XP

2002-12-26 Thread Marek Kilimajer
I did 2 days ago - Apache 1.3.27 + PHP/4.2.3. Did you follow the other 
instructions too? What is the error saing?

Todd Cary wrote:

 I have Apache running on Windows XP, however I am having problems installing 
PHP.  My PHP directory is C:\Active_Php and the documents say that I should add 
the following lines to httpd.conf:

  LoadModule php4_module c:/Active_PhP/sapi/php4apache.dll
  AddModule mod_php4.c
  AddType application/x-httpd-php .php

However, I get an error when Apache tries to load the dll.  Has any successfully 
installed PHP and Apache on Windows XP?  If so, what changes are made to the 
conf file?

Todd

--
Ariste Software, Petaluma, CA 94952
 



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




Re: [PHP] installing PHP with netscape on Sun Solaris

2002-11-07 Thread Marek Kilimajer
Look at configure.log (don't remember the name exactly), it is more verbose

Joydeep Ghosh wrote:


Hello,

installing PHP with netscape on Sun Solaris

Iplanet webserver 4.1
Sun Solaris  2.7

followed instruction as published at 
http://www.php.net/manual/sv/install.netscape-enterprise.php

Onstep 6 of Basic install during netscape server configuration it 
errors out. *Attached is the config.log.*
gcc3.2 which comes with libgcc-3.2 ia installed, even then the errors 
are displayed.

*Screen shot of error*
intranet{ghoshj}64: ./configure 
--with-nsapi=/export/webtools/netscape/server4 -
-enable-track-vars --enable-libgcc
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.7
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of 
Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler 
cannot creat
e executables.

thanks in advance for your suggestion.

Joydeep



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




[PHP] installing PHP with netscape on Sun Solaris

2002-11-06 Thread Joydeep Ghosh


Hello,
installing PHP with netscape on Sun Solaris
Iplanet webserver 4.1
Sun Solaris 2.7
followed instruction as published at http://www.php.net/manual/sv/install.netscape-enterprise.php
Onstep 6 of Basic install during netscape server configuration it errors
out. Attached is the config.log.
gcc3.2 which comes with libgcc-3.2 ia installed, even then the errors
are displayed.
Screen shot of error
intranet{ghoshj}64: ./configure --with-nsapi=/export/webtools/netscape/server4
-
-enable-track-vars --enable-libgcc
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.7
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot creat
e executables.
thanks in advance for your suggestion.
Joydeep


config.log
Description: application/unknown-content-type-txtfile
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition

2002-10-16 Thread Kjartan Mannes

Wednesday, October 16, 2002, 6:27:12 AM, Reginald Alex Mullin wrote:
 I've been trying to get PHP working on my WinXP machine for the past few
 days now, but have been unsucessful.  The Apache web server itself starts 
 and works fine (without PHP), but whenever I try loading the PHP module, it 
 doesn't restart.  Instead, I get the following error message: The 
 requested operation has failed.  I don't quite know what the problem is 
 because the error log doesn't tell me much (see error.log snipit code 
 below).  I think I've configured both PHP and Apache correctlty (see 
 php.ini and httpd.conf snipit code below), but I'm obviously missing 
 something.  If anyone can help, please let me know.  Thank you.

Make sure you copied over the correct dll files to your Windows system
directory.

Copy php4ts.dll to c:\windows\system32.

See http://www.php.net/manual/en/install.windows.php for more
information.

-- 
Kjartan [EMAIL PROTECTED] (http://natrak.net/)
:: Those who never retract their opinions love themselves more
than they love the truth. - Joseph Joubert


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




RE: [PHP] Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition

2002-10-16 Thread Ford, Mike [LSS]

 -Original Message-
 From: Reginald Alex Mullin [mailto:[EMAIL PROTECTED]]
 Sent: 16 October 2002 05:27
 To: '[EMAIL PROTECTED]'
 
 LoadModule php4_module C:/PHP/sapi/php4apache.dll
 AddModule mod_php4.c

As you're trying to use Apache 2.0.43, this won't work -- there's a
different .dll for Apache 2.

Also, I don't believe PHP 4.2.3 will work with Apache 2.0.43 anyway -- you
probably need the latest development version from snaps.php.net.  I've seen
posters say that they've got PHP 4.2.3 working with Apache 2.0.39 or so, but
I believe internal changes in Apache mean later releases need the latest
development version of PHP.

In any case, the Apache2/PHP combo is still regarded as no better than
beta-quality, so caveat very definitely emptor!

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

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




[PHP] Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition

2002-10-15 Thread Reginald Alex Mullin

Team,

I've been trying to get PHP working on my WinXP machine for the past few 
days now, but have been unsucessful.  The Apache web server itself starts 
and works fine (without PHP), but whenever I try loading the PHP module, it 
doesn't restart.  Instead, I get the following error message: The 
requested operation has failed.  I don't quite know what the problem is 
because the error log doesn't tell me much (see error.log snipit code 
below).  I think I've configured both PHP and Apache correctlty (see 
php.ini and httpd.conf snipit code below), but I'm obviously missing 
something.  If anyone can help, please let me know.  Thank you.

### Start snip from php.ini ###
doc_root = C:/Program Files/Apache Group/Apache2/htdocs/

; The directory under which PHP opens the script using /~usernamem used 
only
; if nonempty.
user_dir =

; Directory in which the loadable extensions (modules) reside.
extension_dir = C:/PHP/extensions/


### Start snip from httpd.conf ###
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule php4_module C:/PHP/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php


### Start snip from error.log ###
[Tue Oct 15 21:12:20 2002] [notice] Parent: Received shutdown signal -- 
Shutting down the server.
[Tue Oct 15 21:12:20 2002] [notice] Child 2716: Exit event signaled. Child 
process is ending.
[Tue Oct 15 21:12:21 2002] [notice] Child 2716: Released the start mutex
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: Waiting for 250 worker 
threads to exit.
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: All worker threads have 
exited.
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: Child process is exiting
[Tue Oct 15 21:12:22 2002] [notice] Parent: Child process exited 
successfully.




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




[PHP] Installing PHP

2002-10-03 Thread Dan

I am trying to create a message board. I setup a windows 2000 server and
installed IIS. In order to setup this messageboard i need to have PHP
installed. I downloaded the PHP installer and tried to run it but i get a
error message stating that there was a missing OCX component and it cant
configure the webserver. Does any know where i can get step by step
instructions in setting this up. The instructions that come from php.net are
too confusing.


THanks

Dan





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




[PHP] Installing php - 4.2.3 with apache - 2.0.40

2002-09-30 Thread Anil Garg

Hi,

I am using following versions:

php - 4.2.3
apache - 2.0.40

I am reffering to intallationg intruction at :
http://www.php.net/manual/en/install.apache.php

while intalling php i use the following:
./configure --prerfix=/usr/local
-- with -mysql = /usr/local/msyql
--with -tsrm -pth
--enable -force -cgi - redirect
--with -apxs2=/usr/local/bin/apxs2

BUT, i get the folling while the libtools script is running
It couldnt find libphp4.a in /usr/local/modules/to move it to some
other place with name libphp4.so

And as a result it while i do apachctl startit says it cant find
libphp4.so

Can php - 4.2.3  and apache - 2.0.40 be used together?? In fact i dont want
to use lower versions of both of them as lower versions of both have many
vulnerabilities exploited by now.

So, i got stuck at the mid of uploading my site.

Hope to get some solutions.
Thanx and regards
anil


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





Re: [PHP] Installing php - 4.2.3 with apache - 2.0.40

2002-09-30 Thread Rasmus Lerdorf

You need a current unstable snapshot of PHP to work with recent
versions of Apache 2.  However, unless you have a really good technical
reason for using Apache 2, I would highly suggest sticking with Apache 1
for now.

-Rasmus

On Mon, 30 Sep 2002, Anil Garg wrote:

 Hi,

 I am using following versions:

 php - 4.2.3
 apache - 2.0.40

 I am reffering to intallationg intruction at :
 http://www.php.net/manual/en/install.apache.php

 while intalling php i use the following:
 ./configure --prerfix=/usr/local
 -- with -mysql = /usr/local/msyql
 --with -tsrm -pth
 --enable -force -cgi - redirect
 --with -apxs2=/usr/local/bin/apxs2

 BUT, i get the folling while the libtools script is running
 It couldnt find libphp4.a in /usr/local/modules/to move it to some
 other place with name libphp4.so

 And as a result it while i do apachctl startit says it cant find
 libphp4.so

 Can php - 4.2.3  and apache - 2.0.40 be used together?? In fact i dont want
 to use lower versions of both of them as lower versions of both have many
 vulnerabilities exploited by now.

 So, i got stuck at the mid of uploading my site.

 Hope to get some solutions.
 Thanx and regards
 anil


 --
 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] Installing php in windows 95

2002-09-24 Thread Uma Shankari T.


Hello,

  I need to install php for windows under particular folder namely under 
C:\web..In the installation manual it is mentioned that dll should be 
copied to c:\windows..but the dll is not available under c:\web...can any 
please telll me how to do this..

Regards,
Uma


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




Re: [PHP] Installing php in windows 95

2002-09-24 Thread Philip J. Newman

windows 95 your jokeing right?

- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 4:13 PM
Subject: [PHP] Installing php in windows 95



 Hello,

   I need to install php for windows under particular folder namely under
 C:\web..In the installation manual it is mentioned that dll should be
 copied to c:\windows..but the dll is not available under c:\web...can any
 please telll me how to do this..

 Regards,
 Uma


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



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




RE: [PHP] Installing php in windows 95

2002-09-24 Thread John Holmes

The .dll is there. Look in the dlls folder for where every you installed
PHP.

You downloaded the binary and not the source code, right?

---John Holmes...

 -Original Message-
 From: Uma Shankari T. [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 25, 2002 12:13 AM
 To: PHP
 Subject: [PHP] Installing php in windows 95
 
 
 Hello,
 
   I need to install php for windows under particular folder namely
under
 C:\web..In the installation manual it is mentioned that dll should be
 copied to c:\windows..but the dll is not available under c:\web...can
any
 please telll me how to do this..
 
 Regards,
 Uma
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


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




RE: [PHP] Installing php in windows 95

2002-09-24 Thread Martin Towell

I was running PHP on Win95 (for local stuff) and now Win98, using OmniHTTPd
for the server. It works great. I've recently upgraded to XP Pro (I know -
it's taken me ages, but what the heck) and it's still working great.

-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 2:17 PM
Subject: Re: [PHP] Installing php in windows 95

windows 95 your jokeing right?

- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 4:13 PM
Subject: [PHP] Installing php in windows 95

[snip original post]

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




[PHP] installing php-4.2.3

2002-09-11 Thread Anil Garg

hi,

i am a newbie to php...
i have downloaded php-4.2.3.tar.gz from http://www.php.net/downloads.php
can someone please point me to the right documentaion from where i can know
what to do next..
 I am using FreeBSD-4.2.

thanx and regards
anil


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




Re: [PHP] installing php-4.2.3

2002-09-11 Thread Brad Bonkoski

unzip that and cd into it and read the INSTALL file
tar -xzvf php-4.2.3.tar.gz
cd php-4.2.3
less INSTALL

HTH
-Brad

Anil Garg wrote:
 
 hi,
 
 i am a newbie to php...
 i have downloaded php-4.2.3.tar.gz from http://www.php.net/downloads.php
 can someone please point me to the right documentaion from where i can know
 what to do next..
  I am using FreeBSD-4.2.
 
 thanx and regards
 anil
 
 --
 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] installing php with register globals off and on?

2002-08-19 Thread Andy

Hi there,

I am running php 4.2.2 with register globals set to off. Now I am planing to
install oasis (a add tracking sw). Their current version requires a php
build with register globals set to on!?

Is there a way out of this dilema running only one server?

Thanx for any advice,

Andy





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




  1   2   >