PDA

View Full Version : PHP not RUN


CleberDantas
04-25-2005, 09:50 PM
Hi,

I installed the DSM and when beginning the APACHE, appears the error below. To obtain to inicializar the apache, I had that # in line 2 of the MOD_PHP.CONF; Which the solution?

[root@L1A-7 /]# service httpd start
Syntax error on line 2 of /usr/local/apache/conf/mod_php.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/lib/libcurl.so.3: undefined symbol: idn_free
/etc/init.d/httpd start: httpd could not be started

MOD_PHP.CONF

## THESE LINES ARE NEEDED FOR PHP SUPPORT ##
LoadModule php4_module libexec/libphp4.so

<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
</IfModule>
#############################################

LeeJ
04-26-2005, 03:56 AM
We are sure that this is related to the server running Plesk before you installed DSM. you should check that curl and curl devel are installed on the machine and that they are the latest version.

Also be sure that php installed. All DSM packages have zvx in the rpm name.

CleberDantas
04-26-2005, 09:17 AM
Yes, CURL are installed on last version.

LeeJ
04-26-2005, 09:39 AM
Run the command below and paste the output.

rpm -qa | grep curl

CleberDantas
04-26-2005, 03:54 PM
Hi,

[root@L1A-7 root]# rpm -qa | grep curl
curl-7.12.1-4.rh9.zvx
curl-devel-7.12.1-4.rh9.zvx
[root@L1A-7 root]#

CleberDantas
04-26-2005, 03:55 PM
Hi,

The PHP:

[root@L1A-7 root]# rpm -qa | grep php
php-devel-4.2.2-17.2
asp2php-gtk-0.76.2-5
asp2php-0.76.2-5
dsm-php-4.3.10-7.rh9.zvx
dsmphp-4.3.11-1.rh9.zvx
[root@L1A-7 root]#

LeeJ
04-27-2005, 04:39 AM
The rpms below do not belong and need to be removed.
php-devel-4.2.2-17.2
asp2php-gtk-0.76.2-5
asp2php-0.76.2-5

Run the commands below.
rpm -e dsmphp --nodeps
yum install dsmphp

As stated in a previous post. You were running Plesk on this machine. We told you that you should not install on this machine and should install on a fresh redhat installation. We still suggest this as you are going to continue to have problems such as this because of package discrepencies.

CleberDantas
04-27-2005, 09:59 AM
DSMPHP re-installed.

The error continues. This server does not have plesk installed;

LeeJ
04-27-2005, 11:08 AM
Put in a support request and we will take a look. The server did have Plesk installed. Remember the PSA rpms?

LeeJ
04-27-2005, 11:12 AM
DSMPHP re-installed.

The error continues. This server does not have plesk installed;

Your wrote:
DECIDED! Removí all the packages that were of the PLESK, apache, mysql, etc and I installed the DSM! Debtor to all!

http://discuss.zervex.com/showthread.php?t=518

CleberDantas
04-27-2005, 11:27 AM
Hi,

It was what I said, the server currently does not have plesk installed. All plesk was removed. I removed all the packages and folders of plesk. The server was clean. But the PHP not wheel with the DSM. Some another suggestion?

Staff
04-27-2005, 11:46 AM
Your issues are clearly better addressed VIA our support system. They are specific to your machine (and all seem to stem from the fact that this machine wasn't a clean install from the start).

This thread is closed. While we do our best to field questions here, this is not a formal support channel.