- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PHP and MySQL on HP-UX
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО10-24-2005 03:45 AM
тАО10-24-2005 03:45 AM
PHP and MySQL on HP-UX
Fatal error: Call to undefined function mysql_connect()
phpinfo() shows the following configure command:
'./configure' '--prefix=/opt/hpws/apache/php' '--enable-so' '--with-apxs2=/opt/hpws/apache/bin/apxs' '--with-apache2=/opt/hpws/apache'
I've been working through the potential of re-compiling with php 5.0.5 and adding the '--with-mysql' option my self, but it's turned into one of those instances where every time I correct a './configure' error, another one comes up. I'm now to the point where the error says it is trying to locate the mysql client libraries. I've been searching for these for HP-UX, but I can't seem to find them to download.
Maybe I'm taking entirely the wrong approach...? Can anyone help me get MySQL working with PHP on HP-UX 11i v1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:31 AM
тАО10-24-2005 06:31 AM
Re: PHP and MySQL on HP-UX
Upgrade your HPWS (HP Web Server) to the latest version available..which will also install a later version of PHP.
You then can configure your Apache environment with webmin (http://yourserver:10000)
I am currently using Apache, MySQL and PHP and even PhpAdmin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:11 AM
тАО10-24-2005 07:11 AM
Re: PHP and MySQL on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:15 AM
тАО10-24-2005 07:15 AM
Re: PHP and MySQL on HP-UX
Mine returns:
Current PHP version: 4.3.4
Hello You are not using CGI PHP
And I am able torun PHPadmin (2.6.1-pl3) with MySQL 3.23.42 perfectly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:17 AM
тАО10-24-2005 07:17 AM
Re: PHP and MySQL on HP-UX
You are not using CGI PHP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:24 AM
тАО10-24-2005 07:24 AM
Re: PHP and MySQL on HP-UX
'./configure' '--prefix=/opt/hpws/apache/php' '--enable-so' '--with-apxs2=/opt/hpws/apache/bin/apxs' '--with-apache2=/opt/hpws/apache'
What about your php.ini file? Does it contain references at all to MySQL? The ini is in /opt/hpws/apache/conf/php.ini
My entries:
[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 08:15 AM
тАО10-24-2005 08:15 AM
Re: PHP and MySQL on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 08:19 AM
тАО10-24-2005 08:19 AM