RE: Help for installation on aix 7.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Lorna,

 

Here is how I am able to successfully install PHP on AIX 7.1

 

# ./configure --with-apxs2=/usr/local/apache2/bin/apxs \

--with-mysql=/usr/local/mysql \

--with-mysqli \

--with-pdo-mysql \

--without-pdo-sqlite \

--without-sqlite3 \

--with-libxml-dir=/opt/freeware \

--with-zlib-dir=/opt/freeware \

--with-ldap \

--enable-mbstring

 

Note: the reason for --enable-mbstring is that multibyte support is required to run phpmysqladmin

 

MAKE

-------

Ensure to use gmake, not the AIX version of make.

# /opt/freeware/bin/make

# /opt/freeware/bin/make test

# /opt/freeware/bin/make install

 

With the configure generated Makefile I always get this make error:

-----------------------------------------------------------------------------------

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0711-319 WARNING: Exported symbol not defined: php_register_internal_extensions

ld: 0711-317 ERROR: Undefined symbol: php_register_internal_extensions

make: *** [sapi/cli/php] Error 8

 

The above make error fixed by following procedure:

----------------------------------------------------------------

See this PHP bug fix: https://bugs.php.net/bug.php?id=61751

 

Modify two lines in the Makefile:

Change this line -> PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo

---

To this -> PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo $(PHP_BINARY_OBJS)

 

Change this line -> PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo

---

To this -> PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo main/internal_functions.lo

 

Now rerun make and make install.

 

Regards,

 

Brian

 

From: Lorena Perez Duque Armenta [mailto:lorena.perezduque@xxxxxxxxxxxxxxx]
Sent: Wednesday, January 15, 2014 2:41 PM
To: php-install@xxxxxxxxxxxxx
Subject: Help for installation on aix 7.1

 

Hello!

                I’m trying to install php 5.3 on aix 7.1. I’m following all the instructions documented on de INSTALL file, buit im getting some errors which I haven’t found documentation on the web, can you help me please?

 

Regards

 


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux