PHP 5.0.4.art installation on x64 RHEL 4 box
Posted: Sun Dec 24, 2006 1:16 am
Dear members,
I've tried everything to avoid needing to post here, but i'm really stunned, can't figure out why. Back a while ago i've asked if they would support 64-bit packages here, Scott replied he ain't had a x64 machine yet. After that i compiled a php 5.1.4 version myself with everything in it that me and my customers need. That has been running on the production server since then without any problems. The only problem was that the damn plesk updates
did not work. So i always had to manually install them, but now a good while later, i want to sort this once and for all.
So i've tried to install php.5.0.4 from art in the atomic channel on the rhel 4 x64, plesk 8.0.1 TEST BOX. The installation goes fine, all files are configured correct. But when i try to start httpd, i get the following error:
Does this version of php simply not support x64 and i'm being a dummy to try, or is there a solution to this problem ?
Again, I've tried to avoid posting here, but i can't figure it out myself, so i do appreciate all additions and help a lot.
Thanks in advance,
Merry Christmas
I've tried everything to avoid needing to post here, but i'm really stunned, can't figure out why. Back a while ago i've asked if they would support 64-bit packages here, Scott replied he ain't had a x64 machine yet. After that i compiled a php 5.1.4 version myself with everything in it that me and my customers need. That has been running on the production server since then without any problems. The only problem was that the damn plesk updates

So i've tried to install php.5.0.4 from art in the atomic channel on the rhel 4 x64, plesk 8.0.1 TEST BOX. The installation goes fine, all files are configured correct. But when i try to start httpd, i get the following error:
Ok, so i check if the libphp5.so is there,$ service httpd start
Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory [FAILED]
Yep it's there, strange lets try to copy it to a few places and try to change the path in php.conf. Also tried to create a symbolic link /opt/httpd/modules on /etc/httpd/modules.$ locate libphp5.so
/etc/httpd/modules/libphp5.so
$ locate libphp5.so
/etc/httpd/modules/libphp5.so
/usr/lib64/httpd/modules/libphp5.so
/usr/lib/httpd/modules/libphp5.so
No luck, i've been through all configuration files, no luck, still the same start error.$ cat php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
#Tried them all
LoadModule php5_module modules/libphp5.so
#LoadModule php5_module /opt/httpd/modules/libphp5.so
#LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
#LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps
Does this version of php simply not support x64 and i'm being a dummy to try, or is there a solution to this problem ?
Again, I've tried to avoid posting here, but i can't figure it out myself, so i do appreciate all additions and help a lot.
Thanks in advance,
Merry Christmas