Jump to content

PHP is not working when using HTTPS


mesh2005

Recommended Posts

When I request the pages http://localhost/info.php it works fine but when I use https://localhost/info.php I get a box to save or open the info.php! The server sends the php file without execution! I use Apache 2,PHP 4 and MySQL 4 on Linux Ubuntu 6.06

Thank you

Link to comment
Share on other sites

Humm....Im not sure what way you have things setup there.

 

I use debian/ubuntu. Here is my apache +ssl +php setup:

http://wiki.kartbuilding.net/index.php/Apache_2_%26_SSL_-_PHP4_-_MySQL_4.1

 

php4 should work no matter what vhost is been used, a ssl vhost or a http vhost.

 

What configing/changing/setting up did you do? If you can describe the steps you took, I can probably tell you whats out of sync.

 

-steve

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.