NickTheGreek 160 Report post Posted June 14, 2017 αν και μπορεί κάποιος απλά να παίξει με CloudLinux όπου και διοατηρούνται repo για τόσο παλιές εκδόσεις PHP υπάρχουν και άλλοι τρόποι να έχεις PHP 5.2.17 μέσα από EasyAPache 3 https://www.interserver.net/tips/kb/install-php-5-2-latest-cpanel-server/ https://softescu.com/blog/knowledge-centre/how-install-php-52-cpanelwhm-1140-your-old-drupal-6x-drupal-cpanel-apache Quote Share this post Link to post Share on other sites
NickTheGreek 160 Report post Posted June 14, 2017 The latest versions of EasyApache has removed the ability to compile PHP 5.2 and thus most of the legacy Drupal 6.x fails to run properly (lots of random 404 errors). Here is how you get this back: yum install libcurl-devel libmcrypt libmcrypt-devel aspell aspell-devel tidy libtidy libtidy-devel libxslt libxslt-devel cd /var/cpanel/easy/apache/custom_opt_mods/ You need to get the last mod for EasyApache. You can do this by visiting this link. wget https://documentation.cpanel.net/download/attachments/362562/custom_opt_mod-PHP5217update.tar.gz tar -xzf custom_opt_mod-PHP5217update.tar.gz nano /var/cpanel/easy/apache/rawopts/all_php5 and add these options: --with-curl --with-gd --enable-exif --with-gettext --with-imap=/opt/php_with_imap_client/ --enable-mbstring --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr --enable-pdo=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-sqlite=shared --with-mime-magic --enable-soap --with-pspell --enable-wddx --with-xmlrpc --with-xsl=/opt/xslt/ --with-kerberos --with-curl --enable-zip --with-ttf --enable-gd-native-ttf --with-freetype-dir=/usr You can enable there any other relevant PHP modules you need. Then recompile Apache using Easy Apache from WHM. Go to step 3 “Please choose which specific PHP version(s) to build”. Then on the “PHP Versio n” screen chose “None” and continue to step 4, The “Short Options List” page you will see “PHP 5.2.17 support (no FastCGI)” listed. Check that box and continue your EasyApache installation like normal. Quote Share this post Link to post Share on other sites