- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- upgrading PHP to 5.2.6 on HPUX 11.11
Operating System - HP-UX
1820390
Members
3723
Online
109623
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 09:36 AM
тАО08-11-2008 09:36 AM
upgrading PHP to 5.2.6 on HPUX 11.11
I have the pre-compiled apache/php from hp installed on my system. I need to upgrade the php software to version 5.2.6 which is a requirement after a security scan of the system. I downloaded this version from php.net and am trying to compile it and am getting errors.
I use
./configure --prefix=/opt/hpws/apache/php \
--enable-ftp=shared \
--with-apxs2=/opt/hpws/apache/bin/apxs \
--with-oci8=$ORACLE_HOME \
--with-config-file-path=/opt/hpws/apache/conf
make
I get the following error messages:
cc: "/depot/php-5.2.6/main/reentrancy.c", line 63: error 1619: Too many arguments for ctime_r.
cc: "/depot/php-5.2.6/main/reentrancy.c", line 70: error 1619: Too many arguments for asctime_r.
*** Error exit code 1
Anyone have any suggestions on this one.
Thanks
Kim
I use
./configure --prefix=/opt/hpws/apache/php \
--enable-ftp=shared \
--with-apxs2=/opt/hpws/apache/bin/apxs \
--with-oci8=$ORACLE_HOME \
--with-config-file-path=/opt/hpws/apache/conf
make
I get the following error messages:
cc: "/depot/php-5.2.6/main/reentrancy.c", line 63: error 1619: Too many arguments for ctime_r.
cc: "/depot/php-5.2.6/main/reentrancy.c", line 70: error 1619: Too many arguments for asctime_r.
*** Error exit code 1
Anyone have any suggestions on this one.
Thanks
Kim
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 09:50 AM
тАО08-11-2008 09:50 AM
Re: upgrading PHP to 5.2.6 on HPUX 11.11
> Anyone have any suggestions on this one.
That's a question?
Care to reveal lines 63 and 70? Or were you
looking for help from only those who have
downloaded this package?
That's a question?
Care to reveal lines 63 and 70? Or were you
looking for help from only those who have
downloaded this package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 10:47 AM
тАО08-11-2008 10:47 AM
Re: upgrading PHP to 5.2.6 on HPUX 11.11
Shalom Kim,
http://software.hp.com has a number of PHP options on it for the wp web suite, which is really a LAMP suite.
It is best to wait for HP to port PHP 5.2.6 rather than try and do it yourself.
SEP
http://software.hp.com has a number of PHP options on it for the wp web suite, which is really a LAMP suite.
It is best to wait for HP to port PHP 5.2.6 rather than try and do it yourself.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2008 10:51 AM
тАО08-11-2008 10:51 AM
Re: upgrading PHP to 5.2.6 on HPUX 11.11
Thanks for the replies - I did a search and found on bugs.php.net the following response for solaris and it seems to work for HP as well.
In php_reentrancy.h, above the #if defined(PHP_IRIX_TIME_R) call, add:
#define HAVE_POSIX_READDIR_R 1
#undef HAVE_ASCTIME
#undef HAVE_CTIME
#undef HAVE_ASCTIME_R
#undef HAVE_CTIME_R
#undef PHP_IRIX_TIME_R
#endif
This got rid of the errors in the make. I did the make install and it works great.
Thanks for the responses
In php_reentrancy.h, above the #if defined(PHP_IRIX_TIME_R) call, add:
#define HAVE_POSIX_READDIR_R 1
#undef HAVE_ASCTIME
#undef HAVE_CTIME
#undef HAVE_ASCTIME_R
#undef HAVE_CTIME_R
#undef PHP_IRIX_TIME_R
#endif
This got rid of the errors in the make. I did the make install and it works great.
Thanks for the responses
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP