How to install PHP over old installation?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexei
Forum Newbie
Posts: 9
Joined: Wed Jul 09, 2003 5:44 pm
Location: Los Angeles, CA, USA

How to install PHP over old installation?

Post 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!
:(
alexei
Forum Newbie
Posts: 9
Joined: Wed Jul 09, 2003 5:44 pm
Location: Los Angeles, CA, USA

Addition to PHP misbehaviour

Post 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?
Post Reply