Hello,
So i recently decided to upgrade directadmin, php and mysql to the latest versions.
This process went fine and everything was running smooth.
However, i have an old webapp running on that server which is still in use that obviously didn't work anymore after the upgrade.
I admit, a stupid mistake
Now i tried to downgrade back to the old custombuild version and downgrade back to php 5.2.
This however fails horribly.
I tried to google as much as possible but with no luck.
The last step that i did now while i was typing was ./build update and ./build php n while having this in my options.conf file
After the last ./build php n command i got this.
I desperately need to revert back to the old php version, absolete, unsafe, it does not matter as this is a private domain/server.
Any help would be seriously appreciated!
System info: CentOS 6.6
Greetings and thank you in advance!
So i recently decided to upgrade directadmin, php and mysql to the latest versions.
This process went fine and everything was running smooth.
However, i have an old webapp running on that server which is still in use that obviously didn't work anymore after the upgrade.
I admit, a stupid mistake

Now i tried to downgrade back to the old custombuild version and downgrade back to php 5.2.
This however fails horribly.
I tried to google as much as possible but with no luck.
The last step that i did now while i was typing was ./build update and ./build php n while having this in my options.conf file
Code:
#PHP settings. default_php possible values - 5 or 6, php5_ver - 5.2, 5.3 or 5.4
default_php=5
php5_ver=5.2
php5_cli=yes
php5_cgi=no
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
ioncube=no
zend=no
#Possible values - 5.0, 5.1, 5.5
mysql=5.5
mysql_inst=no
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
#Possible values - 1.3, 2.0, 2.2, 2.4
apache_ver=2.2
secure_htaccess=no
harden-symlinks-patch=yes
...
After the last ./build php n command i got this.
Code:
/usr/local/directadmin/custombuild/php-5.2.17/ext/dom/node.c: In function 'dom_canonicalization':
/usr/local/directadmin/custombuild/php-5.2.17/ext/dom/node.c:1953: error: dereferencing pointer to incomplete type
/usr/local/directadmin/custombuild/php-5.2.17/ext/dom/node.c:1955: error: dereferencing pointer to incomplete type
make: *** [ext/dom/node.lo] Error 1
make: *** Waiting for unfinished jobs....
I desperately need to revert back to the old php version, absolete, unsafe, it does not matter as this is a private domain/server.
Any help would be seriously appreciated!
System info: CentOS 6.6
Greetings and thank you in advance!