SSL Stopped working after PHP 5.2.3 Upgrade???

ehask71

Well-Known Member
Jul 13, 2007
62
5
58
Tampa, Florida, United States
cPanel Access Level
Root Administrator
Has anyone had a similar problem?? I upgraded 2 of my servers lastnight and today got a bunch of calls saying all the SSL enabled sites are "Page Cannot Be Displayed"

I also noticed this morning when you type this

http://www.domain.com/store

missing the last slash it will sometimes prompt you to download the php file???

Is there a bug or a workaround to fix these??

Quick Note:
WHM 10.8.0 cPanel 10.9.0-S13517
RedHat Enterprise 3 i686 - WHM X v3.1.0

SSL is enabled in build Apache Script

Thx
Eric
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,135
1
168
New York
Are you sure all the modules are compiled into apache? Create a simple php info page
with the following:

<HTML>
<HEAD>
</HEAD>
<BODY>
<?PHPINFO()?>
</BODY>
</HTML>


Save it into a file named something like testphp.php and then put in one of your apache public_html or htdocs folders and browse it like :

http://www.yourdomain.com/testphp.php

to see the output. It should produce a huge amount of PHP info as well as module info, apache stuff etc.

In the top of the output look for what displays to the right of "Configure Command " and much lower in the "apache" section look for the section "Loaded Modules". Be sure you see all of them especially mod_rewrite and mod_ssl.

This should at least get you started to see what resulted from the php/apache recompile.
 
Last edited:

Spiral

BANNED
Jun 24, 2005
2,018
8
193
You wouldn't by chance be using SuExec or phpSuExec would you?
cPanelDavidG is asking you this because as of PHP v5.2.3, the CGI binary filename
was changed from "php" to "php-cgi" which will cause your PHP to be broken if
your configuration isn't updated to use the new PHP handler filename.

Although not personally recommended, another solution is to copy "php-cgi" back to "php"
and replace the CLI binary (now has the name php) with the CGI binary (php-cgi)