1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
php issues
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: php issues
#33479
php issues 1 Year, 8 Months ago  
Greetings,

I am needing some assitance with php, i attempted to upgrade my php install and ended up breaking it. So i need to reinstall it. I am a newby to linux and php any help would be greatly appreciated.
Winfield Brown
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#33481
Re: php issues 1 Year, 8 Months ago  
There are a couple of how to's in the documentation section up top that you will find useful
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#33504
Re: php issues 1 Year, 8 Months ago  
i went through those "how to's" and its still not working for me....
Winfield Brown
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#33508
Re: php issues 1 Year, 8 Months ago  
Ok, so post what your trying to do and the errors and we maybe able to help?
Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#33534
Re: php issues 1 Year, 8 Months ago  
Thanks Tim.

My first questions is how do i make sure php is uninstalled completely?

What command can i use to view a list of php thats installed if any?

I host a blog site and its wordpress/php based, i get error 404
76.186.236.16

Also i am not able to access webmail 76.186.236.16:83

My goal is to get EyeOS installed on my ClearOS Vm.
Winfield Brown
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/10/17 12:23 By sodjazero.
The administrator has disabled public write access.
 
#33535
Re: php issues 1 Year, 8 Months ago  
also is there like a "system restore" command also that i can use?
Winfield Brown
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#33536
Re: php issues 1 Year, 8 Months ago  
I tried to install the PHP module via the Clear OS GUI...

--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
app-php i386 5.1-20 base-os 2.9 k
Installing for dependencies:
php i386 5.1.6-27.v5.3 base-updates 2.3 M
php-cli i386 5.1.6-27.v5.3 base-updates 2.1 M
php-common i386 5.1.6-27.v5.3 base-updates 153 k
php-imap i386 5.1.6-27.v5.3 base-updates 54 k
php-ldap i386 5.1.6-27.v5.3 base-updates 37 k
php-mbstring i386 5.1.6-27.v5.3 base-updates 995 k

Transaction Summary
=============================================================================
Install 7 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 5.6 M
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package php-pdo needs php-common = 5.3.8-4.clearos, this is not available.
Package php-gd needs php-common = 5.3.8-4.clearos, this is not available.
Complete!
Winfield Brown
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#33551
Re: php issues 1 Year, 8 Months ago  
RPM is your friend, and learning a bit of syntax you can use the following to list all installed PHP RPM's
Code:

rpm -qa | grep ^php-


To remove PHP altogether
Code:

yum remove php php-common


A HTTP 404 error means that the file was not found, rather than a PHP scripting error

There is no system restore, other than having a good backup, or using the remote configuration backup

Your attempt to install via the ClearOS GUI shows that you still have some 5.3.8 modules installed which conflict with 5.1.6 which is the base default version for ClearOS5.2. I assume you are trying to install PHP5.3.x so run from the command line:-
Code:

yum --enablerepo=timb-testing install php

Tim Burgess
Moderator
Posts: 5828
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop