Apache/MySQL/PHP Issue - PHP not loading.

Posted by Darkfire001, 06-28-2008, 01:36 PM
Hi Guys, Any and all help is appreciated. I've got a server that was running Apache 2.0/PHP 5.2.5 & MysQL 5.0 just fine, however I needed to upgrade to a newer version of MySQL. So I uninstalled MySQL 5.0 and installed MySQL 5.1, copied the MySQLlibs over, and recompiled Apache/PHP with easyupdate. Apache & MysQL both start/run fine without errors, however PHP files don't load. Just get black pages (HTML works fine obviously). I went ahead and updated to Apache 2.2 & PHP 5.2.6 while I was at it, but that doesn't change things. I'm not sure why uninstalling MysQL & reinstalling would break any dependencies, but looks like thats the case. Perhaps I need to reinstall some libraries? Or would it be easier just to reinstall Apache/PHP entirely? I have no data. Thanks

Posted by activelobby4u, 06-28-2008, 03:16 PM
The mysql upgrade might have broken the php-mysql client. You will need to recompile php with mysql support once again

Posted by zacharooni, 06-28-2008, 03:19 PM
Check /usr/local/apache/logs/error_log , and error_log in that directory. You may also want to have a look at the handlers in /etc/httpd/conf/php.conf

Posted by Darkfire001, 06-28-2008, 06:46 PM
Slight issue with php.conf that I fixed, recompiled apache and PHP is working fine.....except with Zend Optimizer. PHP pages load fine now, but for some reason Zend Optimizer (with apache 1.3 for simplicity's sake now) just shows blank pages. I've checked PHP info and Zend seems to be loading fine & is enabled (although report_zend_debug is on....) I just get blank pages when trying to load Zend pages. Any ideas? Thanks.

Posted by activelobby4u, 06-29-2008, 03:52 AM
try the latest version of zend

Помог ли вам данный ответ?

 Распечатать статью

Также читают

Need PHP5 Developer for open source web game project

Posted by openwars, 01-16-2008, 04:54 PMHello hxxp://sf.net/projects/modulargaming is our...

Protection against shell scripts ?

Posted by bin_asc, 09-14-2007, 12:24 PMI was wondering how do you guys protect your servers...

Dataphorce update

Posted by AL-Benjamin, 09-27-2001, 12:58 PMHi there, this is really just an update to the...

Question for Nameserver

Posted by tinhnho, 07-16-2007, 11:57 PMHi everyone, I installed DA, and setup my ip...

grsec WARNING: No module mptscsi found for kernel 2.6.22.9-grsec, continuing anyway

Posted by uploadalerts, 03-27-2008, 04:46 PMHi, I see the following error, while trying to...