PHP Page Stopped outputting content After Running "yum install php-devel" Command
Posted
by
stwhite
on Server Fault
See other posts from Server Fault
or by stwhite
Published on 2012-09-28T02:30:57Z
Indexed on
2012/09/28
3:40 UTC
Read the original article
Hit count: 236
This error is bizarre but after running the "yum install php-devel" command (after a long day of trying to install Facedetect and OpenCV for face detection) my site stopped functioning. The site uses mysql and php. When you hit the url, the page executes the mysql and the php, but it appears to randomly stop outputting the content of the page.
None of the code was changed and the site was working flawlessly prior to running the mentioned ssh command.
I do use output buffering in the site, but after removing the calls "ob_flush", "ob_end_flush" and "ob_start" it didn't appear to help—still having issues with the site.
Any ideas what this could be?
Here is output from terminal:
[myserver ~]# cd Facedetect-4b1dfe1
[myserver Facedetect-4b1dfe1]# phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
[myserver Facedetect-4b1dfe1]# configure
bash: configure: command not found
[myserver Facedetect-4b1dfe1]# phpize && configure && make && make install
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
bash: configure: command not found
bash: Read: command not found
[myserver Facedetect-4b1dfe1]# make
make: *** No targets specified and no makefile found. Stop.
[myserver Facedetect-4b1dfe1]# yum install php5-devel
© Server Fault or respective owner