[PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0
"Ian Ball" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > patch -p0 < php-4.2.1-to-4.2.2.patch > cd php-4.2.1 > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ldap > make > make install > /usr/local/apache/bin/apachectl restart Hmm...is the configure step really necessary? --Ricky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP & gd-2.0
I've done it, and it's quite a pain. Try http://www.php.net/~rasmus/gd.html and look for Rasmus's posts on google groups for some insight. One problem I had was that configure kept finding old gd's; I had go thru my system and rename them temporarly to get it to work. "Mike" <[EMAIL PROTECTED]> wrote in message 004501c2285c$9059c620$[EMAIL PROTECTED]">news:004501c2285c$9059c620$[EMAIL PROTECTED]... > Hello, > > I'm trying to use imagecreatetruecolor & imagecopyresampled to resize some > of my images. The problem is I can't get PHP Version 4.0.6 to recognize that > I have gd-2.0 installed. I keep getting this error: Fatal error: > imagecreatetruecolor(): requires GD 2.0 or later. > > I have these files in /usr/lib for gd : > libgd.la > libgd.so > libgd.so.1 > libgd.so.1.8 > libgd.so.1.8.4 > libgd.so.2 > libgd.so.2.0.0 > > I installed php and gd by rpm. I did try to install gd from the source, Did > make install with no errors. > > Not sure where to go from here. > > Thanks in advance for any help, > > Mike > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/02 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sendmail_path help
I've been trying to tweak my sendmail_path to work with some batch emails I have to sent out[1]. What'd like to do is set within a virtual site in httpd.conf: php_admin_value sendmail_path = "/usr/sbin/sendmail -t -oQ/var/spool/mqueue_batch -ODeliveryMode=q" Problem is when I do this, my emails go in to oblivion. I've tried other paths/options like "/usr/sbin/sendmail -oi -t -odq" and it works just fine. I've tested my path in a perl script so I'm sure it's correct; I'm sure my permissions are correct...any ideas? --Ricky [1] It's not spam. Honest! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: sendmail_path help
I am. I assumed the built-in mail function used "sendmail_path" as defined in php.ini; is this an incorrect assumption? "Chris Earle" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can you just use the built-in mail function? > > mail("[EMAIL PROTECTED]", "Errors", $ObjectGET->EMAIL, // doesn't have to > be an object > "From: [EMAIL PROTECTED]\n" > ."Reply-To: [EMAIL PROTECTED]\n" >."X-Mailer: PHP/" . phpversion()); > > "Ricky Dhatt" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I've been trying to tweak my sendmail_path to work with some batch emails > I > > have to sent out[1]. What'd like to do is set within a virtual site in > > httpd.conf: > > > > php_admin_value sendmail_path = > > "/usr/sbin/sendmail -t -oQ/var/spool/mqueue_batch -ODeliveryMode=q" > > > > Problem is when I do this, my emails go in to oblivion. I've tried other > > paths/options like "/usr/sbin/sendmail -oi -t -odq" and it works just > fine. > > I've tested my path in a perl script so I'm sure it's correct; I'm sure my > > permissions are correct...any ideas? > > > > > > --Ricky > > > > [1] It's not spam. Honest! > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP 4.3.0-dev and gd
You need to use --with-gd=php to use the built-in gd library. "Kevin Waterson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > trying to get the built in gd to work without luck > I am using redhat and it has gd 1.8.4(or something) > but the newer compiled version does not seem to install. > > I check with phpinfo and it just says 1.6.2 or higher > but none of the 2.* functions work so I assume the > new gd did not install. my config line looks like this.. > ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-ttf=/usr --e nable-track-vars --enable-ftp --enable-imap --enable-ssl --enable-versioning --enable-trans-sid --enable-sysvsem --with-config-file-path=/etc --with-gd > > kind regards > Kev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ZEND API
Hopefully someone here can help... I'm writing my own extension and using the Zend API docs at Zend.com. They are very vague on using resources. I can create them just fine, but the docs leave out exactly how access the resource data later. I've been looking at ext/curl/curl.c and ext/crack/crack.c for guidance but I can't get ZEND_FETCH_RESOURCE to work. ricky.c:75: incompatible type for argument 1 of `zend_fetch_resource' Anyone successful with ZEND_FETCH_RESOURCE guide me? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]