downgrading to php4

carlo_gra

Verified User
Joined
Aug 7, 2007
Messages
56
Hello, I've succesfully downgraded my server to php 4.4.9 (cgi-fgi) but now I've visualization problem into DirectAdmin Admin Area (half of screen is duplicated and without language definitions: I can read only variable name).


If I try to recompile php4 using cli:

./build php n

Here's last lines of errors:

Code:
/usr/local/directadmin/custombuild/php-4.4.9/main/internal_functions_cli.c:85: undefined reference to `php_startup_extensions'
main/internal_functions_cli.lo:(.data+0x0): undefined reference to `xml_module_entry'
main/internal_functions_cli.lo:(.data+0x4): undefined reference to `tokenizer_module_entry'
main/internal_functions_cli.lo:(.data+0x8): undefined reference to `basic_functions_module'
main/internal_functions_cli.lo:(.data+0xc): undefined reference to `sockets_module_entry'
main/internal_functions_cli.lo:(.data+0x10): undefined reference to `session_module_entry'
main/internal_functions_cli.lo:(.data+0x14): undefined reference to `posix_module_entry'
main/internal_functions_cli.lo:(.data+0x18): undefined reference to `overload_module_entry'
main/internal_functions_cli.lo:(.data+0x1c): undefined reference to `mysql_module_entry'
main/internal_functions_cli.lo:(.data+0x20): undefined reference to `mhash_module_entry'
main/internal_functions_cli.lo:(.data+0x24): undefined reference to `mcrypt_module_entry'
main/internal_functions_cli.lo:(.data+0x28): undefined reference to `mbstring_module_entry'
main/internal_functions_cli.lo:(.data+0x2c): undefined reference to `php_gettext_module_entry'
main/internal_functions_cli.lo:(.data+0x30): undefined reference to `gd_module_entry'
main/internal_functions_cli.lo:(.data+0x34): undefined reference to `php_ftp_module_entry'
main/internal_functions_cli.lo:(.data+0x38): undefined reference to `curl_module_entry'
main/internal_functions_cli.lo:(.data+0x3c): undefined reference to `ctype_module_entry'
main/internal_functions_cli.lo:(.data+0x40): undefined reference to `calendar_module_entry'
main/internal_functions_cli.lo:(.data+0x44): undefined reference to `bcmath_module_entry'
main/internal_functions_cli.lo:(.data+0x48): undefined reference to `php_zlib_module_entry'
main/internal_functions_cli.lo:(.data+0x4c): undefined reference to `pcre_module_entry'
main/internal_functions_cli.lo:(.data+0x50): undefined reference to `openssl_module_entry'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


I'm under Ubuntu 8.0.4 (32bit).

Have you got ideas?
 
Why downgrade to an eol product?



Customer request: it's dedicated server for customer that actually have php script that work only with php 4.x. I've informed about EOL this version of php and he said that is working on a new release of the site.


Thanks
 
Customer request: it's dedicated server for customer that actually have php script that work only with php 4.x. I've informed about EOL this version of php and he said that is working on a new release of the site.


Thanks

John? Have you got suggestions? :)
 
Searches on Google seem to show that this is a common error for PHP 4.4.x when zlib or mysql headers are missing. Make sure you installed the *-dev packages.
 
Back
Top