php-install Digest 6 Aug 2001 21:09:37 -0000 Issue 399 Topics (messages 3853 through 3869): php_imlib / Imlib2 disappearing fonts 3853 by: Mika Tuupola install on W98/PHP 4.0.6/Apache 1.3.20 3854 by: Clive Porter Re: Imlib2 issues 3855 by: Jani Taskinen php install - file download box 3856 by: Farawak 3858 by: Farawak 3859 by: Farawak 3860 by: Phil Driscoll 3861 by: Farawak php(cvs) install ? 3857 by: DAVID CHANG Error while building PHP with sybase support 3862 by: Kevin Sayre PHP & JAVA: Odd Behavior 3863 by: Marcos GD 1.8.4 + FreeType 2.0.4 = TTF Problem 3864 by: Michail A.Baikov Unable to see the php script out put in browser. 3865 by: malla venkata 3866 by: lasse ohgren oci8 support not functioning 3867 by: Tom Tsongas cvs build error 3868 by: Jens Ansorg Adding mail using PHP 3869 by: Juliano 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] ----------------------------------------------------------------------
I am experienving weird behaviour with php_imlib extension. Writing some text to the image does not work. It only prints squares with the color of the font. For example the "text.php" examlpe script prints out a large yellow box inside a black box when it should be yellow text on a black background. Anyone experienced the same? Any ideas how to fix? sparc solaris 8 php-4.0.6 imlib2-1.0.1 freetype-1.3.1 -- Mika Tuupola http://www.appelsiini.net/~tuupola/
With Apache running, a .php file displays the html content on the browser but misses the php bit. The PHP error log says "[06-Aug-2001 10:10:21] PHP Fatal error: Unable to open C:\Program in Unknown on line 0" I have put Progra~1\Apache~1\Apache everywhere in the config files. my httpd.conf file includes -: #PHP4 Directives #LoadModule php4_module c:/php/sapi/php4apache.dll #AddType application/x-http-php .php ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "c:/php/php.exe" This happens as a cgi or as a module all the .dlls are in c:\windows\ and php4ts.dll is in c:\windows\system\ If I run c:\php\php.exe -q <path to .phpfile> from the dos prompt it outputs the php bit correctly I get the apache index.html page if i issue the http://127.0.0.1 If I call a .php file from the browser php opens a dos box and writes the error to the box and closes If Apache is stopped and PWS is started with the registry modified, it gives the same result I would greatly appreciate any help with this as I am going bananas!
I just found the reason for this. Will be fixed in CVS and in the next release. --Jani On Mon, 6 Aug 2001, Mika Tuupola wrote: >On Thu, 2 Aug 2001, Greg Donald wrote: > >> /usr/bin/ld: cannot find -l--library=crypt >> collect2: ld returned 1 exit status >> make[1]: *** [libphp4.la] Error 1 >> make[1]: Leaving directory `/usr/src/php-4.0.6' >> make: *** [all-recursive] Error 1 > >> /usr/bin/ld: cannot find -l--library=crypt > > There is a typo somewhere. I had same kind of the problem > which was fixed by manually finding the lone "-l" from configure > script and removing it. After that it compiles nicely. > > #diff configure configure.org > 23235c23235 > < LIBS=" $LIBS" > --- > > LIBS="-l $LIBS" > > I think the typo comes there from buildconf. Didn't dig any > deeper though. > >
Hi, I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server starts but when i try to go the test.php through a web browser i get prompted with the download this file box when i should be getting the page. I know this has to do with file association in the php.ini file. I have added this in the php.ini file but still get prompted with the box in the web browser: ScriptAlias /php4/ "C:/php" Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php the following error gets logged in the access.log file: 127.0.0.1 - - [06/Aug/2001:10:22:38 + 0100] "GET /test.php HTTP/1.1" 200 129 Can anyone shed some light on this problem? Thanks you in advance Dale
Hi did some changes on the php.ini file but now get the error below. I do not get prompted with the download box, just a blank test.php page in my web browser! Thanks "Farawak" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server > starts but when i try to go the test.php through a web browser i get > prompted with the download this file box when i should be getting the page. > I know this has to do with file association in the php.ini file. > > I have added this in the php.ini file but still get prompted with the box in > the web browser: > > ScriptAlias /php4/ "C:/php" > Action application/x-httpd-php4 "/php4/php.exe" > AddType application/x-httpd-php4 .php > > the following error gets logged in the access.log file: > 127.0.0.1 - - [06/Aug/2001:10:22:38 + 0100] "GET /test.php HTTP/1.1" 200 129 > > Can anyone shed some light on this problem? > > Thanks you in advance > > Dale > >
duh! sorry forgot to put the error on, here it is 127.0.0.1 - - [06/Aug/2001:10:22:38 + 0100] "GET /test.php HTTP/1.1" 304 - Thanks "Farawak" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi did some changes on the php.ini file but now get the error below. I do > not get prompted with the download box, just a blank test.php page in my web > browser! > > Thanks > > "Farawak" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server > > starts but when i try to go the test.php through a web browser i get > > prompted with the download this file box when i should be getting the > page. > > I know this has to do with file association in the php.ini file. > > > > I have added this in the php.ini file but still get prompted with the box > in > > the web browser: > > > > ScriptAlias /php4/ "C:/php" > > Action application/x-httpd-php4 "/php4/php.exe" > > AddType application/x-httpd-php4 .php > > > > the following error gets logged in the access.log file: > > 127.0.0.1 - - [06/Aug/2001:10:22:38 + 0100] "GET /test.php HTTP/1.1" 200 > 129 > > > > Can anyone shed some light on this problem? > > > > Thanks you in advance > > > > Dale > > > > > >
On Monday 06 August 2001 11:14, Farawak wrote: > I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server > starts but when i try to go the test.php through a web browser i get > prompted with the download this file box when i should be getting the page. > I know this has to do with file association in the php.ini file. > > I have added this in the php.ini file but still get prompted with the box > in the web browser: > > ScriptAlias /php4/ "C:/php" > Action application/x-httpd-php4 "/php4/php.exe" > AddType application/x-httpd-php4 .php The lines are ok, but you should put them in httpd.conf, and not php.ini. Cheers -- Phil Driscoll
Sorry I made a mistake here! The entries are in fact in the httpd.conf file and not the php.ini "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message 01080612552009.15407@linux">news:01080612552009.15407@linux... > On Monday 06 August 2001 11:14, Farawak wrote: > > I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server > > starts but when i try to go the test.php through a web browser i get > > prompted with the download this file box when i should be getting the page. > > I know this has to do with file association in the php.ini file. > > > > I have added this in the php.ini file but still get prompted with the box > > in the web browser: > > > > ScriptAlias /php4/ "C:/php" > > Action application/x-httpd-php4 "/php4/php.exe" > > AddType application/x-httpd-php4 .php > > The lines are ok, but you should put them in httpd.conf, and not php.ini. > > Cheers > > -- > Phil Driscoll
Hi all: I got errors while run "make" command at php4-cvs source directory: OS Linux RedHat 6.0 Kernel 2.2.5.15 cd /tmp/php4 ./buildconf ./configure ./make make[3]: Entering directory `/tmp/php4/ext/standard' gcc -I. -I/tmp/php4/ext/standard -I/tmp/php4/main -I/tmp/php4 -I/tmp/apache_1.3.20/src/include -I/tmp/apache_1.3.20/src/os/unix -I/tmp/php4/Zend -I/usr/local/BerkeleyDB.3.2/include -I/usr/local/include -I/tmp/imap-2001.BETA.SNAP-0107112053/ c-client -I/home/informix/incl/esql -I/tmp/libmcal -I/usr/local/include/mysql -I /tmp/php4/ext/xml/expat -I/tmp/php4/TSRM -g -O2 -c html.c && touch html.lo html.c: In function `determine_charset': html.c:232: `CODESET' undeclared (first use in this function) html.c:232: (Each undeclared identifier is reported only once html.c:232: for each function it appears in.) make[3]: *** [html.lo] Error 1 make[3]: Leaving directory `/tmp/php4/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/php4/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/php4/ext' make: *** [all-recursive] Error 1
Ok, I've downloaded the source code, and ran the /configure --with-sybase=/opt/sybase-11.9.2/. When I got to do the make on it, I get these errors: /home/ksayre/downloads/php-4.0.6/ext/sybase/php_sybase_db.h:67:22: sybfront.h: No such file or directory /home/ksayre/downloads/php-4.0.6/ext/sybase/php_sybase_db.h:68:19: sybdb.h: No such file or directory /home/ksayre/downloads/php-4.0.6/ext/sybase/php_sybase_db.h:69:22: syberror.h: No such file or directory make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/home/ksayre/downloads/php-4.0.6/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ksayre/downloads/php-4.0.6/main' make: *** [all-recursive] Error 1 I'm awesoming that it's totally blowing up because it can't complete the sybase portion. Anyone else had this problem, and where can I get a hold of those files to finish the build? Thanks, just trying to get connected to our SQL 2000 server. -Kevin M. Sayre [EMAIL PROTECTED]
Hi, I got something very odd while trying to run php with java. First, my system specs: My System: Windows NT4.0 SP6 (same happens on Windows XP) Apache 1.3.20 PHP 4.0.6 Sun Microsystems JDK 1.3.1 Java settings from php.ini: [Java] java.class.path="D:\php406\java\php_java.jar;D:\jdk\lib" java.home=D:\jdk java.library=D:\jdk\bin\hotspot\jvm.dll java.library.path=D:\php406\extensions\ Program I am running: <?php $system = new Java("java.lang.System"); print "Java version=".$system->getProperty("java.version")." <br>"; print "Java vendor=" .$system->getProperty("java.vendor")." <br>"; print "OS=".$system->getProperty("os.name")." ". $system->getProperty("os.version")." on ". $system->getProperty("os.arch")." <br>"; $formatter = new Java("java.text.SimpleDateFormat", "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz"); print $formatter->format(new Java("java.util.Date")); ?> When I start the apache server service, the program runs ok (several reloads on the browser). But, if I close the browser and open it again, the program no longer runs and give me a "Fatal error: Unable to create Java Virtual Machine in d:\http\info.php3 on line 9". After several reloads, sometimes I get it to run again (just one time). If I restart the apache server service, the program works again, but with the same behavior: if I close the browser window and open it again, it does not work. While all the above is happening, if a go to the command prompt and type: "d:\php406\php d:\http\myprogram.php3", it works fine, every time. I ran out of options and, if anyone could help, I'll appreciate. Tks, Marcos
But! 0. Redhat 7.1 without X. 1. I'm installed FreeType 2.0.4 2. Installed GD 1.8.4 (with support FreeType 2.0.4). 3. make configure: CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" export CFLAGS CXX CXXFLAGS ./configure \ --disable-debug \ --with-config-file-path=/usr/local/lib \ --with-swf=/usr/local/lib/swf \ --with-mysql=/usr/local \ --prefix=/usr \ --with-apache=../apache_1.3.20 \ --enable-track-vars \ --with-xml \ --enable-track-errors \ --enable-force-cgi-redirect \ --enable-discard-path \ --enable-safe-mode \ --with-exec-dir=/home/httpd/cgi-bin/php4 \ --enable-calendar \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-gd=/usr/local \ --enable-gd-native-tt \ --with-zlib-dir=/usr/local \ --with-zlib \ --enable-trans-sid \ --enable-ftp \ --with-png-dir=/usr/local \ --with-freetype-dir=/usr/local \ --with-gettext \ --enable-memory-limit \ --enable-sockets 4. phpinfo(): gd GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with freetype JPG Support enabled PNG Support enabled WBMP Support enabled It's ok? Yep. 5. Small Example from Documentation: <?php Header ("Content-type: image/gif"); $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "lucon.ttf", "Testing... Omega: Ω"); ImageGif ($im); ImageDestroy ($im); ?> Result: <br> <b>Warning</b>: libgd was not built with TrueType font support in <b>/home1/3dgames/www.unreal2.ru/testpage/button.php</b> on line <b>7</b><br> <br> <b>Warning</b>: ImageGif: No GIF support in this PHP build in <b>/home1/3dgames/www.unreal2.ru/testpage/button.php</b> on line <b>8</b><br> What is problem??? How to use TTF fonts?
Hi All I am unable to see the php script running. O/s Win NT 4.0 SP6 Apache webserver 1.3.20 successfully runnung. PHP 4.0.6 installed according to install.txt file in it. But i am un able to see the <?php phpinfo();?> result in a web browser while accessing the .php file which is place in webserver htdocs . Any pointers to this Thanks in advance Thanks -Satya ---------------------------------------------------------- Register Chinese Character Domain Name- ONLY US$17/year! 100 Chinese Domain Names are registered every minute! Time is clicking, what are you waiting for? Go to http://www.chinese-dns.com Register NOW!!! Verisign中文頂級域名現在熱賣中﹗ 每分鐘都有100個中文域名被註冊﹐您還在等什麼呢﹖ 每個網址美金17元/年﹗現在就到 http://www.chinese-dns.com 註冊﹗
do you get any output at all? please, more info. regards lasse ohgren "Malla Venkata" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All > > I am unable to see the php script running. > O/s Win NT 4.0 SP6 > Apache webserver 1.3.20 successfully runnung. > PHP 4.0.6 installed according to install.txt file in it. > But i am un able to see the <?php phpinfo();?> result in a web browser while accessing the .php file which is place in webserver htdocs . > Any pointers to this > > Thanks in advance > > Thanks > -Satya > > > > ---------------------------------------------------------- > Register Chinese Character Domain Name- ONLY US$17/year! > 100 Chinese Domain Names are registered every minute! > Time is clicking, what are you waiting for? > Go to http://www.chinese-dns.com Register NOW!!! > > Verisign中文頂級域名現在熱賣中﹗ > 每分鐘都有100個中文域名被註冊﹐您還在等什麼呢﹖ > 每個網址美金17元/年﹗現在就到 http://www.chinese-dns.com 註冊﹗ >
Hi folks. I am attempting to get php up and running with oracle and oci8 support bundled in. My configure statement is as follows: ./configure --with-oci8=/oracle/product/8.1.7 --with-oracle=/oracle/product/8.1.7 --with-apache=../apache_1.3.20 --enable-track-vars I ran make and then make install per the instructions. Next, I did the following: cd ../apache_1.3.20 ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a make make install I have altered both my php.ini and httpd.conf accordingly so I know php is running. However, any time I attempt to utilize oci8 functions like ocilogon, I get 'undefined' function errors. These php scripts work on my W2K system running PHP4 with Apache. Any ideas folks? Did I miss a step? Thanks in advance! Tom
on Linux Redhat 7.1 I try to build PHP4 from CVS I get error: sablot.c:217: parse error before `*' sablot.c: In function `php_rshutdown_sablot': sablot.c:251: `SABLOTG_HANDLE' undeclared (first use in this function) sablot.c:251: (Each undeclared identifier is reported only once sablot.c:251: for each function it appears in.) sablot.c: In function `_php_sablot_error': sablot.c:1352: `SABLOTG_HANDLE' undeclared (first use in this function) make[3]: *** [sablot.lo] Error 1 will this go away with next update or is something wrong on my side? thanks Jens
I need some help on how to create a php form that will create a sendmail box according to the information passed through the form.