Koozali.org: home of the SME Server

php stoped being viewable after update?

Todd

php stoped being viewable after update?
« on: January 07, 2005, 09:30:05 AM »
I get a blank page for any php file I try and view? I did the  Latest version of update scripts and now my php can not be seen on the web, but htm and html can be? But I get just a blank page when I try and view php pages even the index.php is just a blank page! But everything else is working I feel. I think there is something set to off when it should be on for php to be viwed on line? Htm and html seem to work fine and are viewable over the web from Primary!

Offline Appesteijn

  • ***
  • 62
  • +0/-0
php stoped being viewable after update?
« Reply #1 on: January 07, 2005, 10:14:07 AM »
Maybe you could try ' service httpd-admin restart '.
............

Todd

http-admin shut down and restart
« Reply #2 on: January 07, 2005, 04:53:14 PM »
Shutting down http-admin (ok) starting httpd-admin: (ok)
Still can not see php files from the web, just get a blank screen. No error code or anything looks like it is calling php but nothing. Just a blank screen.

Todd

Php still not working in Primary?
« Reply #3 on: January 07, 2005, 07:11:01 PM »
Php, will not work in Primary. If I make a new ibay called something else it will work. But not working for Primary. How do I make a new Primary? Will this work.

Todd

Did a clean install still have the same issues? no web!
« Reply #4 on: January 07, 2005, 07:56:03 PM »
Ok, did a clean install of current sme server. Then did only the update found here, http://sme.braunstein.de/update/smeplus.sh
Then same issue, Primary will not show php files to the web. You just get a blank page. I do not think this update work correctly. Has any one else had this problem? Did you get it fixed? Should I just go back to the old stuff.

Henk

php stoped being viewable after update?
« Reply #5 on: January 07, 2005, 08:25:11 PM »
I've installed php 4.3.10 and it works great. PHP scripts in the Primary Ibay also do work.

In this topic you can read the how-to:

http://forums.contribs.org/index.php?topic=25275.0

Todd

I think it it 2 issues i php 4.3.10 needed and Zend?
« Reply #6 on: January 07, 2005, 10:05:47 PM »
Now I need to get Zend? What is Zend and where might I find it. This is fun, but I have no idea how to do this stuff but tring to learn. This form is great and would not learn with out it. But here is what the programmer wrote "you'll need Zend installed also for this version of
my programs to work. I charge like $7.95 / month. Zend is not easy to install, so I should host for you. That way you do not have to worry about Zend!"
If I wanted him to host I would not be on this site asking for help! Does any body know how to do this.
I need some help to learn a little.

Todd

Thanks Henk! 4.3.10 seems to be installed?
« Reply #7 on: January 07, 2005, 10:49:48 PM »
Is there a way to check to see what version of php is running? I found Zend but now how do I install .tr? Not like rpm I do not think.

Todd

Zend
« Reply #8 on: January 08, 2005, 12:05:05 AM »
How do you install Zend under sme? I do not know how to work with tar files? Can some one help here! This is what it says to do......
UNIX (Linux, Solaris, FreeBSD) & Mac OSX

To install the Zend Optimizer under UNIX or Mac OSX:

Execute the following command (and follow the instructions):
./install.sh
NOTE: Be sure to download the Zend Optimizer version that corresponds with the platform you use.
If you are running under Apache, restart your Apache Web server. For Apache V1.3, use the commands:
apachectl stop; apachectl start

so I made a dir mkdir and called it zeed mkdir zend, then I cd to zeed cd /zend. how do I get the file to here. and then how do I get to the install.sh?

Todd

This issue was fixed
« Reply #9 on: January 09, 2005, 06:10:02 AM »
The programer sent the file Zend crypted, Still do not know if thi will work on sme. Seems a lot of programers are now using this Zend to protect there php files. Hope sme offers a contrib to this in rpm. The tar file was a little hard to get install and I am not sure if it was done correct. i did the php test they sad to do but?
<body>
<?php
  phpinfo();
  ?>
  </body>

Offline edb

  • *
  • 548
  • +0/-0
php stoped being viewable after update?
« Reply #10 on: January 09, 2005, 06:44:48 AM »
Check your /etc/php.ini file to see if "magic_quotes_gpc=On" and also "register_globals=On". You won't even get a phpinfo page if the "register_globals=Off".

Ed
......