Compaile Php With Java Library

Dec 15, 2008

When i compile php 5.2.8 with following option ---->
./configure --with-java=/usr/local/j2sdk1.4.2_19/
it say this is not valid option.

how can i do it and howto compile php with java?

View 3 Replies


ADVERTISEMENT

GD Library

Feb 7, 2007

I have got error while install GD Library on my VPS (CentOS, cPanel)

Code:
root@sv1 [~]# yum install php-gd
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 80 kB 00:00
update : ################################################## 232/232
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 97, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 470, in doCommands
return self.installPkgs()
File "/usr/share/yum-cli/cli.py", line 836, in installPkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "__init__.py", line 260, in doSackSetup
File "repos.py", line 287, in populateSack
File "sqlitecache.py", line 96, in getPrimary
File "sqlitecache.py", line 89, in _getbase
File "sqlitecache.py", line 373, in updateSqliteCache
File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute
_sqlite.DatabaseError: unable to open database file
root@sv1 [~]# yum install php-gd
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
update : ################################################## 232/232
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 97, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 470, in doCommands
return self.installPkgs()
File "/usr/share/yum-cli/cli.py", line 836, in installPkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "__init__.py", line 260, in doSackSetup
File "repos.py", line 287, in populateSack
File "sqlitecache.py", line 96, in getPrimary
File "sqlitecache.py", line 89, in _getbase
File "sqlitecache.py", line 373, in updateSqliteCache
File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute
_sqlite.DatabaseError: unable to open database file

I have contacted cPanel Support but the issues isn't resolved.

View 3 Replies View Related

Mod_layout And GD2 Library

Mar 28, 2009

I using on my server mod_layout and GD2 library of course too. Today I detect problem with GD2 lib.

In the vhosts where are define mod_layout, GD library NOT RUNNING! When I try delete a mod_layout define variables, GD lib run wtihout any problems.

I try to find something about it on google, but I found nothing.

View 5 Replies View Related

CURL Library

Jan 9, 2009

Do you know what cURL Library means?

I have seen that in apthost.com reseller plan.

View 0 Replies View Related

How To Install GD Library

Apr 28, 2009

how to install gd library via ssh

OS = centos5

I tried ( found on some site ) but still my script showing same gd error -

yum install php-gd
service httpd restart

if the above command effect my server performance? if yes then how could i uninstall ( Undo ) it...

View 14 Replies View Related

How To Compile GD Library With TTF For PHP

Oct 27, 2008

First of all, here's the info about my server:

Linux: CentOS 5.2
PHP: 5.2.6
PHP-GD: php-gd.i386 0:5.2.6-jason.1
Apache: 2.2.8 with mod_proxy (Lighttpd serves in the background)Question:

I've built my server with PHP 5.2.6 and Apache and I've also installed php-gd by running 'yum install php-gd', but an application (clip bucket) I'm using requires GD with TTF enabled for the cpatcha image in 'singup'. I've checked my phpinfo [url] but didn't seem to find TTF enabled with my GD, so I wonder how to recompile GD with TTF enabled?

View 8 Replies View Related

GD Library Install

Feb 3, 2007

My server is new, I have installed GD Library, but not ok

Code:
root@sv3 [~]# up2date php-gd

Fetching Obsoletes list for channel: centos4-Base...

Fetching Obsoletes list for channel: centos4-Updates...

Fetching Obsoletes list for channel: centos4-extras...

Fetching Obsoletes list for channel: centos4-addons...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
php-gd 4.3.9 3.22 i386

Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
########################################
httpd-2.0.52-28.ent.centos4 ########################## Done.
php-4.3.9-3.22.i386.rpm: ########################## Done.
php-gd-4.3.9-3.22.i386.rpm: ########################## Done.
php-pear-4.3.9-3.22.i386.rp ########################## Done.
httpd-suexec-2.0.52-28.ent. ########################## Done.
Preparing ########################################### [100%]

Installing...
1:httpd warning: /etc/httpd/conf.d/welcome.conf created as /
etc/httpd/conf.d/welcome.conf.rpmnew
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
########################################### [100%]
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
There was a fatal RPM install error. The message was:
There was a rpm unpack error installing the package: httpd-2.0.52-28.ent.centos4
root@sv3 [~]#

how to install it?

View 4 Replies View Related

GD Library & PHP Mbstring Extension

Jun 11, 2009

I install drupal and i get this errors:

1. GD libraryNot installed
The GD library for PHP is missing or outdated. Please check the PHP image documentation for information on how to correct this.

2. Unicode libraryStandard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.

I have on my server:

Package gd-2.0.33-9.4.el5_1.1.x86_64 already installed and latest version
Package gd-2.0.33-9.4.el5_1.1.i386 already installed and latest version

but i don`t know why drupal say to me it`s not installed. Need to active the GD Library?

How can i fix the problem with php mbstring and GD Library?

I run the yum commands:

yum install gd
yum install php-gd
yum install php-mbstring

It`s not working! :|

The os is centos 5.3 64. I have cPanel too.

View 11 Replies View Related

Installing PHP5 GD Library

Jul 21, 2009

I keep seeing instructions on installing using apt-get install php5-gd to install it, but when I do that my server says unknown command....

View 4 Replies View Related

Install GD Graphics Library 2 (GD2)

Jun 22, 2008

how to install GD Graphics Library 2 (GD2) ?

View 5 Replies View Related

Compiling The Zip Library On MAMP

Mar 10, 2008

I am having some serious trouble compiling the zip extension for my MAMP installation. I used this tutorial here (using phpize):

[url]

All is well.. but when I run make test it gives me this:

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

So, from what I see there are two problems:

1. compiling the zip.so fails...

2. Some directories are wrongly set, because my extension .so files reside in /mamp/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/

I see no "modules" in there, so..

View 0 Replies View Related

Adding The GD Library To A Linux Box

Mar 31, 2007

Trying to install the GD graphics library to a linux box.

Downloaded the file gd-2.0.34.tar.gz from [url]
Ran gunzip and tar thus expanding the files to a temp directory - as root.

The instructions say to run ./configure

I ran "sh ./configure" and I get the following:

Quote:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking if we are building a Cygwin target... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

why the configuration fails?

View 4 Replies View Related

Godaddy Hosting, Mod_rewrite And GD Library

Aug 30, 2006

I got a domain name with 123-reg and hosting at godaddy, set up the dns and got everything working fine.

I created a script in PHP in a .png file with the help of a .htaccess, the script basically outputs an image with the name of the filename. So say if the .png was called image.png which had the code in, I could call image.png and it would output 'image', if I called foo.png it would output 'foo' - with the help of mod_rewrite where i redirected all .png requests to the proper image.png which had the code in.

Phew. Now I uploaded the files to godaddy and the .htaccess and I just cannot get the image to output properly, it works locally but not on the godaddy server, no image is output at all, i think it is a mod_rewrite problem.

Has anyone got any ideas how I could solve this? I'll paste some example code if it will let me to help you get an idea.

the .htaccess:

Code:
AddType application/x-httpd-php .png
<Files .+.png>
ForceType application/x-httpd-php
</Files>

RewriteEngine On
RewriteBase /
RewriteRule ^(.+).png$ image.png
the image.png with PHP code:

PHP Code:

<?php
@header ("Content-type: image/png");
$img = @imagecreatetruecolor(20, 20) or die ("Problem.");
$cBlack = imagecolorallocate ($img, 0, 0, 0);
imagefill($img, 0, 0, $cBlack);
imagepng ($img);
imagedestroy($img);
?>

This is just a simple test to get it to work.

Has anyone any ideas or is this post in the wrong forum?

View 4 Replies View Related

Checking Versions Of Library/so Files

Apr 14, 2009

Different problem than my earlier thread:
[url]

I freely admit this is something that is self inflicted as I made the mistake of trying to install OpenSSH from source on my own despite me knowing that OpenSSL was kinda goofy (as in I had 0.9.8g and 0.9.8i libraries all over the place).

I know that I have OpenSSL 0.9.8k installed and working. PHP and Apache are both reporting that they are using the k release. I'm good there. However cURL and proftpd are still linking to the g release libraries and for the life of me, I cannot find where these buggers are. ld.so.conf is pointed at the newer libraries in /usr/local/lib and /usr/local/ssl/lib and I re-ran ldconfig to make sure.

Is there a way to verify a version of the library/so files because this is killing me. I'm kinda like Monk (USA TV) only instead of germs, I'm freaked out by lame libraries and includes.

edit: what I *think* is happening, based on the timestamps, is that cURL and proftpd are using the libraries in the /usr/lib64 directory instead of /usr/lib. What I don't get is when I make;make install, why things are only going into /usr/lib and /usr/local/lib and not into the /usr/lib64 directory despite my ./config stating that the libraries are being built for x86_64. Is it as simple as copying things over?

View 1 Replies View Related

Pre-Installed Script Library From Downtownhost

Aug 19, 2008

Community, what does it mean - Pre-Installed Script Library from Downtownhost.com? When I have seen it, I was a little bit baffled with that.

Can anybody clear it up?

View 0 Replies View Related

Unable To Load Dynamic Library

Jul 18, 2008

I have a weird issue with my Plesk VPS. If I restart the VPS it will work find for about 20 minutes and then go down. All my websites will continue to load and load until they time out.

The weird thing is, I can still access everything. FTP, Plesk, SSH. Just no my websites.

Here is the last error I receive before it continues to load:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0

Here are the last few errors in my log:

[Thu Jul 17 19:51:59 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 17 19:51:59 2008] [notice] Digest: done
[Thu Jul 17 19:51:59 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 17 19:51:59 2008] [notice] LDAP: SSL support unavailable
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Jul 17 19:51:59 2008] [notice] mod_python: Creating 4 session mutexes based on 128 max processes and 0 max threads.
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does

NOT match server name!

View 6 Replies View Related

Apache :: How To Check If GD Library Is Installed

Feb 1, 2007

I have a dedicated server and under root i went to Software - Apache Update and on the list i saw GD (version 2.0.15) i am assuming thats GD Library. i checked that and started the build. After everything was done i go back and GD is still unchecked..

View 7 Replies View Related

Php With Java

Dec 13, 2008

I have linux server and i face some problem in php with java, every thing is fine but all the extensions in--->/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ directory and when i access it through browser it doesn't reflected in our phpinfo.php page.

View 0 Replies View Related

Java

Jun 12, 2007

I've a jsp web search engine running on Windows, Apache 2.0.59 and Tomcat 5.5.17 using Mod_jk, db is MySQL 4.1.22. The App was running fine on the previous server until I switched to this new dedicated server.

I'm getting an error (check error.txt attached) on every search. Also attached is the log file (log.txt).

Last time this happened, I reinstalled mysql and it worked, but it isnt working this time no matter what I do.

Error can ve repeated using this link: [url].do?
dis...t&p=&q=keyword (replace '3' with 'e' in q3lly)

Its a windows server and can be accessed via RDC (remote desktop).

(I can pay a small fee for this via PayPal.)

View 12 Replies View Related

Imagettftext :: FreeType Library Not Available, Function Does Not Exit

Jul 19, 2008

i use VPS linux, And one of my member asked me To help him.

He faced an error that say, 'FreeType library not available. (Function imagettftext does not exist)'

and requested me to avtivate this for him.i have no information about it that how can i do it.

View 14 Replies View Related

Xen Or Virtuozzo For Java

Sep 22, 2008

I would like to know which one is better for running java application in term of performance or stability.
16Gb RAM server
15 clients on Virtuozzo or Xen.
1Gb RAM each client.

View 9 Replies View Related

Java Host ...?

Jun 21, 2008

Hey everyone, does anyone know of any good hosting for Java? I don't need too much space (500ish MB is good) and not a lot of bandwidth at all. Just to show a client what we have made online.

View 4 Replies View Related

Which Java Friendly OS

Dec 15, 2008

I've been trying to use Windows 2008 and Jboss and I wasted loads of time.

Which Open Source OS do you recommend - Java friendly OS?

View 4 Replies View Related

Regarding Java Host

Nov 1, 2008

for control to use tomcat? I have tried to do with cpanel it always overwrite the configuration and mod_jk settings disappeared from apache configuration files.

I am also not that much technical but if some one can suggest me any control panel for specifically for java or if there is a way to make it reliable with tomcat please let me know.

View 3 Replies View Related

MySQL, PHP, And Java/JSP

Jul 18, 2007

a inexpensive (or free) webhost that will support MySQL, PHP, and Java/JSP pages. Anybody know of anything that's good? All I can seem to find are standard LAMP setups.

View 3 Replies View Related

Java 1.5 On Cpanel/WHM

Jun 19, 2007

Is there any simple way to update the Java SDK to 1.5? I currently seem to have 1.4x. I have a very typical Cent OS 4, Cpanel/WHM box. I need this to run the Caucho Resin server, so if there's any advice on getting that working, that'd be lovely too!

View 1 Replies View Related

Java Web Hosting

Feb 19, 2007

I want java hosting page, which support java. e.g. JSP, Servlet, Ajax, JSF e.t.c

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved