Upgraded the php from 5.3 to 5.4 using yum update and now its not working

Status
Not open for further replies.

msk19994

Active Member
2,813
2011
566
15
Hey Guys
I wanted to run a script that required me to run php 5.4 instead of 5.3
so in the ssh i just typed yum update and it updated the php and other modules like virtualmin
Now i cant seem to get any php file to work even the phpinfo.php is not working its showing a blank page
So now i am so confused as to what to do, It would be great if someone could help me out here
Yours Sincerely
Msk
 
8 comments
Hey
Currently in the virtualmin settings ie

open.gif
Server Configuration

Website Options
Apache mod_php (run as Apache's user) is working
but
CGI wrapper (run as virtual server owner)
FCGId (run as virtual server owner)
both are not showing anything in php files
and acc to apache logs its giving not found error i mean the phpfiles and when changed to Apache mod_php it works fine
 
Depending on where you installed Apache, you may need to change the path to the logs below. Try tailing the error logs and loading your PHP page:

Code:
tail -f /usr/local/apache/logs/error_log

Do you see any errors coming from your IP? If yes, what is being shown?

In SSH, when you enter:

Code:
php -v

Do you get any output? If it is blank as well, will it be possible to post your php.ini?
 
^
As i mentioned above the php -v is working fine giving the correct output no error and the site is working fine when on
Apache mod_php
but when changed to

CGI wrapper (run as virtual server owner)
or
FCGId (run as virtual server owner)
the apache error logs show not found ie they cannot find the php files and the sites dont work

 
Status
Not open for further replies.
Back
Top