Tag Archives: centos

Php-fpm error after reinstall PHP

Error: lamnk@lamnk:~% sudo php-fpm start Starting php_fpm Error in argument 1, char 1: no argument for option – Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...] -a Run interactively -C Do not chdir to the script’s directory -c | Look for php.ini file in this directory -n No php.ini file will be [...]

Compile rtorrent on CentOS 64bit

I always fall for this error when compile rtorrent, so … : Error: checking for STUFF… configure: error: Package requirements (sigc++-2.0) were not met: No package ‘sigc++-2.0′ found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables STUFF_CFLAGS and STUFF_LIBS to avoid the [...]

Error compiling PHP on CentOS 64 bit

In order to compile PHP on 64 bit you need to use the option –with-libdir=lib64 otherwise you will stay forever with the following error checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… no checking for MySQL UNIX socket location… no checking for mysql_close in -lmysqlclient… no checking for mysql_error [...]