Quote:
|
Originally Posted by KevinH Install your own PHP/Apache. The Zimbra one is not meant to be used outside of Zimbra. |
Thanks for your reply.
Actually 'am a little confused about "install your own PHP/Apache" as I thought that zimbra-apache packaged it's own php to work with zcs (zcs is the only server installed on the machine). I installed suse linux with it's php package which means that I should by right have two php running. Is this what you mean?
I have three php.ini listed on the server:
/etc/php.ini
/opt/zimbra/conf/php.ini
/opt/zimbra/php-5.0.5/lib/php.ini ( I created this dir and then dumped a php.ini copy there - because my phpinfo() pointed there as the configuration file path for php.ini)
phpinfo() shows the following:
Configure Command
'./configure' '--prefix=/opt/zimbra/php-5.0.5' '--with-apxs2=/opt/zimbra/httpd-2.0.54/bin/apxs' '--with-config-file=/opt/zimbra/conf/php.ini' '--with-pspell=/opt/zimbra/aspell-0.60.3'
Configuration File (php.ini) Path
/opt/zimbra/php-5.0.5/lib/php.ini
And these are the errors thrown at me when I installed phpmyadmin and oscommerce:
Error showed by phpmyadmin:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
Errror showed by oscommerce - catalog:
Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /opt/zimbra/httpd-2.0.54/htdocs/catalog/includes/application_top.php on line 33 (looks like a permission related error but I reckon it has to do with mysql connection)
I was able to connect to mysql via the konsole and create databases.
Running php -1 also listed no error.
Do I still need to install another instance of php and if not what do need to do?
Thanks.