Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2011, 05:31 AM   #1
Registered: Nov 2010
Posts: 35

Rep: Reputation: 0
Decoding Base64 encoded PHP scripts on Linux Server

Is it necessary to install something on a linux server to enable the decoding of a base64 encoded php script?

PHP is running fine on the server, but I am trying to install a base64 encoded php script, and just getting a blank page, so I thought maybe the problem is because the server can not decode the script?
Old 01-18-2011, 11:23 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Ummm ... the PHP interpreted wouldn't know what to do w/ BASE64.
If you want it to execute the script, save it as plain text.

Where did it come from, out of curiosity? =o)

Old 01-18-2011, 11:57 AM   #3
Registered: Nov 2010
Posts: 35

Original Poster
Rep: Reputation: 0
Thumbs up base64

It is just a sitemap generator script from, I think they encode it to protect their code.

I have managed to get it working now, I resorted to rebuilding Apache, upgrading to php 5.16 and installing Zend, as I read that that encodes/decodes etc.

Something in that process fixed in, whether it was the installation of Zend or simply some apache config problem that got fixed with the rebuild, I do not know. But at least now I no longer see empty pages where I should see stuff!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there way to run php scripts without having any server os...... kratosal Linux - Newbie 5 04-06-2008 02:30 PM
suggestions for using xslt to view base64-encoded floating point data in an xml file? zero79 Programming 0 01-10-2006 06:52 PM
Parsing PHP Scripts using Apache in SuSe 9.3 (without a dedicated server) elliotfuller SUSE / openSUSE 7 07-27-2005 11:40 AM
Running PHP Scripts in SuSe Linux 9.3 w/o a server. elliotfuller Linux - Software 3 06-18-2005 06:27 PM
Decoding an encoded string The_Nerd Programming 2 12-28-2004 08:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration