Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Type Support On Windows


I want to get PHP running with GD capability that allows me to use true type fonts, preferably to generate GIFs (the US patent has expired, but GIF support isn't due back until mid-2004 due to global patents). Has anybody got experience of running this combination on a windows box (using apache).




View Complete Forum Thread with Replies

Related Forum Messages:
Table Type Doesn't Support FULLTEXT Indexes
In order to complete the tutorial i created a table with a database i was already working on. The search worked fine on the new table i just created and i was able to select the FULLTEXT index of the primary key of the table. (using phpmyadmin)

As it works a charm i which i would like to implement it on my other exisitng tables of my database for searching records. My Problem is that the icon seems to be greyed out! Does anybody know why??

When i try to configure FULLTEXT manually by:

CREATE FULLTEXT INDEX full_index ON mytable(
   mytable_title ,
   mytable_caption ,
   mytable_full_body
   );

i get this error: #1214 - The used table type doesn't support FULLTEXT indexes

I am wondering if it is something to do with the configuring of the engine section using this code:

) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Testing Full Text Search Functionality.';

My other tables engine is innoDB!! Does this FULLTEXT index even work with innoDB or is it just MyISAM???

If so what TEXT searches will work with InnoDB??

View Replies !
T1lib Support On Windows
I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include the t1lib
functions and the code relies on the imagepsbbox(), imagepstext() and
imagepsloadfont() functions.

The result from gd_info() is:

array(11) {
["GD Version"]=> string(27) "bundled (2.0.28 compatible)"
["FreeType Support"]=> bool(true)
["FreeType Linkage"]=> string(13) "with freetype"
["T1Lib Support"]=> bool(false)
["GIF Read Support"]=> bool(true)
["GIF Create Support"]=> bool(true)
["JPG Support"]=> bool(true)
["PNG Support"]=> bool(true)
["WBMP Support"]=> bool(true)
["XBM Support"]=> bool(true)
["JIS-mapped Japanese Font Support"]=> bool(false)
}

Anyone have any idea where I can get a php_gd2.dll which includes the
t1lib? I can always recode the functions to use TTF fonts instead but
only want to do that as a last resort.

View Replies !
IMAP Support For PHP On Windows
I have a computer I've set up as a testing server at home and I'm having a
problem trying to locate the pre-compiled IMAP libraries for PHP on Windows.
According to the book "PHP & MySQL Web Development by Luke Welling and Laura
Thomson", I can get the Windows build of the imap libraries from
http://www.php4win.de. But in going to the website, the title bar says
"php4win suspended" with an empty page.

The creators of IMAP, http://www.cac.washington.edu only seems to distribute
the source and you have to compile it yourself, which I don't have a
compiler. Anyone know where I can find it (or an older and possibly
compatible build)?

View Replies !
How To Open The Mbstring Support Under PHP Of Windows
In linux & unix envir, add the optional flag ----enable-mbstring --enable-mbsrt-euc-trans can open mbstring module support, But in Windows I couldn't find the dll of mbstring (multi-byte string). How to make it work?

View Replies !
Need A Windows Binary Or Zip For PHP 5.0.5 With MySQL Support Builtin
Need an installation set for PHP 5.0.5 Windows Binary or Zip for PHP
5.0.5 with MySQL support built in

View Replies !
Deos Exec() Support A Popup Windows?
I am using exec() to run a .exe file which call another function to popup a new window? It does not work. Anyone know how to make it work?

View Replies !
Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online
credit card donations to their existing vendor software, which uses
Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how
to compile oracle support into PHP, not having a linux version of
Oracle, and 2) creating remote connections to Oracle.

View Replies !
Does MyAdmin Support Windows Integrated Authentication
I have installed PHP 4.x and PHPMyAdmin and all works. But I cannot get PHPMyAdmin to work with IIS and Windows Integrated Authentication. Does PhpMyAdmin work with IIS Windows Integrated Authentication or only Anonymous Access.

I have searched but cannot find an answer. It is using auth_type http in the config.inc.php file.

View Replies !
Warning: Date(): Windows Does Not Support Dates Prior To Midnight
I tried to use the date() function with the mktime(). It keeps giving warning:

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970

I could use the @ to surpress the warning but I would like to know why it's happening. Take a look at this. There doesn't seem to be anything wrong with it. PHP Code:

View Replies !
[function.date]: Windows Does Not Support Dates Prior To Midnight (00:00:00)
I'm working with PHP in a Windows environment and ended up with the following message:

Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:Inetpubincludecommonereken.inc.php on line 29
Whether I'm working in Windows or Linux is all the same, because I'm dealing with dates prior to the year 1700 as well.

I've found the following library:
http://phplens.com/phpeverywhere/adodb_date_library

It replaces a number of standard php functions such as date(), but for strtotime() there's no replacement. Anybody got an efficient code solution for this?

View Replies !
GD And True-Type Fonts On Windows XP
GD is successfully installed, I can see other images, and if I use ImageString() I can see exactly what I expect. The problem I think is the true-type fonts here almost always have spaces in the names. Am I doing something wrong or is this a known problem? I'm using the latest version of PHP (4.2.3) php_gd2.dll and Apache 1.3.

View Replies !
Pdf With Unicode Support Or Arabic Characterset Support
I am working on a project that have a featre to print the news as a PDF file format. I am having a problem in generaing pdf with unicode support or Arabic characterset support. I can generat eenglish document like a charm but the probem in Arabic text. I am geting the data from the MySQL database. Anyone have any idea what to do, I search everywhere on net find some small results but still I am not been able to accomplish the task.

View Replies !
Form Type=submit Vs Type=image
I'm wanting to create a form with quite a few SUBMIT buttons that use an image rather then the stock (plain grey) button. Everything works fine when I use this line:

print "<INPUT TYPE="submit" NAME="editaction" VALUE=$id>";

I know which SUBMIT button was pressed by checking the value of $editaction in the receiving page. Now if I replace that line with this one:

print "<INPUT TYPE="image" SRC="icon.gif" NAME="editaction" VALUE=$id>";

I no longer get a value in $editaction. I know about $editaction_x and $editaction_y. Is there no way get to the 'VALUE' (from the VALUE=$id part) as well? Am I missing something? Has the variable name been modified to somthing like $editaction_value?

TIA for any light you can shed.

View Replies !
Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?
From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?

View Replies !
Upload Audio Files Of Type .wav & Video Files Of Type .avi
I need to upload audio files of type .wav & video files of type .avi
/ .mov but my current file unloader is not helping me with that. My
unloader works with application types, images, txt, pdf , mp3, mpg,
mpeg but not with those .wav & .mov/.avi files........

View Replies !
Ttf Support
How can I enable ttf support in my php build?

View Replies !
.NET Support In PHP
Any word on current or planned support for .NET in PHP? I remember reading something a while back on php.net but I can’t find anything mentioning it now.

View Replies !
Dbm Support
i have a windows setup where i am trying to use the extension that
enables db4 handlers for dbm. my php version is 4.4.6.
in my extensions directory i have a couple of dlls (php_db.dll and
php_dba.dll) but i don't have php_dbm.dll.

how do i go about enabling db4 handling support through dba extension
for my version of php.

View Replies !
Does PHP 5.2 Support The <?= Tag?
I've just tried loading an application that I wrote some time ago. Throughout the application I use the <?= php tag. I'm now running PHP 5.2.x and I've noticed that the compiler seems to be ignoring these tags and printing them as text rather than executing the PHP script contained within the tags. Are the tags still supported? Is there some way of enabling/disabling them in php.ini?

View Replies !
XML/XSL Support
I'm am having a realy hard time getting XML/XSL support for PHP5. I'm trying to follow the not so great instructions but it doesn't seem to work. I am using WinXP so it makes things a bit more difficult.

I have PHP working with my Apache server and that seems to work fine. But I cannot get the XML/XSL stuff to work. how to do this or any decent instruction on how to do this on WinXP? I'd really like to get this working.

View Replies !
Is There BMP Support In GD
I need to be able to read windows bitmap files (*.bmp) into the GD-functions in order to create a jpg-file from it. Is such a thing possible. I seem te be unable to find the required functions.

View Replies !
DB Support
the web app I'm starting to make must run under windows too. Before it'll be too late, I'd like to know whether the php support to Oracle and SQLServer is robust. Also, does anyone have tried Logicreate? Any opinion about this cms under windows?

View Replies !
GD Support In Php 4.3.11
when i comes to php. I have installed php 4.3.11 using the source code. When installing, I forgot to install the gd support. I am now wondering whether there is a way of installing the gd support without having to reinstall php again.

View Replies !
5-like XML Support In 4
Has anyone thought of developing a library aimed for PHP4 which would give
the kind of functionality that PHP5 has when it comes to working with XML
(http://www.zend.com/php5/articles/php5-xmlphp.php)? This especially covers
SimpleXML (http://www.zend.com/php5/articles/php5-simplexml.php).

I would like to start developing using those fabulous features, but the
provider we use for most of our clients' apps and sites is still on 4.3.4
and is very slow in updating PHP, so I don't see them switching to 5 any
time soon.

View Replies !
SSH Support
So I have a debian box (LAMP), and I want to have PHP-SSH support in there to use SSH functions in PHP. I dont have any idea, what should be the name for apt package for that, ie apt-get install php4-ssh_support_paackage_name. Or is there any well working alternative.

View Replies !
Site That Support WAP
Hi, all

With PHP is it possible to build a site that support WAP?
How to do it. What kind of technology needed to build it? Can anyone here tell me where I can find the resource?

View Replies !
Imagemagick & GD Support
I'm looking to create a script to resize images when they are uploaded to my site.

I have been reading alot of info on these forums and it looks like the best option is Imagemagick.

I'm running a Windows XP web server and I can't find the .exe file anywhere on the ftp list of downlaods. Can someone point me in the right direction.

Evenually I will need to find out if my service provide can support imagemagick or GD. Could someone please tell me what version of PHP you need to have to use GD?

View Replies !
My Server Don't Support PHP, What Do I Do!
G'day, My server does not support PHP is there anything I can do! Currently I am trying to learn PHP offline, I have apache and PHP4 installed and it is working ok on my computer, but what can I do about my internet sevice provider besides get a new one.

View Replies !
No MySQL Support With PHP On RH 8
I'm using Redhat 8.0. Apache, PHP and MySQL were installed as part of the default installation.

If I try to access MySQL from PHP with mysql_connect(), I get error messages referring to undefined functions. This generally indicates that PHP was compiled without MySQL support.

I know how to set up MySQL support when installing from a tarball, but since PHP was installed from an RPM, I'd prefer to keep it this way, as RH tends to have wildly different ideas about file paths to standard installations (not to mention dependency issues).

I was going to ask if there is any way of specifying the same paths with RPM that you normally specify when you do a tarball installation. However, when I look at the data from phpinfo(), it looks like everything is set up correctly - MySQL is enabled, the path to apxs is set, etc. But I still can't use any db functions. I've upgraded all of the above rpms just to make sure no dependencies were missed out, but with no success.

View Replies !
What Browsers DON'T Support SSI, Esp SSI Within PHP?
What browsers DON'T support SSI, esp SSI within PHP?

View Replies !
What Is A GD Libary - XBM Support?
I was trying to install a php script and everything was going well until i got a message saying:

Checking currently installed GD library ... XBM Support required!

And it will not let me install the script without the GD library. I am installing this on a hosting plan i have with a pretty big company. Is there a way i can install GD library or is this something they need to do.

View Replies !
Upgrade PHP With GD Support
My current php version is 4.3.3My current GD version is 2.0.15I want to upgrade GD to 2.0.28. How to upgrade it.

View Replies !
MySql Support In PHP 5.x
According to documentation on PHP site, MySql support is not built in to
the v. 5.x Windows binaries posted on the site. Does anyone know where
to get PHP 5.x Windows binaries with MySql support turned on? I'd rather
not have to rebuild the product.

View Replies !
Zend Support Is Really Bad.
just wanted to share my experiences with Zend "the php
company".
I decided to do the test drive of the Enterprise grade developer
studio.
Big mistake![color=blue]
>From day one I had nothing but problems.[/color]
After realizing that something terrible had happened to my webserver
during the install process, I figured WTF maybe I did something wrong.

I wiped my hard drive and started again, this time using the
Apache/MySQL/PHP that comes with it, rather than pointing it to my own.

Same result, but this time I realized the installer had fubared some
scripts and locations. It also missed a few permissions that it should
have set.

I tracked them down, repointed some scripts to the right sockets, and I
was off.
At that point I decided to install the Developer Studio Client on my
workstation.

That thing just crapped out saying it couldn't find some libraries.

So I created a support ticket to ask what I should do.
They kindly pointed me to an obscure knowledge base article, that
didn't appear when searching ANY of the keyword errors.

This article told me, that I needed to hexedit the installer, then
after it installed I had to hexedit the ZDE binary!

What the hell kind of installer requires you to hexedit it, before it
can work?
Furthermore the article claimed the binary was in a place that didn't
exist, so I had to updatedb and do a search on the filename, cross my
fingers and hope against hope I had picked the right one.

Fortunately I did.

After I installed the client, I decided to double check developer
studio server, and make sure everything was going fine.
Thats when I ran into this error.

"ini_modifier error: ini_modifier was not set"

It was the sole content on EVERY page!

I created a new support ticket asking what it meant.
They emailed me asking me to send them a file generated by thier
troubleshooting utility. So I ran the utility, and sent them the file.
Another day passes by, this time they ask for access to the server.
I give them the access they request and the password.

It's now been a week. I have updated the ticket daily asking if
anything has been done. They are completely silent.

Tonight I decided I had enough, told them thanks for showing me what it
must be like to be a real paying customer, and asked them to close the
ticket. I'll watch and wait and see how long it is until they get back
with me, or close the ticket.

And to add insult to injury, when I emailed my sales person who said in
his initial email to me, that he would be happy to answer any questions
I may have, etc and so forth. I got my message back in seconds,
stating that the email address was incorrect, the email was sent to
mark@zend.com same as the letter was sent from, same as he said was
his email! He's supposed to be the Director of Inside Sales, but it
appears in the 5 days I took to evaluate the product he has been fired,
or re-assigned or something.

Ok well I'm not out anything but a lot of my time, however I just
wanted to warn any developers considering Zend products, that they
didn't care about me when I was supposed to be evaluating the
enterprise grade product.

View Replies !
GD Support For Both GIF And JPEG
I want to know it it's possible to have both GIF and JPEG support in one PHP installation. Right now I want JPEG support for an online photo gallery program I'm working on (I've currently got the GD library between v.1.3 and v.1.6.1 which has GIF support but not JPEG support), but I'm afraid that if I install a newer version of GD (which doesn't have support for GIF due to the Unisys patent problem) and I want GIF support later on,

I won't be able to have GIF support, or get it again, because the old GD ibrary with GIF support isn't available. I have full access to the machine, so installing libraries isn't a problem. Does anyone have any ideas how to do this? I've read that it's "difficult, but not impossible, to have support for both GIF and JPEG in one PHP installation", but how would I go about doing it?

View Replies !
How To Compile PHP With GD Support?
I am tryin to compile PHP with GD support:

# cd php-4.3.11
# ./configure
--with-gd=/usr/local/src/gd-2.0.33/
--with-png-dir=/usr/local/src/libpng-1.2.8/
--with-zlib-dir=/usr/local/src/zlib/
--with-jpeg-dir=/usr/local/src/jpeg-6b/

....
checking for GD support... yes
checking for the location of libpng... /usr/local/src/libpng-1.2.8/
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

why libpng.(a|so) not found ?

# ls -l /usr/local/src/libpng-1.2.8/libpng.a
-rw-r--r-- 1 root wheel 160448 May 31 12:48
/usr/local/src/libpng-1.2.8/libpng.a

What is my mistake? Where to read about correct way for installing php
+ gd + libjpeg + libpng ?

View Replies !
Ldap Support
I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:php"
2. copy file c:phpextensionphp_ldap.dll to c:php
2. delete ; before extension=php_ldap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:phpphp_ldap.dll"

View Replies !
Gd Don't Support FreeType
If you php support gd .you'll see FreeType Support enabled in your phpinfo; but i can't see. there are message that i compiled

1) Install FreeType (2.1.1)
./configure --prefix=/usr/include/freetype2
make
make install

2) Install GD (2.0.33)
./configure --prefix=/usr/include/gd-2.0.33 --with-freetype-dir=/usr/include/freetype2
make
make install

3) Compile PHP (4.3.11)
./configure
--with-gd-dir=/usr/include/gd-2.0.33
--with-ttf=/usr/include/freetype2
--with-freetype-dir=/usr/include/freetype2
--with-zlib-dir=/usr/lib
--with-png-dir=/usr/local
--with-jpeg-dir=/usr/local
--with-tiff-dir=/usr/local
--with-gd-native-ttf
--enable-bcmath --enable-shared --enable-static --enable-gd-imgstrttf
make
make install

4)Compile httpd 2.0.58
./configure --enable-module=so
make
make install

that are no error. but i can't see FreeType Support enabled in my phpinfo??

View Replies !
What Version Of GD Support GIF?
Where can i find old version of GD that support GIF for resizing.

View Replies !
PHP With JPEG Support?
I seem to have a real problem in building PHP with JPEG support.

I've tried the following options to PHP's configure:
./configure --with-mysql=/usr/local/mysql/ --with-gd=../gd-1.8.4 --with-jpeg-dir=../pdflib-3.03 --with-apache=../apache_1.3.19 --enable-trackvars

After finishing the installation if I try to do any image function that needs JPEG support it get the error message: "No JPEG support in this PHP build". What am I missing here?

View Replies !
PHP With OCI8 Support
I have run PHP 4.0.0, apache and MySQL successfully on my RedHat 6.2 for a while, but my boss wanted me to develop for Oracle8 R2 instead.

After I finally got it to work I compiled PHP 4.0.0 with ./configure --with-oci8 --with-apxs. Everything compiles just fine or at least without any errors, and even when I try to restart apache it looks like everything is working like it is supposed to. BUT IT ISN'T WORKING AT ALL!!!! The httpd process dies right after it starts.

View Replies !
Enabling GD Support
how to create graphics using PHP. i tried calling a function:

<? $image = imagecreate($ButtonWidth, $ButtonHeight);?>

when i trie to call the 'imagecreate()' function i am getting an error, something to the effect of "function not defined". how do i fix this? is this because my current configuration of PHP does not support the GD library?

View Replies !
About PHP & XSLT 2.0 Support
I was trying to write some XSLT transformation from XML to WML and XHTML. I want to transform attached news.xml into 2 different HTML files containing value of full tag. Then I want to Hyperlink them in another HTML page based on their story id attribute ( ex. n1.html, n2.html ). So far I know I have to use XSLT 2.0 for such operation.

I donno if anyone know any trick to do that using XSLT 1.0. In Both case I want to know -
 
1. Is it possible to do it using XSLT 1.0 & PHP 4.4 with any XSLT extensions ? If yes pls provide some sample code snippet & XSLT extensions I need to use it

2. If not then Is there any extension ( Other than Sablotron, as in support only XSLT 1.0 ) using which I can perform the previous transformation ?

View Replies !
PHP5 - GIF And TTF Support
I'm writing text on a GIF with a custom TTF font on my dev server
(Apache/PHP4 with bundled GD). It works nice.

On the production serveur (Mandrake: Apache2/PHP5) error happens : Call to
undefined function imagettfbbox()
Is there a special trick or release to be abble to use GIF r/w support and
True Type Font support too ?

View Replies !
PHP And Oracle Support
I need to access an Oracle DB from some PHP pages, so I need to compile my
PHP with Oracle support. So, the point is:

Do I have to download the whole 1.7GB stuff? Is there anything containing
only headers ald libs needed to compile? Any other solution? Or am I just
on the wrong path?

View Replies !
TTF Support In PHP Build
i'm having trouble trying to use any of the TTF function calls. in my php info i have the following.

'./configure' '--with-informix' '--with-apxs' '--with-config-file-path=/etc/httpd/conf' '--with-gd' '--with-ttf' '--enable-gd-native-ttf'

what might be going wrong here? this is running on a redhat install.

View Replies !
Gd2 With Gif Support In Php4
I'm trying to install gd2 with gif-support as an extension with php4.
I compiled the patched version of gd2 - fine. I compiled php4 with
gd=shared - fine. I installed it and restarted apache and I get:
undefined symbol: gdImagePngCtx
I recompiled php4 and included gd and everything works fine. But as
soon as I compile gd2 as shared things mess up.
I've searched 2 days for a solution, but didn't find anything.

View Replies !
How To Enable ZIP Support In PHP 5.1.6?
My host updated PHP to 5.1.6 and now zip functions like zip_open do not work, it says undefined function or something similar, "zip enabled" doesn't show on phpinfo() eider.

Is there an easyer way to use the zip functions? Maybe by downloading and including the libraries by include lines? Or only by recompiling the php? (this one sounds complicated).

View Replies !
Video Support In PHP
Is it possible to write a script in PHP that will handle video uploading?

View Replies !
Multilingual Support
I need to implement multilingual support for some scripts I've made. My question is which is the best way regarding the execution speed ? Should I use define(x,y) or $lang['x']=y ? Or this is not relevant ?

View Replies !
Host Support For PHP 4.4.2
I want to know your views although I can pretty much guess what they will be.

My present web host only supports PHP version 4.4.2, although they do support Perl too. This means however that after learning PHP 5.1.4 I then had to take a step back over and change to 4.4.2.

What are your thoughts on this? am I in the stone age coding in PHP v. 4.4.2? Is it time for a new FREE host?

View Replies !
Support For BerkeleyDB 4.2
I am wondering if it's possible to build PHP to support the newer Berkeley DB 4.2 instead of 4.0. I have libdb-4.2.so installed in a none system directory:

/home/me/db/lib/libdb-4.2.so

so when I configure, I do:

../configure --prefix=/home/me/php
--with-apxs2=/home/me/apache/bin/apxs --enabled-dba=shared
--with-db4=/home/me/db/lib

configure ran without problem so I did a make and make install afterward. Again, there is no error. However, the dba.so built is still linked against the older version of Berkeley DB:

$ ldd /home/me/php/lib/php/extension/no-debug-non-zts-20020429/dba.so
libdb-4.0.so => /lib/libdb-4.0.so
....

as if it's ignoring the --with-db4[=DIR] configuration flag. Why is that? How do I build PHP to support the newer version of BerkeleyDB?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved