php-install Digest 4 Mar 2002 23:46:05 -0000 Issue 729
Topics (messages 6240 through 6251):
Re: GD Graphics with links problem, anybody.....
6240 by: Rasmus Lerdorf
Re: php 4.1.1 + apache 1.23 + oracle 8i srv on w2k prof
6241 by: Lilian Salazar
File Uploads Security Fix 3.0.18
6242 by: Martin Spann
windows compilation
6243 by: think a Bit
Re: Problems with PHP 4.1.2
6244 by: B. PERRINE
PHP 4.1.1 - Problems with popen
6245 by: linder.interface.co.at
php 4.1.2 + httpd-2.0.32-beta
6246 by: Christian
6249 by: Austin Gonyou
PHP Error
6247 by: shailesh shetye
6248 by: shailesh shetye
AddType
6250 by: Pease, Donald
php 4.1.1 install to local user dir
6251 by: Hunter Vaughn
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 ---
You can't put links into an image. You are probably referring to image
mapping. Please see: http://www.cris.com/~automata/tutorial.shtml
These links do not go into the images at all. They are completely
implemented outside of the image and as such PHP has nothing to do with
it.
-Rasmus
On Mon, 4 Mar 2002, Archer Vallesfin wrote:
> Hello,
>
> Good Day php guru!
>
> Anybody have an idea how to put links in an image created
> by GD? I used imagecreate and also imagearc and I would like
> to put links to that circle (imagearc). anybody?
>
> help...
> archer
>
> Thanks to all...
>
--- End Message ---
--- Begin Message ---
Tienes que habilitar la libreria desde el archivo php.ini,
descomentando la linea correspondiente
--
Saludos,
Lilian mailto:[EMAIL PROTECTED]
quebe> Hi
quebe> when I'm trying to connect to my oracle db with
quebe> <?php
quebe> dl("php_oci8.dll");---------------------------- I've put this because i
quebe> though that could help
quebe> print "<HTML><PRE>";
quebe> $db = "authors";
quebe> $c1 = ocilogon("pawel","pawel",$db);
quebe> function select_data($conn)
quebe> { $stmt = ociparse($conn,"select * from pawel.authors");
quebe> ociexecute($stmt,OCI_DEFAULT);
quebe> echo $conn."----selecting\n\n";
quebe> while (ocifetch($stmt)){
quebe> echo ociresult($stmt,"au_fname")." ";
quebe> echo ociresult($stmt,"au_lname")." ";
quebe> echo ociresult($stmt,"title")."\n";
quebe> }
quebe> echo $conn."----done\n\n";
quebe> }
quebe> select_data($c1);
quebe> ocilogoff($c1);
quebe> print "</PRE></HTML>";
?>>
quebe> I've an errors like :
quebe> "Warning: Unable to load dynamic library 'c:/php/php_oci8.dll' "
quebe> and :
quebe> "Fatal error: Call to undefined function: ocilogon() in ...".
quebe> In my php.ini I've enabled the extension=php_oci8.dll and
quebe> extension_dir=c:\php
quebe> The file php_oci8.dll I've put to the path c:\php; c:\php\extension;
quebe> c:\winnt\system32
quebe> can someone help me?
quebe> best regards - Pawel
--- End Message ---
--- Begin Message ---
Hello,
I am using the Source Code distribution of PHP 3.0.18 and, unfortunately, I
have no clue how to use the File Uploads Security Fix for PHP 3.0. Could
anyone please tell me how to use/install this patch?
Many thanks,
Martin Spann
--- End Message ---
--- Begin Message ---
Hi there, i'm new to this list.
I tried to compile php 4.1.2 on a win2k machine with visual c++ and
finally succeeded (except those 38 warnings ...)
But: where do i put those --with stuff like --with-t1lib or even
--with-gd
I have cygwin running, but don't quite know what it does that can't be
done through win2k as well?
Trying to start this configure thing i got this:
$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... make: not found
no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... i686-pc-cygwin
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.27 (ok)
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
(and, yes, i have added c:\cygwin to the path-variable in the
system-tray and even restarted...)
furthermore: there's the distribution version of php 4.1.1, but no
source for that, and there's just the source for 4.1.2 - can i simply
put the new compiled php.exe and php4ts.dll where the old ones were?
Thanx for your help,
Best regards,
oliver
--- End Message ---
--- Begin Message ---
I saw the same error in configure PHP 4.1.2. The problem seems to be
linked with GD configuration (???) I edited the makefile by hand (On
Debian distrib, the freetype2 library is called libttf (like freetype1)
and PHP is waiting for libfreetype) and then the configure works well.
B.
le ven 01-03-2002 à 17:10, Ashley Kleynhans a écrit :
> I was running PHP 4.0.6.
> I read about the fileupload vulnerability and decided to upgrade to PHP 4.1.2.
> When running the configure script, I used the following commandline with
> PHP 4.0.6:
>
> CFLAGS="-O2 -DHAVE_SYS_RESOURCE_H" ./configure
>--with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf
>--with-mysql --with-imap --with-gd=/usr/local --enable-debug=no --enable-track-vars
>
> When attempting to do the same with PHP 4.1.2 it generated the following
> error message:
> -----
> checking for crypt in -lcrypt... (cached) yes
> configure: error: This c-client library is build with SSL support.
>
> Add --with-imap-ssl<=DIR> to your configure line. Check config.log for details.
My error was the same.
> -----
>
>
> I then added "--with-imap-ssl" and the configure script ran okay but when I did a
>"make"
> I was presented with the following error message:
> -----
> /usr/bin/ld: cannot open -lcrypto: No such file or directory
The option --with-lcrypt seems to be active and the compilator don't
find the library.
> -----
>
>
> I then added "--with-ssl" to the command line of the configure script and that seemed
> to solve the problem with "make" but when starting Apache, I was presented with the
> following error message:
> -----
> Syntax error on line 72 of /usr/local/apache/conf/httpd.conf:
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
>/usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
> -----
>
>
> I then tried to change the "--with-ssl" parameter to "--with-ssl=/usr/local/ssl" and
>compiled again
> but once again when starting apache I received the same error.
>
> I then tried to remove "--with-ssl" from the configure script parameters and changed
> "--with-imap-ssl" to "--with-imap-ssl=/usr/local/ssl" and compiled again but once
>again
> when starting apache I received the same error.
>
> Any assistance will be greatly appreciated.
>
> Regards
> Ashley
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Can anybody please help me with the following problem ?
I am trying to run a shell command via popen but nothing happens....
Here's an example:
$fd = popen("/usr/sbin/sendmail -t ","w");
fputs($fd, "To: [EMAIL PROTECTED]\n");
fputs($fd, "From: [EMAIL PROTECTED]\n");
fputs($fd, "Reply-To: [EMAIL PROTECTED]\n");
fputs($fd, "Subject: Testmail\n\n");
fputs($fd, "Just a test.\n");
pclose($fd);
It isn't restricted to sendmail, I can't run any program from PHP (not even a
simple "ls"...).
This is a list of items I checked so far:
- safe_mode in php.ini is off,
- the user PHP runs under (which is the same as the one apache runs under ?) CAN
execute the commands when working at the shell (bash) - sendmail, ls - no
problems...
Is there any option I can turn on for logging what PHP does ?
My box is running under Suse Linux 6.4, PHP version is 4.1.1., configured to run
as an apache-module ( './configure' '--with-mysql'
'--with-apxs=/usr/sbin/apxs').
Apache is version 1.3
I'm really frustrated, everything else works so please if you know of anything
that could help me with my problem - let me know...
kr,
Joerg
--- End Message ---
--- Begin Message ---
It's possible install php-4.1.2 with httpd-2.0.32-beta (apache2 beta
version)?!?!?
When make php i view some errors and make stop.
--- End Message ---
--- Begin Message ---
You may need to use the php-cvs.
On Mon, 2002-03-04 at 08:40, Christian wrote:
> It's possible install php-4.1.2 with httpd-2.0.32-beta (apache2 beta
> version)?!?!?
> When make php i view some errors and make stop.
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
"It is the part of a good shepherd to shear his flock, not to skin it."
Latin Proverb
--- End Message ---
--- Begin Message ---
Hi,
I am trying to install PHP4 with apache. I am
getting an error under debug.log when I install this.
can anybody tell me this because of what? & What is
the solution for this? Attached is the debug file.
Linux version is Redhat 7.1 & PHP is 4
Thanks,
Shailesh
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com
--- End Message ---
--- Begin Message ---
Hi,
I am trying to install PHP4 with apache. I am
getting an error under debug.log when I install this.
can anybody tell me this because of what? & What is
the solution for this? Attached is the debug file.
Linux version is Redhat 7.1 & PHP is 4
Thanks,
Shailesh
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com
--- End Message ---
--- Begin Message ---
I did a compile of both apache and php and did the AddType in the httpd.conf
as the instructions had said and when I start the webserver is an invalid
common I am running Solaris 8 apache 1.3.23 and php 4.1.2. any ideas?
Donald L. Pease
11480 Commerce Park Dr
Reston Va. 20191
Phone 703-788-8531
Cell 571-436-4562
--- End Message ---
--- Begin Message ---
Back in Feb of last year, someone asked a question that seems similar to
mine, but it doesn't look like he got any answer. I'm hoping I'm luckier.
I'm trying to install PHP 4.1.1 into my local user directory, and I get
along fine until I get to "make install". Then I get the following error:
Making install in .
/path/to/user-dir/php-4.1.1/build/shtool install -c -m 0755 php
/user/local/bin/
cp: /usr/local/bin/#INST@168538#: Permission denied
make: The error code from the last command is 1.
Obviously, I'm suffering from lack of permissions in /usr/local/bin, whis is
as it should be. In the words of the person from last February, "What is it
trying to do and how can I get it to try to do it in the local user's
directory?"
My configure command goes thusly:
CPPFLAGS=-I/path/to/user-dir/include-dir
LDFLAGS=-L/path/to/user-dir/include-dir
./configure --enable-force-cgi-redirect --without-gd --with-mysql=/path/to/u
ser-dir//mysql-dir
If you need more information, let me know and I'll see what I can provide.
I'm not the admin for the server, so I'm a little sketchy on it's details.
Thanks to any who can help.
--Hunter Vaughn ([EMAIL PROTECTED])
--- End Message ---