Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 
share|improve this question
up vote 0 down vote accepted

The configure script isn't in a directory that is part of your shell path, so it's not executing, which is throwing an error (bash: configure: command not found). Instead of


it should be



phpize && ./configure && make && make install

Source: and

share|improve this answer

You didn't provide OS versions nor how do you know that mysql and php executes nor whether there are any messages in the Apache error log -- despite all these problems, I would guess because of 'yum' that you are running CentOS or Redhat Enterprise. Now, these are notorious for shipping old, old PHP versions that people replace with newer ones but yum might've installed the OS version. Say, if it's CentOS / RHEL 5 then you now have PHP 5.1... while previously you had 5.3. Of course if you are on RHEL 6 then this doesn't apply. In that case you need to provide us with errors.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.