- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pgsql module for PHP on my 11i box
Operating System - HP-UX
1752284
Members
5127
Online
108786
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
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
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
07-10-2002 06:38 AM
07-10-2002 06:38 AM
pgsql module for PHP on my 11i box
I'm having a tough time figuring out how to enable pgsql integration for the PHP bundled with Apache bundled with 11i (11.11).
I grabbed the source, and have compiled up a pgsql.sl module, put it in the "extensions" directory, ensured that the php.ini file reflects the correct extension_dir etc. Still, when I access test.php I continue to see no mention of pgsql support.
After running php-config I noted that the default extension_dir is /opt/apache/php/lib/php/extensions/no-debug-non-zts-20001214 -- so I coped my .sl files to this dir too...no joy.
Any suggestions? I'm getting a little anxious at this point.
I grabbed the source, and have compiled up a pgsql.sl module, put it in the "extensions" directory, ensured that the php.ini file reflects the correct extension_dir etc. Still, when I access test.php I continue to see no mention of pgsql support.
After running php-config I noted that the default extension_dir is /opt/apache/php/lib/php/extensions/no-debug-non-zts-20001214 -- so I coped my .sl files to this dir too...no joy.
Any suggestions? I'm getting a little anxious at this point.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2002 06:25 PM
07-10-2002 06:25 PM
Re: pgsql module for PHP on my 11i box
What I chose to do was put a reference copy of a compiled apache tree in /tmp, then grab and configure php, pointing --use-apache at the copy in /tmp.
I had to ensure that I used --enable-shared and --enable-gcc to make sure that gcc was linked in properly.
Once it was built, I replaced the stock copy of /opt/apache/libexec/libphp4.so with the .libs/libphp4.sl.0.0 file, and copied my modules over to the php extensions directory, then updating the php.ini file.
Finally I bundled all these into a depot file in case I get hit by the IT bus...
I had to ensure that I used --enable-shared and --enable-gcc to make sure that gcc was linked in properly.
Once it was built, I replaced the stock copy of /opt/apache/libexec/libphp4.so with the .libs/libphp4.sl.0.0 file, and copied my modules over to the php extensions directory, then updating the php.ini file.
Finally I bundled all these into a depot file in case I get hit by the IT bus...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP