Page 1 of 1

php 5.2.6 installation problems

Posted: Tue Sep 23, 2008 12:15 am
by sss000_007
i have installed php 5.2.6 in my system but when I give the php command it returns the following error
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: U�����SV�: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library :? :? '/php/extensions/no-debug-non-zts-20020429/curl.so' - ld.so.1: php: fatal: libcurl.so.3: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/dom.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/dom.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/exif.so' - ld.so.1: php: fatal: '/php/extensions/no-debug-non-zts-20020429/exif.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/ftp.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/ftp.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: U�����SVW�: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/ldap.so' - ld.so.1: php: fatal: relocation error: file /php/extensions/no-debug-non-zts-20020429/ldap.so: symbol empty_string: referenced symbol not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/mbstring.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/mbstring.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/odbc.so' - ld.so.1: php: fatal: relocation error: file /php/extensions/no-debug-non-zts-20020429/odbc.so: symbol empty_string: referenced symbol not found in Unknown on line 0
PHP Warning: PHP Startup: U�����SV�: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/pdo.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/pdo.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/shmop.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/shmop.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/soap.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/soap.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/sockets.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/sockets.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/sysvmsg.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/sysvmsg.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/sysvsem.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/sysvsem.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/sysvshm.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/sysvshm.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/php/extensions/no-debug-non-zts-20020429/xmlreader.so' - ld.so.1: php: fatal: /php/extensions/no-debug-non-zts-20020429/xmlreader.so: open failed: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: U�����SV�: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
:? :?
Ps:- although it is saying no such file or directory , the files are there itself , i need almost all of these extentions . also the OS is solaris :? :?

Re: php 5.2.6 installation problems

Posted: Thu Nov 06, 2008 8:50 pm
by FijiSmithy
Sounds like a PATH or a permissions problem.
Does your php.ini file have that ext dir in it?

Re: php 5.2.6 installation problems

Posted: Fri Nov 07, 2008 12:12 am
by ttippmann
I had to downgrade my php to run a script. I am still on php 4