getting Error for PHP

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting getting Error for PHP
# 1  
Old 12-12-2007
getting Error for PHP

Hi Guys,
I am using Sun Server with Solaris .. Deatils given below
OS: SunOS test-server 5.10 Generic_127112-03 i86pc i386 i86pc

Basically I want install my SAMP (Solaris+Aapche+Mysql+PHP)
Everything goes well but I am stuck on PHP
I am using SMCphp package (PHP-5.2.0).
Eroor is given below for PHP

bash-3.00 # /usr/local/php/bin/php -v php: fatal: relocation error: file /usr/local/php/bin/php: symbol xmlTextWriterSetIndentString: referenced symbol not found

bash-3.00# ldd -d /usr/local/php/bin/php => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/local/lib/ => /usr/lib/ => /usr/local/lib/ => /usr/lib/ => /lib/ => /lib/ => /usr/lib/ => /lib/ => /lib/ => /usr/lib/ => /usr/local/lib/ => /lib/ => /lib/
symbol not found: xmlTextWriterSetIndentString (/usr/local/php/bin/php)
symbol not found: xmlTextWriterEndComment (/usr/local/php/bin/php)
symbol not found: xmlTextWriterEndDTDElement (/usr/local/php/bin/php)
symbol not found: xmlTextWriterEndDTDAttlist (/usr/local/php/bin/php)
symbol not found: xmlTextWriterEndDTDEntity (/usr/local/php/bin/php)

Please Suggest me what to do to avoid this Error by which I can Run my Aapache2.

Looking for you guys Quick Response

# 2  
Old 12-12-2007
I guessed you probably have two version of libxml2 and PHP is linked to a wrong version.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies

2. Shell Programming and Scripting

Error in php

Hi, I have tried to run the php script from linux box.I got the following error in PHP Error msg : PHP Notice: Undefined variable: dbg in /home/gass/app_log_stats_body.php on line 2108 PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in... (0 Replies)
Discussion started by: Mani_apr08
0 Replies

3. AIX

Compile PHP on AIX 5.2 Error

Hello, I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58 Apache und Mysql are working fine but if i try to compile PHP i get this error: with make: sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz... (2 Replies)
Discussion started by: dtiger
2 Replies

4. Shell Programming and Scripting

Error PHP Fatal error: Allowed memory size of 67108864 bytes exhausted(tried to allocate 401 bytes)

While running script I am getting an error like Few lines in data are not being processed. After googling it I came to know that adding such line would give some memory to it ini_set("memory_limit","64M"); my input file size is 1 GB. Is that memory limit is based on RAM we have on... (1 Reply)
Discussion started by: elamurugu
1 Replies

5. UNIX for Advanced & Expert Users

Compile error for PHP with msql

Hi Folks, I am trying to phpize miniSQL with PHP 5.2.4 on Solaris (SPARC) using GCC 3.4.6. - Unpacked the PHP source to /softwareArchive/php-5.2.4. - Navigated to /softwareArchive/php-5.2.4/ext/msql. - Ran #phpize, then #./configure --with-msql, which worked fine. However when I make, i... (1 Reply)
Discussion started by: brizrobbo
1 Replies

6. Solaris

Error on compiling php for GD on SOLARIS 10

Hi everyone, I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies

7. Shell Programming and Scripting

remote sybase connection and php error.

Hi all, I am trying to connect to a remote sybase database server (sitting on windows) from my freebsd apache webserver. My Webserver has installed; Apache2.0 PHP 4.3.8 Freetds with ODBC enables ( tsql works but isql doesnt ) unixODBC syabse-ocsd When i connect with tsql from... (4 Replies)
Discussion started by: lealyz
4 Replies

8. OS X (Apple)

Error when trying to use PHP shell.

Hi, Now that I'm going to be using my Mac as a web host, I decided to use the PHP shell. However, when I type php straight in the terminal, the session freezes. Is there anything wrong that I'm doing? (3 Replies)
Discussion started by: Danny_10
3 Replies
Login or Register to Ask a Question