Page 1 of 1

How to install PHP over old installation?

Posted: Thu Aug 07, 2003 1:04 am
by alexei
Sorry, this could be a stupid question.!
I installed PHP 4.3.2 with Zend Maximizer 2.10 for Mac OS X running Apche 1.3 wit iTools fro Tenon

All worked fine, but my hard drive started going bad, so I cloned the drive to a new one and everything tranferred well but PHP started behaving strangely, getting stuck.

Here are some errors from the log:

/usr/local/php/libphp4.so undefined reference to _XML_ErrorString expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_GetCurrentByteCount expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_GetCurrentByteIndex expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_GetCurrentColumnNumber expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_GetCurrentLineNumber expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_GetErrorCode expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_Parse expected to be defined in the executable
/usr/local/php/libphp4.so undefined reference to _XML_ParserCreate expected to be defined in the executable

I feel that I should recompile PHP from scratch, but I don't know if there is any procedure to remove previous installation, or I can just start all over.

Please help!
:(

Addition to PHP misbehaviour

Posted: Thu Aug 07, 2003 10:09 am
by alexei
I foung that my ZendOptimizer.so file got wrong permissions and fixed them.

But I also tried what Zend recommended in troubleshooting section:
ldd /usr/local/Zend/lib/Optimizer-2.1.0/php-4.3.2/ZendOptimizer.so

and got a responce: Command not found.

According to Zend it means that dynamic links are not working - How to make them work?