Help - Search - Members - Calendar
Full Version: Plesk 8.0.1 httpd problems
The Planet Forums > Control Panels > Plesk
pedrodj
[root@vps262 root]# yum update
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 8.0 RPMS
Finding updated packages
Downloading needed headers
php-mysql-0-5.0.4-13.rhel 100% |=========================| 5.7 kB 00:00
php-mbstring-0-5.0.4-13.r 100% |=========================| 5.4 kB 00:00
php-pear-0-5.0.4-13.rhel3 100% |=========================| 12 kB 00:00
php-odbc-0-5.0.4-13.rhel3 100% |=========================| 5.6 kB 00:00
php-ldap-0-5.0.4-13.rhel3 100% |=========================| 5.6 kB 00:00
php-0-5.0.4-13.rhel3.art. 100% |=========================| 7.5 kB 00:00
php-imap-0-5.0.4-13.rhel3 100% |=========================| 5.7 kB 00:00
php-devel-0-5.0.4-13.rhel 100% |=========================| 13 kB 00:00
php-pgsql-0-5.0.4-13.rhel 100% |=========================| 5.6 kB 00:00
php-dba-0-5.0.4-13.rhel3. 100% |=========================| 5.4 kB 00:00
php-ncurses-0-5.0.4-13.rh 100% |=========================| 5.4 kB 00:00
spamassassin-1-3.1.3-1.rh 100% |=========================| 14 kB 00:00
php-bcmath-0-5.0.4-13.rhe 100% |=========================| 5.4 kB 00:00
php-mhash-0-5.0.4-13.rhel 100% |=========================| 5.4 kB 00:00
php-snmp-0-5.0.4-13.rhel3 100% |=========================| 5.5 kB 00:00
php-xml-0-5.0.4-13.rhel3. 100% |=========================| 5.6 kB 00:00
php-soap-0-5.0.4-13.rhel3 100% |=========================| 5.5 kB 00:00
php-xmlrpc-0-5.0.4-13.rhe 100% |=========================| 5.4 kB 00:00
php-gd-0-5.0.4-13.rhel3.a 100% |=========================| 5.5 kB 00:00
Resolving dependencies
Dependencies resolved
I will do the following:
[update: php-mysql 5.0.4-13.rhel3.art.i386]
[update: php-mbstring 5.0.4-13.rhel3.art.i386]
[update: php-pear 5.0.4-13.rhel3.art.i386]
[update: php-ldap 5.0.4-13.rhel3.art.i386]
[update: php-odbc 5.0.4-13.rhel3.art.i386]
[update: php 5.0.4-13.rhel3.art.i386]
[update: php-imap 5.0.4-13.rhel3.art.i386]
Is this ok [y/N]: y
Downloading Packages
Getting php-mysql-5.0.4-13.rhel3.art.i386.rpm
php-mysql-5.0.4-13.rhel3. 100% |=========================| 151 kB 00:00
Getting php-mbstring-5.0.4-13.rhel3.art.i386.rpm
php-mbstring-5.0.4-13.rhe 100% |=========================| 1.2 MB 00:01
Getting php-pear-5.0.4-13.rhel3.art.i386.rpm
php-pear-5.0.4-13.rhel3.a 100% |=========================| 359 kB 00:00
Getting php-ldap-5.0.4-13.rhel3.art.i386.rpm
php-ldap-5.0.4-13.rhel3.a 100% |=========================| 44 kB 00:00
Getting php-odbc-5.0.4-13.rhel3.art.i386.rpm
php-odbc-5.0.4-13.rhel3.a 100% |=========================| 58 kB 00:00
Getting php-5.0.4-13.rhel3.art.i386.rpm
php-5.0.4-13.rhel3.art.i3 100% |=========================| 3.8 MB 00:05
Getting php-imap-5.0.4-13.rhel3.art.i386.rpm
php-imap-5.0.4-13.rhel3.a 100% |=========================| 468 kB 00:00
Running test transaction:
Test transaction complete, Success!
php-imap 100 % done 1/14
php-odbc 100 % done 2/14
php-ldap 100 % done 3/14
php-mbstring 100 % done 4/14
php-mysql 100 % done 5/14
warning: /etc/httpd/conf.d/php.conf created as /etc/httpd/conf.d/php.conf.rpmnew
warning: /etc/php.ini created as /etc/php.ini.rpmnew
php 100 % done 6/14
php-pear 100 % done 7/14
Completing update for php-mysql - 8/14
Completing update for php-mbstring - 9/14
Completing update for php-pear - 10/14
Completing update for php-ldap - 11/14
Completing update for php-odbc - 12/14
Completing update for php - 13/14
Completing update for php-imap - 14/14
Updated: php-mysql 5.0.4-13.rhel3.art.i386 php-mbstring 5.0.4-13.rhel3.art.i386 php-pear 5.0.4-13.rhel3.art.i386 php-ldap 5.0.4-13.rhel3.art.i386 php-odbc 5.0.4-13.rhel3.art.i386 php 5.0.4-13.rhel3.art.i386 php-imap 5.0.4-13.rhel3.art.i386
Transaction(s) Complete


then

[root@vps262 root]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: cannot open shared object file: No such file or directory
[FAILED]
[root@vps262 root]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: cannot open shared object file: No such file or directory
[FAILED]


some suggestion ?
pedrodj
aolved! icon_wink.gif

just edit php.conf

LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
DirectoryIndex index.php index.php3

instead of

LoadModule php4_module modules/libphp4.so

icon_wink.gif
pedrodj
how can i revert to php 4 ?

php 5 have some nasty bugs with some php scripts...
Squire
PHP 5 doesn't have bugs. Scripts just have to be written to use it. There are a handful of major differences between PHP 5 and PHP 4.

To revert back you're probably going to be better off to do so manually rather than yum it.
pedrodj
QUOTE (Squire)
PHP 5 doesn't have bugs.  Scripts just have to be written to use it.  There are a handful of major differences between PHP 5 and PHP 4.

To revert back you're probably going to be better off to do so manually rather than yum it.



I need to come back to latest PHP 4 version for PLESK: someone can help me ?

PHP 5.0.4 bring so many troubles to my customers icon_sad.gif
JLChafardet
I will message you an url where you can download the ART rpms of php 4.4.2 you will have to remove first the actual rpm's you have installed, then proceed with the rollback to 4.4.2.

regards,
Raul01
PHP 4.4.2 has been installed with Plesk 8.0.1 with one reason: be compatible all web applications. Why do you guys upgrade?
Galactic Zero
Reason for upgrading is security, with every upgrade/patch it usually enhances security. For this reason I trust ART's repo for php, mysql etc. as he is one of the founders of Plesk and trys very hard to make his distro compatable with PSA.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.