Greetings.
I used RH's php.spec file for PHP 4.1.2, in order to build a custom distribution for PHP 4.3.1. I basically kept ALL the spec file as it was, but add to remove the debugger package, comment out the line for the patches, and also commented-out a section about confic_vars ...
Anywho, long story short, I managed to build the CLI (cgi) + Apache module.
Installation is fine, up until I test the whole thing ... As some of you might already know, RH PHP RPM is building numerous shared extensions, like mysql, imap, ldap, odbc, pgsql and snmp.
It seams like those were not build correctly, and I have no idea how to fix this.
There is what I get when trying to execute from the command line ;
[root@zesolution RPMS]# php
HTTP/1.0 0 X
Content-type: text/html
PHP Warning: Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './snmp.so' - ./snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
But hey, extensions are in /usr/lib/php4
[root@zesolution php4]# ls -la
total 1508
drwxr-xr-x 2 root root 4096 Apr 8 23:49 .
drwxr-xr-x 61 root root 24576 Apr 8 18:38 ..
-rwxr-xr-x 1 root root 1405641 Apr 8 23:03 imap.so
-rwxr-xr-x 1 root root 34365 Apr 8 23:03 ldap.so
-rwxr-xr-x 1 root root 41065 Apr 8 23:03 mysql.so
-rwxr-xr-x 1 root root 17313 Apr 8 23:03 snmp.so
Futhermore, take a look at the phpinfo data, right here ;
http://elbasta.ath.cx/web/info.php
How come I dont see any info about imap, ldap, pgsql, or even mysql ?
Thanks for any pointers, I would appreciate it.