02-18-2008
Solved. Didn't use GCC, ended up using Sun Studio 12 and the proper source tree (duh!) and all is good.
10 More Discussions You Might Find Interesting
1. Solaris
have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build:
./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies
2. Solaris
I'm trying to install PHP 5.3 on Solaris 10 .
I'm using etc/apache2
and installed mysql 5.1.39.
When I tried to compile PHP 5.3, with the following configure text,
./configure --with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib-dir=/usr/local \... (21 Replies)
Discussion started by: ppa108
21 Replies
3. AIX
Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error.
/install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop
httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load... (0 Replies)
Discussion started by: KarthikKannan
0 Replies
4. Solaris
I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies
5. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
6. AIX
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
7. Solaris
Hello,
I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web.
It looks like Apache and MySql installed ok, I can start/stop them with no problem.
When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies
8. Shell Programming and Scripting
Hi All,
I have created a script to capture process run by the user & put into to mysql DB.
But some how i am anot able to insert output of ps aux as below sting in mysql db.
######################################... (2 Replies)
Discussion started by: ajaincv
2 Replies
9. Red Hat
I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before.
How can I install php together with mysql.
# rpm -qa | grep mysql*
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
##... (5 Replies)
Discussion started by: getrue
5 Replies
10. Solaris
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies
LEARN ABOUT SUSE
php-config5
php-config(1) Scripting Language php-config(1)
NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)
VERSION INFORMATION
This manpage describes php, version 5.3.2.
COPYRIGHT
Copyright (C) 1997-2006 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2006 php-config(1)