php-install Digest 20 Nov 2001 23:16:16 -0000 Issue 565
Topics (messages 5038 through 5050):
Re: Your Info Has Arrived
5038 by: usa.registeredsite.com
Upgrade problems
5039 by: Youvnor
Re: configure: error: cannot find output from lex; giving
5040 by: Martin Grünzweig
Server 500 Error....
5041 by: Nathaniel Harari
5046 by: Chris
5047 by: Corn Vollney-R7019C
Re: CGI and Apache install!
5042 by: Jim Barcelona
Re: cannot read output with fgets() from popen()
5043 by: Jim Barcelona
5044 by: Jonathan Hilgeman
Re: Problem with installing GD
5045 by: Jim Barcelona
using php with existing ldap server
5048 by: Jeffrey_N_Dyke.Keane.com
Re: cannot load MySQL extension
5049 by: chandra
help!!!
5050 by: JIM MARTIN
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
To: [EMAIL PROTECTED]
From: ()
Subject: Fw: Your Info Has Arrived
Below is the result of your feedback form. It was submitted by
() on Tuesday, November 20, 2001 at 08:18:45
---------------------------------------------------------------------------
message:
Real Networker Leads, Real Powerful Cash
We Have A True Lead System And We Will Make You Money!
email us at [EMAIL PROTECTED]
Include Your Name Email And PHONE NUMBER [INCLUDE YOUR PHONE OR WE
WILL NOT GET BACK TO YOU]
**********************************************************************
To Be Removed From Our List Email [EMAIL PROTECTED]
**********************************************************************
---------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
I'm trying to upgrade from php 4.0.4pl1
to 4.0.6
i used rpm to install the previus version.
i found the rpms that i need to
but i had some problems installing them, because the need some others rpm
(about 7) that make version conflics with other files that other
applications use in my system...
what i have to do to workaround this ?
--- End Message ---
--- Begin Message ---
Look at this page and download this
file!http://freshmeat.net/projects/flex/
Good luck
martin
Philippe Blainville schrieb:
> Help
>
> when I run configure to install php 4.0.6 , I've got this error message
> "checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up".
>
> Does anybody know what to do ?
--- End Message ---
--- Begin Message ---
Hi.
A few weeks ago, I got PHP Nuke to install beautifully on my XP machine
at home to test it - no problems for a first time user.
Now, I want to use it for my work web site on my remote server for the
company I work for. I am running Windows 2000 Server edition on a nice
fast box with IIS 4.
I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages: I
get an "Internal Server Error 500" every time I try to open a php page
through the browser by hitting the site. Everything works fine and
running php.exe -i outputs the HTML code just beautifully.
I checked out all I could on this error and did the required things,
making sure that the php.exe and the .dll file is all accessible to
anonymous users (IEUSR_<computer> or whatever it is...can't remember off
of the top of my head). But still, it doesn't work.
Can anyone please help me out with this? I really need to set something
up very quickly and I would love to use PHPNuke. :)
Thanks,
Nat.
[EMAIL PROTECTED]
http://www.somethingwonderful.com
--- End Message ---
--- Begin Message ---
Greetings,
What *verbosity* level are you running your Error Log(s) at?
If set high enough, your server should dump some informative
info (pointers), that'll help point you in the right direction.
Off the top of my head, I would guess a Permission Issue.
Best Wishes,
Chris
> Hi.
>
> A few weeks ago, I got PHP Nuke to install beautifully on my XP machine
> at home to test it - no problems for a first time user.
>
> Now, I want to use it for my work web site on my remote server for the
> company I work for. I am running Windows 2000 Server edition on a nice
> fast box with IIS 4.
>
> I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages:
> I get an "Internal Server Error 500" every time I try to open a php
> page through the browser by hitting the site. Everything works fine and
> running php.exe -i outputs the HTML code just beautifully.
>
> I checked out all I could on this error and did the required things,
> making sure that the php.exe and the .dll file is all accessible to
> anonymous users (IEUSR_<computer> or whatever it is...can't remember
> off of the top of my head). But still, it doesn't work.
>
>
> Can anyone please help me out with this? I really need to set something
> up very quickly and I would love to use PHPNuke. :)
>
>
> Thanks,
>
>
> Nat.
> [EMAIL PROTECTED]
> http://www.somethingwonderful.com
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/
--- End Message ---
--- Begin Message ---
Likewise, did you configure IIS 4 for the .php suffix? Also might help to open the
.exe etc files to IIS 4's default users, sorry I cant remember what their called
anymore, but there are two of them, one for regular web users and the other to execute
scripts.
Voll
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Server 500 Error....
Greetings,
What *verbosity* level are you running your Error Log(s) at?
If set high enough, your server should dump some informative
info (pointers), that'll help point you in the right direction.
Off the top of my head, I would guess a Permission Issue.
Best Wishes,
Chris
> Hi.
>
> A few weeks ago, I got PHP Nuke to install beautifully on my XP machine
> at home to test it - no problems for a first time user.
>
> Now, I want to use it for my work web site on my remote server for the
> company I work for. I am running Windows 2000 Server edition on a nice
> fast box with IIS 4.
>
> I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages:
> I get an "Internal Server Error 500" every time I try to open a php
> page through the browser by hitting the site. Everything works fine and
> running php.exe -i outputs the HTML code just beautifully.
>
> I checked out all I could on this error and did the required things,
> making sure that the php.exe and the .dll file is all accessible to
> anonymous users (IEUSR_<computer> or whatever it is...can't remember
> off of the top of my head). But still, it doesn't work.
>
>
> Can anyone please help me out with this? I really need to set something
> up very quickly and I would love to use PHPNuke. :)
>
>
> Thanks,
>
>
> Nat.
> [EMAIL PROTECTED]
> http://www.somethingwonderful.com
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
David,
Here's what I use and it works just fine:
# FOR PHP CGI
./configure --with-gd=/usr/local/src/gd-1.8.4
--with-ttf=/usr/local/src/freetype-1.3.1 --with-jpeg-dir=/usr/local/src/jpeg-6b
--with-mysql=/usr/local/mysql --enable-ftp
--with-pdflib=/usr/local/src/pdflib-4.01 --with-zlib-dir=/usr/local/src/zlib
--with-png-dir=/usr/local/src/libpng --with-xpm-dir=/usr/X11R6
# FOR APACHE
./configure \
"--prefix=/usr/local/apache" \
"--enable-module=so" \
To use the CGI, I edit the httpd.conf. Search for cgi, and look for the entry
below. Delete or rem out the line that says Options None, and change it to
Options ExecCGI:
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
# Options None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Then go into /usr/local/apache/cgi-bin and create two files: testphp and
info.php .
In testphp write:
#!/bin/sh
/usr/local/bin/php info.php
In info.php write:
<?php phpinfo(); ?>
Make sure that testphp is chmod'd to 755. Make sure that your httpd.conf is set
up correctly, and then go to the bin directory for apachectl. Type ./apachectl
configtest . If it says ok, then type ./apachectl start . If you point your
browser to http://localhost/cgi-bin/testphp you should get a screen that shows
the output for phpinfo() .
Good luck,
Jim
David Tandberg-Johansen wrote:
> Hello!
>
> I am working on a RH 6.2 box and i try to install and configure PHP 4.0.6 as
> CGI and as and Apache module.
> I have all the PHP files in /usr/local/install/php-4.0.6
> There I try to configure as follows:
> #FOR CGI
> ./configure \
> --prefix=/usr/bin \
> --with-exec-dir=/usr/bin/php/bin \
> --with-mysql=/usr/local
> make
> make install
>
> #This work ok until i do..
>
> #FOR APACHE
> ./configure \
> --prefix=/usr/local \
> --with-apxs=/usr/sbin/apxs \
> --with-config-file-path=/etc/httpd/conf \
> #AND OTHER CONFIGURATIONS
> --with-mysql=/usr/local
> make
> make install
>
> WHy and how can I do it?
>
> David
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Jim Barcelona mailto:[EMAIL PROTECTED]
better living through php
--- End Message ---
--- Begin Message ---
Try:
<?php
$fp = popen(("/bin/ls"),"r");
while (!feof ($fp))
{
$retvalue = fgets($fp, 4096);
print $retvalue;
}
pclose($fp);
?>
Instead.
[EMAIL PROTECTED] wrote:
> i try to:
>
> $fp = popen("/bin/ls"),"r");
> $retvalue = fgets($fp, 4096);
> pclose($fp);
> print $retvalue;
>
> why $retvalue is always "" (blank)? config is: apache, php, suse... all
> newer versions... and standard configurations... apache runs on a specified
> user. does apache needs root rights or suid on shell? target command?
>
> pleas help, tia.
> simeon.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Jim Barcelona mailto:[EMAIL PROTECTED]
+39 3484 22 56 77 -- better living through php
--- End Message ---
--- Begin Message ---
What's with the extra pair of parentheses?
> $fp = popen("/bin/ls"),"r");
Change it to:
> $fp = popen("/bin/ls","r");
- Jonathan
-----Original Message-----
From: Jim Barcelona [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 11:03 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] cannot read output with fgets() from popen()
Try:
<?php
$fp = popen(("/bin/ls"),"r");
while (!feof ($fp))
{
$retvalue = fgets($fp, 4096);
print $retvalue;
}
pclose($fp);
?>
Instead.
[EMAIL PROTECTED] wrote:
> i try to:
>
> $fp = popen("/bin/ls"),"r");
> $retvalue = fgets($fp, 4096);
> pclose($fp);
> print $retvalue;
>
> why $retvalue is always "" (blank)? config is: apache, php, suse... all
> newer versions... and standard configurations... apache runs on a
specified
> user. does apache needs root rights or suid on shell? target command?
>
> pleas help, tia.
> simeon.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Jim Barcelona mailto:[EMAIL PROTECTED]
+39 3484 22 56 77 -- better living through php
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hello amiroot -
In the future please be sure to read ./configure --help which says:
--with-gd=DIR Include GD support (DIR is GD's install dir)
For me this is:
./configure --with-gd=/usr/local/src/gd-1.8.4
For you, it is whatever directory in which you configured and compiled GD.
Amiroot wrote:
> hihi all~
>
> I've got a problem about compile the php module. I'd installed the apache
> and php module with the packages. However, the default module does not
> include the gd library. Then, I d/l the php source and recompile it with the
> following options:
>
> ./configure --with-apxs=/usr/local/sbin/apxs --with-config-file-path=/usr/lo
> cal/etc --enable-versioning --enable-ftp --enable-sockets --with-system-rege
> x --disable-debug --enable-track-vars --with-cpdflib=/usr/local --with-jpeg-
> dir=/usr/local --with-tiff-dir=/usr/local --with-gd=/usr/local --with-zlib -
> -with-gdbm --with-mysql=/usr/local --prefix=/usr/local i386--freebsd4.4
>
> It config properly. However, I can't compile and prompt that some varible in
> "gd.c" is undefined. I'd installed the gd, libpng, zlib, freetype by
> packages. I don't know what's wrong!!! However, if I get rid of
> the --with-gd, it works fine.
>
> Anyone can give me some idea????????????????? Thx a lot!!!!!!!!!!!!!!!
>
> Rgds,
> AMI
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Jim Barcelona mailto:[EMAIL PROTECTED]
+39 3484 22 56 77 -- better living through php
--- End Message ---
--- Begin Message ---
Hello All, i am new to this list and have a question. I apologize if this
has been answered in previous threads, but i have searched through the
archives and did not see what i was looking for, but there is a distinct
possibility that i am blind.
I am running Apache1.3.19/PHP/MYSQL(not that it matters) on a
Solaris8/ultra10 box. I need to connect to an LDAP server being hosted on
a Novell/I-Chain box. I have read through the documentation for adding
LDAP support to PHP, but it all seems to point me in the direction of
adding an LDAP server to my environment, which i don't need, as it already
exists on another server. Or is this not what the documentation says? it
may not be.
Can anyone offer assistance as to what i would need to recompile php with
to use the LDAP functions. is it as simple as recompiling with ldap? am i
making this more difficult then it has to be?
Thanks, and again my apologies if this has been answered and i missed it.
be well,
Jeff
--- End Message ---
--- Begin Message ---
> I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
> have everything properly installed (php - client, server, lib and apache)
> according to the
> manuals and comments that I found in this site... the problem is
> that when I try to open a php3 extension page in the server, I get the
error
>
> cannot load MySQL extension,
> please check PHP Configuration.
>
> I have tested MySqlAdmin and it creates a database when I issue the create
> command. I can successfully load a php3 file from a external website.
>
> Is this error associated to the configuration file of a specific php file
> or the general php configuration file, or can someon please.
>
> Thanks
>
> Chandra
>
--- End Message ---
--- Begin Message ---
i dont know, i just spent 2+ weeks tinkering, and it just dont work.
trying to get "omni" / "php" to work and then with "mysql."
gone though docs completely, but, stumped, stone cold.
just the basics would help.
thanks, jim
which operating system, what PHP version, what web server, if
ou are running PHP as CGI or a server module, etc.), and
referably enough code to make others able to reproduce and test
our problem.
OS: win98
OMNI: 2.08
php: 4.06
running as CGI or server mod, tried both
www.php.net
To subscribe to the PHP installation
mailing list, send an empty mail to
[EMAIL PROTECTED]
The mailing list address is
[EMAIL PROTECTED]
If you want to get help on the mailing list, please try to be
precise and give the necessary details about your environment
(which operating system, what PHP version, what web server, if
ou are running PHP as CGI or a server module, etc.), and
referably enough code to make others able to reproduce and test
our problem.
--- End Message ---