03-18-2011
i already installed the rpms, but php cant connect to mysql when i used it. so i try to compile.
10 More Discussions You Might Find Interesting
1. Programming
When compiling (a simple test program):
#include <stdio.h>
#include <sys/context.h>
int main() {
printf("Hello\n");
return 0;
}
on AIX 5.2 with gcc 3.2.2 from the IBM site I get the following error:
/usr/include/sys/context.h:169: parse error before "sigset64_t"... (4 Replies)
Discussion started by: rein
4 Replies
2. AIX
I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error:
bison -t --name-prefix=java_ -o java/parse.c java/parse.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.make: *** Broken pipe
gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies
3. AIX
Hi everybody,
I tried to compile httpd-2.8.8 on AIX 5.2. After downloading the Source file I run the configure as following:
>> CC=gcc ./configure --prefix=/usr/local/apache
After that i run the command make, but it failed. Below are last several lines of stdout of the make command:
lo... (7 Replies)
Discussion started by: aldowsary
7 Replies
4. UNIX for Advanced & Expert Users
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
5. 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
6. AIX
How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies
7. 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
8. Programming
Hi,
I have a program which collects performance data from AIX. It works fine on older releases (< 5.3) but I fail to get data from /proc.
I would really appreciate it if someone could compile (using ANSI compat C compiler), run the program (for 30-40 minutes) on AIX 6.1 and send me the... (2 Replies)
Discussion started by: StuBob
2 Replies
9. AIX
Hi,
I have an AIX 7.1 lpar with cmake, gmp, libmpc, mpfr on it and a gcc 4.6.2 compiler that was made with the no-dependency flag.
I am trying to complile MySql5.5.28 from Oracle. Cmake runs fine. Then when I run make, I get the following:
<nyissz>
Scanning dependencies of target strings
... (12 Replies)
Discussion started by: Ismeret Tenger
12 Replies
10. AIX
Hello,
I'm trying to install ansifilter which is a program that translates ansi text to HTML.
The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (0 Replies)
Discussion started by: bazajav
0 Replies
LEARN ABOUT PHP
get_cfg_var
GET_CFG_VAR(3) 1 GET_CFG_VAR(3)
get_cfg_var - Gets the value of a PHP configuration option
SYNOPSIS
string get_cfg_var (string $option)
DESCRIPTION
Gets the value of a PHP configuration $option.
This function will not return configuration information set when the PHP was compiled, or read from an Apache configuration file.
To check whether the system is using a configuration file, try retrieving the value of the cfg_file_path configuration setting. If this is
available, a configuration file is being used.
PARAMETERS
o $option
- The configuration option name.
RETURN VALUES
Returns the current value of the PHP configuration variable specified by $option, or FALSE if an error occurs.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.0 | |
| | |
| | get_cfg_var(3) was fixed to be able to return |
| | "array" ini options. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
ini_get(3), ini_get_all(3).
PHP Documentation Group GET_CFG_VAR(3)