Operating System - HP-UX
1827697 Members
3706 Online
109967 Solutions
New Discussion

hpws_apache, php, ixMySQL

 
Saabi
Occasional Advisor

hpws_apache, php, ixMySQL

I've installed these components:
hpuxwsApache A.2.0.58.00 HP-UX Apache-based Web Server
ixMySQL A.07.00-5.0.22 MySQL Database

These are the latest versions of these softwares. I want to use WordPress, so I need to reach mysql from php. I've modified php.ini to include mysql.sl. When I start the apache, I got this message in the error log of apache:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/mysql.sl' - Can't open shared lib
rary: /opt/iexpress/mysql/lib/mysql/libmysqlclient.sl.14 in Unknown on line 0

It is right, because I only have libmysqlclient.sl.15! But what the hell should I do? I think I need a newer apache, but this is the latest version I could download from software.hp.com. To downgrade mysql is not an option. Which apache will work with libmysqlclient.sl.15 and when will these apache available?

Ave, Saabi.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: hpws_apache, php, ixMySQL

Shalom,

There have been a number of problems with this suite from HP. I've heard some reports that you can alter a configuration file for PHP to point it the right direction.

I'd suggest checking the SHLIB_PATH variable in the PHP startup script and make sure it matches the error message.

Start order: httpd, mysql, then php.

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
Saabi
Occasional Advisor

Re: hpws_apache, php, ixMySQL

You should right, but the PHP - in my case - is an apache module, so I can't start it after the httpd.

Ave, Saabi.