• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How to upgrade php from 4.3 to 5.2 on Plesk

I don't know. Maybe atomicturtle knows (as he was asking whether you had those installed).
 
okay did the remove and then re-attempted the yum update and still get this error:

Error: Missing Dependency: php-common = 5.2.3-2.el4.art is needed by package php-pdo

Any more ideas?

Thanks

Nick
 
Okay now i have version 5.2 up and running, but any pages that have a require_once() file that is a DB connection, these are all failing.

any ideas?

Nick
 
[Tue Oct 09 10:41:35 2007] [error] [client 71.97.24.103] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/vhosts/holylonghorns.com/httpdocs/inc/mysql_connect.php on line 9
 
Here is the script in the connection page:

//Connect To Database
$hostname="localhost";
$username="longhornuser";
$password="*********";
$dbname="holylonghorns";

mysql_connect($hostname,$username, $password) OR DIE ("Unable to connect to database! Please try again later.");
mysql_select_db($dbname);
 
yes sorry about the caps, i keep them on for my store purposes and then have to remember to take them off.

the guests.php page should be pulling a table to display of gust posts'

the phpinfo is just fyi.

the results are:


[root@plesk conf]# rpm -q php php-mysql
php-5.2.3-4.el4.art
php-mysql-5.2.3-4.el4.art
 
Strange. You have php-mysql installed, I see the mysql.ini and mysqli.ini being parsed in your phpinfo, but there is no mysql section in your phpinfo. What does grep ^extension_dir /etc/php.ini tell you? The extension_dir setting should be set to /usr/lib/php/modules.
 
I do know that the php.ini file is there, as i went into it with vs to check the global variables. and such
 
The fact that that grep command doesn't return anything indicates that there is no line in /etc/php.ini that starts with extension_dir. You really should have the following in /etc/php.ini:

Code:
extension_dir = "/usr/lib/php/modules"

You could try adding it, but I suspect there might be more problems with your php.ini. Do you have a /etc/php.ini.rpmnew file and did you follow the instructions on http://www.atomicorp.com/wiki/index.php/PHP on the .rpmnew files?
 
Thank You!!!!

That did it!!

All is working now.

Thank You and AtomicTurtle So Much!!!!

Nick Getz
 
Back
Top