Search found 5 matches
- Tue Jan 29, 2008 5:08 am
- Forum: PHP - Code
- Topic: Upgraded from PHP4 to PHP5 and has broken secure image
- Replies: 7
- Views: 1859
Re: Upgraded from PHP4 to PHP5 and has broken secure image
Hi there. Sorry it's been a while. I've looked through the access AND error logs for the domain, during the times I've been having problems, and the only entries that relate to securelogo.jpg (the image I'm having trouble accessing securely under PHP 5.2.5) are in the access log (none in the error l...
- Mon Jan 21, 2008 8:28 am
- Forum: PHP - Code
- Topic: Upgraded from PHP4 to PHP5 and has broken secure image
- Replies: 7
- Views: 1859
Re: Upgraded from PHP4 to PHP5 and has broken secure image
I will ask them for error logs. I'm just in the process of making sure everything else 100% works under PHP5, then I'll switch indefinitely and get them to check the logs. I will replace the JPEG with text whilst under PHP5, until the solution is found. Shall report back once I have the error logs. ...
- Thu Jan 17, 2008 3:54 am
- Forum: PHP - Code
- Topic: Upgraded from PHP4 to PHP5 and has broken secure image
- Replies: 7
- Views: 1859
Re: Upgraded from PHP4 to PHP5 and has broken secure image
Are there any changes besides that htaccess change you need to do in order to upgrade to PHP5? No, I just add that line and it converts all .php files in the sub-directories to PHP5. My hosting company instructed me on this method, and I can verify that once the line is inserted, the version does b...
- Wed Jan 16, 2008 8:59 am
- Forum: PHP - Code
- Topic: Upgraded from PHP4 to PHP5 and has broken secure image
- Replies: 7
- Views: 1859
Re: Upgraded from PHP4 to PHP5 and has broken secure image
Try restricting the SetEnv to certain files. It sounds like the configuration line is causing the PHP interpreter to be invoked for all files, regardless of PHP extension or not. Hi, thanks for reply. I used this code to apply the SetEnv only to the PHP files, but the image is still not accessible ...
- Tue Jan 15, 2008 12:01 pm
- Forum: PHP - Code
- Topic: Upgraded from PHP4 to PHP5 and has broken secure image
- Replies: 7
- Views: 1859
Upgraded from PHP4 to PHP5 and has broken secure image
I'm upgrading our code from PHP4 (4.4.8 ) to PHP5 (5.2.5) to enable the use of new functions exclusive to PHP5. I followed the instructions in my hosting companies help pages for editing the .htaccess file (above the public_html directory) to convert all files to PHP5 by inserting the line SetEnv DE...