gpan
Nov 28 2005, 09:58 AM
The PHP Development Team would like to announce the immediate release of PHP 5.1.1.
This is a regression correction release aimed at addressing several issues introduced by PHP 5.1.0, the core changes as follows:
Native date class is withdrawn to prevent namespace conflict with PEAR's date package.
Fixed fatal parse error when the last line of the script is a PHP comment.
eval() hangs when the code being evaluated ends with a comment.
Usage of {$var} in PHP 5.1.0 resulted in the output of {$var} instead of the $var variable's value enclosed in {}.
Fixed inconsistency in the format of PHP_AUTH_DIGEST between Apache 1 and 2 sapis.
Improved safe_mode/open_basedir checks inside the cURL extension.
The complete details about all of the changes can be found in the PHP 5 ChangeLog.
The following packages are currently available for RHEL3, additional ones for RHEL4/CentOS 4 will follow shortly.
These can be downloaded from
http://mirror.cheetaweb.com/redhat/3ES/i386/RPMS.php51
MD5 checksums, for those wanting to verify:
84a7a1bbfb45ae9c9ef4f5ac807c6eeb php-5.1.1-1.1.rhel3.ct.i386.rpm
13eb468c525f402d070f898c90a43d33 php-bcmath-5.1.1-1.1.rhel3.ct.i386.rpm
92039e6e6c4cc31ff49555d16249618d php-dba-5.1.1-1.1.rhel3.ct.i386.rpm
848ea4c05f3d61318e64a9fa85168b8f php-devel-5.1.1-1.1.rhel3.ct.i386.rpm
4b02c3d31352a92caf447be8d407880d php-imap-5.1.1-1.1.rhel3.ct.i386.rpm
0f38d17dd28647a0104e626401360f1a php-ldap-5.1.1-1.1.rhel3.ct.i386.rpm
bf81d050372766d2a886abe53351eff4 php-mbstring-5.1.1-1.1.rhel3.ct.i386.rpm
bbbf7eef15a516c33c7d9b4cb6aeec2a php-mysql-5.1.1-1.1.rhel3.ct.i386.rpm
be694376b15013f1be5705b5a79441c6 php-ncurses-5.1.1-1.1.rhel3.ct.i386.rpm
204ea418bc37ef621a11a391a78a61d1 php-odbc-5.1.1-1.1.rhel3.ct.i386.rpm
0fc899c8b7d18bfb8877a21fb0c4a569 php-pear-5.1.1-1.1.rhel3.ct.i386.rpm
ff9d23925d56e2bfde5663c16c2554d5 php-pgsql-5.1.1-1.1.rhel3.ct.i386.rpm
c3ffa16e78f1e089bcc3d8cea205ecfa php-snmp-5.1.1-1.1.rhel3.ct.i386.rpm
b2e19c39dc73e3ed6e4e0802af166e29 php-soap-5.1.1-1.1.rhel3.ct.i386.rpm
d859ce697c4c43ef0509158c5fd21fff php-xml-5.1.1-1.1.rhel3.ct.i386.rpm
2919d5892a1491cde71eeb828397b149 php-xmlrpc-5.1.1-1.1.rhel3.ct.i386.rpm
sparkyz
Nov 30 2005, 07:09 AM
Sorry for the stupid question; but is mcrypt in here anywhere. I didn;t see it as a spearate package; but maybe it's part of the main package?
Thanks GPAN,
Clark
gpan
Nov 30 2005, 07:13 AM
mcrypt isn't part of this package as published - I can provide it though if you want?
sparkyz
Nov 30 2005, 07:45 AM
Yeah, that would be great my friend. I use mcrypt in a lot of e-commerce stuff. I suppose I could go sort it out myself; but you're stuff is always so reliable, if you're willing, I'd rather stick with that for the sake of consistency. I'm still (5 years later) fuzzy on the Ensim internals and I'm not sure I'd get it the way it needs to be across the board.
Thanks,
Clark
nakedmoon
Dec 1 2005, 06:37 AM
after upgrading on Ensim Pro 4.0.3-22.rhel.3ES, from PHP 5.0.3 TO php 5.1.1 using cheetaweb rpms, i have "Internal Server Error" on al virtual site with "HIGH SECURITY ENABLED" , "[Thu Dec 01 13:35:47 2005] [error] [client ....] Premature end of script headers: php-script" reading /var/log/httpd/error_log for each site with "Internal Server Error". All php needed libraries are loaded correctly , "php -v" return the correct version without errors.
Thanks for support
gpan
Dec 1 2005, 11:46 AM
Did you resave sites thru maintenance mode, and have you cchecked chroot php?
nakedmoon
Dec 2 2005, 03:57 AM
i have launched after rpms update:
set_pre_maintenance
set_maintenance
set_post_maintenance
service webppliance restart
with no errors.
then i resaved all sites, but "Premature end of script headers: php-script" error again.
How i can manually chroot php ?
Thanks
gpan
Dec 2 2005, 04:24 AM
Do this
cat /usr/bin/php-cgi > /home/virtual/FILESYSTEMTEMPLATE/apache/usr/bin/php
Let me know if this fixes your issue.
nakedmoon
Dec 2 2005, 07:43 AM
no.
Very thanks for your reply
gpan
Dec 2 2005, 09:23 AM
For your domain name try
cat /usr/bin/php-cgi > /home/virtual/domain.com/fst/usr/bin/php
If not, drop me a PM and I'll look
nakedmoon
Dec 2 2005, 10:51 AM
very nice !!! now work great...
Why ensim do not propagate the changes in :
/home/virtual/FILESYSTEMTEMPLATE/ ???
Very thanks, dude
nrr
Dec 13 2005, 11:01 PM
gpan, did you ever get this up for REH4?
Thanks!
MoFlow
Dec 14 2005, 06:56 AM
Do these RPMs work on non-ensim RHEL3 systems?
norther
Dec 19 2005, 03:28 AM
Really strange error message (when typing php -v as a site admin):
CODE
PHP Warning: PHP Startup: È]!: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
I upgraded from PHP 5.0.3:
CODE
# rpm -e php-xsl php-imagick php-mcrypt php-mhash
# rpm -Uvh php-*.rpm
# set_pre_maintenance
# set_maintenance
# set_post_maintenance
# service webppliance restart
gpan
Dec 19 2005, 04:26 AM
Check if you have anything like ioncube, zend, eaccelerator installed and not updated?
T-Nets
Jan 14 2006, 05:09 PM
Hello
I installed the rpms and get the following error
when I try to start httpd
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: undefined symbol: xmlOutputBufferCreateFilenameDefault
Can anybody help me ?
Thanx T-Nets
gpan
Jan 15 2006, 08:27 AM
Upgrade libxml to 2.6 - rpms on dag.wieers.com/packages/
Bobo
Jan 16 2006, 07:13 PM
Gpan, and others,
I am wishing to upgrade to PHP5.1 and I HAVE THESE currently installed.
php-domxml-4.3.10-1.1.rhel3.ct
php-mhash-4.3.10-1.1.rhel3.ct
php-ldap-4.3.10-1.1.rhel3.ct
php-odbc-4.3.10-1.1.rhel3.ct
php-xslt-4.3.10-1.1.rhel3.ct
php-mysql-4.3.10-1.1.rhel3.ct
php-4.3.10-1.1.rhel3.ct
php-mbstring-4.3.10-1.1.rhel3.ct
php-pgsql-4.3.10-1.1.rhel3.ct
php-debuginfo-4.3.10-1.1.rhel3.ct
php-imagick-4.3.10-1.1.rhel3.ct
php-xmlrpc-4.3.10-1.1.rhel3.ct
php-mcrypt-4.3.10-1.1.rhel3.ct
php-imap-4.3.10-1.1.rhel3.ct
php-snmp-4.3.10-1.1.rhel3.ct
webppliance-mod_php-frontend-4.0.3-22.rhel.3ES
php-devel-4.3.10-1.1.rhel3.ct
webppliance-mod_php-4.0.3-22.rhel.3ES
The RPMs in bold are NOT included with GPAN's package.
More precisely, this is the list that is INSTALLED BUT NOT PRESENT IN NEW GPAN PACKAGE
php-domxml-4.3.10-1.1.rhel3.ct
php-mhash-4.3.10-1.1.rhel3.ct
php-xslt-4.3.10-1.1.rhel3.ct
php-debuginfo-4.3.10-1.1.rhel3.ct
php-imagick-4.3.10-1.1.rhel3.ct
webppliance-mod_php-frontend-4.0.3-22.rhel.3ES
webppliance-mod_php-4.0.3-22.rhel.3ES
The question is: what should I do here to upgrade to PHP 5.1?
1) Should I remove these, then upgrade the rest based on the RPMs provided by Gpan?
php-domxml-4.3.10-1.1.rhel3.ct
php-mhash-4.3.10-1.1.rhel3.ct
php-xslt-4.3.10-1.1.rhel3.ct
php-debuginfo-4.3.10-1.1.rhel3.ct
php-imagick-4.3.10-1.1.rhel3.ct
webppliance-mod_php-frontend-4.0.3-22.rhel.3ES
webppliance-mod_php-4.0.3-22.rhel.3ES
2) or should I upgrade only the RPMs already installed and leave the above untouched?
3) Where can I get the PHP 5.1 rpms that would allow me to upgrade this list to 5.1?
php-domxml-4.3.10-1.1.rhel3.ct
php-mhash-4.3.10-1.1.rhel3.ct
php-xslt-4.3.10-1.1.rhel3.ct
php-debuginfo-4.3.10-1.1.rhel3.ct
php-imagick-4.3.10-1.1.rhel3.ct
webppliance-mod_php-frontend-4.0.3-22.rhel.3ES
webppliance-mod_php-4.0.3-22.rhel.3ES
4) Would the 5.1 RPMs Gpan provided be able to co-exist with these?
Your advice will be welcome. Urgent!
I am on Ensim 4.0.3-22.rhel.3ES
Thanks.
Bobo.
Bobo
Jan 16 2006, 10:41 PM
I managed to finally upgrade thanks to Gpan help in another thread.
However, The sites are still having issues because all PHP scripts cannot load. I get blank pages with the following error message in the error.log.
QUOTE
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/xmlrpc.so' - /usr/lib/php4/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0, referer:
http://www.domain.com/index2.shtml
I tried changing the path /usr/lib/php4 in PHP.INI into /usr/lib/php5. BUT this does not work because I see no /usr/lib/php5 folder at all in this area.
It seems no folder was created or what?
Can anyone help?
norther
Jan 17 2006, 12:52 AM
RPM's should have created new file php.ini.rpmnew. Just copy that over the over the php.ini and merge changes.
nf-dexter
Jan 19 2006, 07:15 AM
Hi gpan and others,
I have attempted to upgrade php using gpan's rpms.
After the upgrade i tried to start httpd but got the exact same error as T-Nets described above:
QUOTE
Hello
I installed the rpms and get the following error
when I try to start httpd
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: undefined symbol: xmlOutputBufferCreateFilenameDefault
Can anybody help me ?
Thanx T-Nets
I then searched for the packages gpan advised to upgrade:
QUOTE
Upgrade libxml to 2.6 - rpms on dag.wieers.com/packages/
When i could not find these packages for my system i put in a trouble ticket at EV1 asking them for help. As usual they tried and help, by doing the following:
QUOTE
It looks like you are using libphp5.so We have change the /etc/httpd/conf.d/php.conf to LoadModule php5_module modules/libphp5.so And apache is running. Please let us know if you are still having issues.
At this moment it seems php is still not setup correctly. When i try to access a php page i see an internal server error. I tried to run the server through maintenance mode but it seems the server cannot exit maintenance mode.
I hope gpan (or others) will be able to help.
Prior to the attempted upgrade we were using 4.3.9 on Esnim 4.0.4
Thanks in advance for your time.
Kind regards,
Dexter
ElfinStrider
Jan 19 2006, 04:05 PM
QUOTE (gpan)
Upgrade libxml to 2.6 - rpms on dag.wieers.com/packages/
Assuming you mean libxml2 ?
Located at:
http://dag.wieers.com/packages/libxml2/
ElfinStrider
Jan 19 2006, 04:30 PM
QUOTE (nf-dexter)
At this moment it seems php is still not setup correctly. When i try to access a php page i see an internal server error. I tried to run the server through maintenance mode but it seems the server cannot exit maintenance mode.
I hope gpan (or others) will be able to help.
Prior to the attempted upgrade we were using 4.3.9 on Esnim 4.0.4
Thanks in advance for your time.
Dexter
Did you ever get your issue figured out Dexter?
nf-dexter
Jan 19 2006, 05:20 PM
ElfinStider: No i have not been able to solve the problem yet. At this moment i am still not able to use php on this server, also the ensim control panel is not accessable. The server is not coming out of maintenance mode, so it seems. See the following:
QUOTE
[root@ensim rpm]# set_pre_maintenance
[root@ensim rpm]# set_maintenance
[root@ensim rpm]# set_post_maintenance
[root@ensim rpm]# service webppliance restart
Shutting down webppliance: [ OK ]
Starting exit_post_maintenance
Maintenance State is : 4
quotaoff: quotactl on /dev/hda5 [/]: No such process
quotaoff: quotactl on /dev/hda5 [/]: No such process
Upgrading complete, 1 domains skipped
Exiting maintenance mode[FAILED]
Could not exit the post maintenance state
When i check for the PHP version i get the right version number:
QUOTE
[root@ensim rpm]# php -v
PHP 5.1.1 (cli) (built: Dec 1 2005 23:00:44)
Copyright © 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2005 Zend Technologie
Do you or anyone else recognise this problem?
Thank you in advance for your help.
Regards,
Dexter
ElfinStrider
Jan 19 2006, 06:16 PM
Well Dextor, I've had a couple of issues with sites on this one. I'm pretty sure I got 5.1.1 working alright though, but because of some instability with some of our PHP sites, I've rolled back to the 4.x .
You might want to do the same.
Also, since your server isn't coming out of maintenance mode, you might have some other problem going on.
I'd put in a trouble ticket for that, just to get things back online. Backup your virtual sites and do a restore.
nf-dexter
Jan 19 2006, 07:17 PM
I am currently planning to do a restore. But before doing that i am looking if i can solve this issue. Do you have a detailed explanation how to roll back php to, for example 4.3.9?
Hope it wont have to come down to doing a restore.
Dexter
ElfinStrider
Jan 19 2006, 07:46 PM
Had you asked me that an hour ago, it would have been fresh in my mind. . . I'll see about putting together a 'quick' how-to.
Still, you might want to wait until Gpan can chime in. He might be able to fix your problem with 5.1.1 .
nf-dexter
Jan 19 2006, 08:08 PM
Hi again,
If you would be so kind as to put together a how-to i would be thankfull.
I am actually looking for some information from Gpan about this. Hopefully he can help me or at least point me in the right direction.
I have in fact not touched anything since the problem first ocurred, because i want to wait for some advice from Gpan and maybe others.
The server in question has only one site on it that is using php for some elements on one of its pages. It is not a major problem that needs to be fixed NOW...........but a fix would be most welcome!
Thanks in advance for putting together that how-to.
Regards, Dexter
ElfinStrider
Jan 19 2006, 08:22 PM
Well m'dear sire, I preface with with a certain feeling that Gpan will probably be able to solve your problems as soon as he has a moment.
If you want to step back, I've posted to how-to that worked for me in bringing my sites back to PHP 4.4.0 and I have to say I've learned a few things on the road.
Here's the thread,
http://forum.ev1servers.net/showthread.php?t=60283
Good luck
Dan65
Jan 22 2006, 05:43 PM
I have attempted to upgrade php using gpan's rpms everything went fine without errors.
After the upgrade i can not login to Administrator Control Panel of VBulletin Forum Version 2.3.0, which is running on my server.
Every time i try to log in into the Administrator Control Panel i get get back to the log in panel.
Any idea how to solve that problem ?
vdx
Jan 25 2006, 09:19 AM
I've followed this topic and used Gpan's RPMs and they worked like a charm on a CentOS 4.1 test server with Ensim Pro 4.1.0-8.
Is there a easy way to get MySQLi extensions working?
I've tried to follow this topic (off course with the right source version) but I got stuck on a mysql library configure error:
http://forum.ev1servers.net/showthread.php...ighlight=MySQLi
Thanks in advance!
nf-dexter
Jan 25 2006, 09:35 AM
Hi Elfinstrider, thnx for posting the how to roll back tutorial, although i have not used it i want to thank you for that. I have tried to get the server out of maintenance mode and it seems that i have succeeded in that. Ensim is working again and when i php -v i get the correct version of php (5.1.1).
But not all is perfect yet. It seems that php is not working for none of the sites on the server, but phpmyadmin is working without problems.
Any idea what's going on?
Thanks in advance for your reply.
Regards,
Dexter
ElfinStrider
Jan 25 2006, 12:00 PM
QUOTE (nf-dexter)
But not all is perfect yet. It seems that php is not working for none of the sites on the server, but phpmyadmin is working without problems.
Any idea what's going on?
Well, to tell the truth, I have a lot of sites running PHP on one of my boxes and doing the 5.1.1 upgrade seemed to screw with 80% of them. PHPmyAdmin and Squirrelmail both worked fine, but most of these sites just weren't PHP5 compatible, (even though some worked under 5.05 and not 5.04).
Doing the rollback and troubleshooting my scripts is what I've had to do. I have one box running PHP4 and all other boxes running PHP5. I am doing the migration betweeen the two as people need.
I know I could run both on one server, but there's enough load to spread anyway.
If you want to stick with 5.11, turn on your error reporting in PHP.ini and see what's going on with those broken sites. It's probably just a lot of little things.
If not, you still might want to consider the rollback.
Hope this helps mate,
-SCS
nf-dexter
Jan 25 2006, 05:21 PM
Thnx again for your reply,
I tried some to run some small php applications on one of the sites, but with no succes Then i tried a simple file that should work in my opinion, i made a phpinfo file and placed it under the webdirectory of one of the sites on the server. When i try to acces that file using my webbrowser i get a internal server error. It seems to me that if php is working properly on my sites, it should be able to display the info file.
I am concidering the rollback though, just want to see if i can get this 5.1.1 installation.
Regards
Dexter.
ElfinStrider
Jan 25 2006, 07:13 PM
QUOTE (nf-dexter)
Thnx again for your reply,
I tried some to run some small php applications on one of the sites, but with no succes Then i tried a simple file that should work in my opinion, i made a phpinfo file and placed it under the webdirectory of one of the sites on the server. When i try to acces that file using my webbrowser i get a internal server error. It seems to me that if php is working properly on my sites, it should be able to display the info file.
I am concidering the rollback though, just want to see if i can get this 5.1.1 installation.
Regards
Dexter.
Certainly sounds like PHP is not working on your site at all. If you're getting an Internal Server Error, there's something messed up in your configuration somewhere.
Check your Error logs and see if that helps narrow it down.
nf-dexter
Jan 26 2006, 08:33 PM
I'm going to check the error logs, keep in mind that phpmyadmin works fine. It also uses php and is functioning without problems.
Dexter
gpan
Jan 26 2006, 08:36 PM
Did you echo php-cgi binary into the /usr/bin/php ?
Do you get internal server errors in compatibility mode.
nf-dexter
Jan 26 2006, 09:29 PM
Hi,
I did register php-cgi binary in /usr/bin/php. I just logged in through the Ensim control panel to see if this site was in 3.1 compatibility mode and it was not, it was in high security mode. So i switched it to 3.1 compatibility and the php pages on that site worked.
My next question would be.........what can i do to run php scripts in high security mode?
Thanks in advance for your help.
Dexter
norther
Jan 27 2006, 12:48 AM
We modified the /var/www/interpreters/php-script -file and changed php to php-cgi. Try to change this in your high-security site and see if it works. Same solution is, however, to cat php-cgi over php in the site's chrooted /usr/bin/ like gpan informed.
troyoz
Jan 28 2006, 12:15 AM
Have tryed to install php5.1 rpms but when I do rpm -Uvh * I get the following error
[root@ns0 php5.1]# rpm -Uvh *.rpm
warning: package php = 5.1.1-1.1.rhel3.ct was already added, replacing with php <= 5.1.1-1.1.rhel4.ct
error: Failed dependencies:
php = 4.4.0-1.0.rhel4.ct is needed by (installed) php-xslt-4.4.0-1.0.rhel4.ct.i386
[root@ns0 php5.1]
So what am I doing wrong. The rpms I am using are
php-5.1.1-1.1.rhel3.ct.i386.rpm php-mbstring-5.1.1-1.1.rhel4.ct.i386.rpm php-snmp-5.1.1-1.1.rhel4.ct.i386.rpm
php-5.1.1-1.1.rhel4.ct.i386.rpm php-mcrypt-5.1.1-1.1.rhel4.ct.i386.rpm php-soap-5.1.1-1.1.rhel4.ct.i386.rpm
php-bcmath-5.1.1-1.1.rhel4.ct.i386.rpm php-mhash-5.1.1-1.1.rhel4.ct.i386.rpm php-xml-5.1.1-1.1.rhel4.ct.i386.rpm
php-dba-5.1.1-1.1.rhel4.ct.i386.rpm php-mysql-5.1.1-1.1.rhel4.ct.i386.rpm php-xmlrpc-5.1.1-1.1.rhel4.ct.i386.rpm
php-devel-5.1.1-1.1.rhel4.ct.i386.rpm php-ncurses-5.1.1-1.1.rhel4.ct.i386.rpm
php-gd-5.1.1-1.1.rhel4.ct.i386.rpm php-odbc-5.1.1-1.1.rhel4.ct.i386.rpm
php-imap-5.1.1-1.1.rhel4.ct.i386.rpm php-pear-5.1.1-1.1.rhel4.ct.i386.rpmphp-ldap-5.1.1-1.1.rhel4.ct.i386.rpm php-pgsql-5.1.1-1.1.rhel4.ct.i386.rpm
gpan
Jan 28 2006, 07:39 AM
You need to rpm -e php-xslt rpm.
troyoz
Jan 29 2006, 06:07 AM
Thanks for that gpan that worked but my only other issue is I use your centeral squirrel mail and that has failed by upgrading php. Is there any updates I can apply that would fix this please
norther
Jan 30 2006, 03:26 AM
It's a bug in Squirrelmail but easy to fix.
If you have gpan's central squirrelmail installed, just modify the file /usr/share/squirrelmail/functions/imap_general.php. Find a function "sqimap_append" (somewhere around row 900) and change
fputs ($imap_stream, sqimap_session_id() . " APPEND "$sent_folder" (Seen) {$length}rn");
to
fputs ($imap_stream, sqimap_session_id() . " APPEND "$sent_folder" (Seen) {" . $length . "}rn");
AdamS
Jan 31 2006, 10:38 PM
QUOTE (nf-dexter)
...My next question would be.........what can i do to run php scripts in high security mode?
Thanks in advance for your help.
Dexter
Please forgive me, but did you copy the php-cgi binary over the /usr/bin/php or the /home/virtual/siteXX/fst/usr/bin/php?
cat /usr/bin/php-cgi > /home/virtual/FILESYSTEMTEMPLATE/apache/usr/bin/php
This bash script should update all sites.
CODE
#!/bin/bash
cd /home/virtual
sitelist=`ls | grep site`
echo
for i in $sitelist; do
cat /usr/bin/php-cgi > /home/virtual/$i/fst/usr/bin/php
echo updating $i
done
Anyways Gpan, did you build this --with-sqlite? I have a client requesting that extension.
mazza
Jan 31 2006, 10:48 PM
ok install went fine but when i goto any sites it shows all the php code as if i opend it in a txt doc
here is what i get with php -v as root
PHP 5.1.1 (cli) (built: Nov 27 2005 20:37:03)
Copyright © 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2005 Zend Technologies
I logged inot a site admin account and ran this
php -v and got this
bash-2.05b$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mcrypt.so' - /usr/lib/php4/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/xmlrpc.so' - /usr/lib/php4/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.1.1 (cgi-fcgi) (built: Nov 27 2005 20:34:45)
Copyright © 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2005 Zend Technologies
bash-2.05b$
any help please because im stuck
mazza
Jan 31 2006, 11:24 PM
When i have sites in 3.1 or low it all shows the code of php
When i put the sites on high security i get these types of erros for all sites
Fatal error: Call to undefined function mysql_connect() in /var/www/html/forum/ips_kernel/class_db_mysql.php on line 127
norther
Feb 1 2006, 12:28 AM
Your /etc/php.ini points to php4 modules. Find a setting "extension_dir" in php.ini and change it to be something like "/usr/lib/php/modules" or whatever is the path where your php5 modules lies. Then copy the modified php.ini to every site.
mazza
Feb 1 2006, 12:41 AM
thanks for the reply but i tired that when i run the phpinfo on site it does show current php seems its not phrasing anythign
mazza
Feb 1 2006, 05:43 AM
when i moved the php.ini over i logged in as site admin and did php -v i got this error
bash-2.05b$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/snmp.so' - libnetsnmp.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.1.1 (cgi-fcgi) (built: Nov 27 2005 20:34:45)
Copyright © 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2005 Zend Technologies
mazza
Feb 1 2006, 06:22 AM
i fixed it woot
ok forgot about that one site i tried to fix its hosed .
i went to another site instead of moving the new php.ini i edit the old one that was looking for moduels for php4 the directive path and chnaged it to this
extension_dir = "/usr/lib/php/modules"
now the site is up
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.