Scripts

error: field ‘st_atim’ has incomplete type FFMPEG

While installing ffmpeg-php-0.6.0  on centos server, if you may came across the below error , like :: In file included from /usr/include/sys/stat.h:107, from /usr/include/php/main/php_streams.h:28, from /usr/include/php/main/php.h:395, from /root/ffmpeg-php-0.6.0/ffmpeg-php.c:40: /usr/include/bits/stat.h:91: error: field ‘st_atim’ has incomplete type /usr/include/bits/stat.h:92: error: field ‘st_mtim’ has

Script to install suphp in cpanel server

You can use this script to install suphp in cpanel server. #!/bin/bash DIR=/usr/local/src INSPATH=”/opt/suphp” #$1=$CUS CMDOPT=”–prefix=/opt/suphp –with-apr=/usr/local/apache/bin/ –with-apxs=/usr/local/apache/bin/apxs –with-logfile=/usr/local/apache/logs/suphp_log $CUS” #checkig previous easyapache profile if [ -e “/opt/suphp” ] || [ -e “/usr/local/apache/modules/mod_suphp.so” ]; then echo “Suphp already installed. Exiting…..!!!” exit

Fork me on GitHub