Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-05-2008, 08:35 PM   #1
TampaToker
Confirmed User
 
Join Date: May 2006
Location: Tampa
Posts: 5,827
How to tell if zend optimizer is installed

Been running blog organizer on a virtual sever and finally moved it to a dedicated. Host says zend is installed but the scripts say something different:

This file was encoded by the Zend Encoder / Zend SafeGuard Suite

In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
__________________
Icq 247-742-205
TampaToker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:39 PM   #2
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
The host is mistaken.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:41 PM   #3
GigoloShawn
Confirmed User
 
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
It may not be installed for the cli.

I'm assuming you're not running Direct Admin or CPanel. There's a different .ini for the cli.
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:41 PM   #4
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
could also do a phpinfo(); and see what it says about zend
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:42 PM   #5
TampaToker
Confirmed User
 
Join Date: May 2006
Location: Tampa
Posts: 5,827
Quote:
Originally Posted by GigoloShawn View Post
It may not be installed for the cli.

I'm assuming you're not running Direct Admin or CPanel. There's a different .ini for the cli.
grr i usually have a server guy who does this stuff for me but he wont be around for a few weeks. Its a manged account does that mean i can send the script to the host and have them install it?
__________________
Icq 247-742-205
TampaToker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:44 PM   #6
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by TampaToker View Post
grr i usually have a server guy who does this stuff for me but he wont be around for a few weeks. Its a manged account does that mean i can send the script to the host and have them install it?
Maybe. They may be too stupid. If you want to give me shell access, I'll tell you what's wrong. If you trust me with sudo or root access, I'll fix it for free.

__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:44 PM   #7
TampaToker
Confirmed User
 
Join Date: May 2006
Location: Tampa
Posts: 5,827
Quote:
Originally Posted by GrouchyAdmin View Post
Maybe. They may be too stupid. If you want to give me shell access, I'll tell you what's wrong. If you trust me with sudo or root access, I'll fix it for free.

appreciate the offer but cant do that
__________________
Icq 247-742-205
TampaToker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:45 PM   #8
GigoloShawn
Confirmed User
 
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
Quote:
Originally Posted by TampaToker View Post
grr i usually have a server guy who does this stuff for me but he wont be around for a few weeks. Its a manged account does that mean i can send the script to the host and have them install it?
Perhaps. If they think it's installed, though, they obviously don't know what the hell they're taking about.
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:50 PM   #9
GigoloShawn
Confirmed User
 
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
Run this:

PHP Code:
<?php
if (!function_exists('findPhpCli')) {
  function 
findPhpCli() {
    
$phpClis=array(
                  
'/usr/bin/php''/usr/bin/php5',
                  
'/usr/bin/php-cli''/usr/local/bin/php-cli',
                  
'/usr/local/bin/php''/usr/local/bin/php5',
                  
'/usr/bin/phpcli''/usr/local/bin/phpcli',
                  
'/usr/bin/php-cli''/usr/local/bin/php-cli',
                  
'/usr/bin/php4''/usr/local/bin/php4',
                  );

    foreach (
$phpClis as $phpcli) {
      if (@
is_file("$phpcli") && is_executable("$phpcli")) {
          return(
"$phpcli");
          break;
      } else {
         return 
FALSE;
      }
    }
  }
}
?>
<html>
<title>PHP Diagnostics</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff">
<font size="5"><b>Diagnostics:</b></font>
<br><br>
<center>
<table width="90%">
<tr>
<td>
Checking for exec()
</td>
<td align="right">
<?php echo (function_exists('exec')) ? "<font color='#00ff00'>exec() is here.</font>" "<font colo
r='#ff0000'>Bad; enable exec()!</font>"
?>
</td>
</tr>
<tr>
<td>
Checking for shell_exec()
</td>
<td align="right">
<?php echo (function_exists('shell_exec')) ? "<font color='#00ff00'>shell_exec() too.</font>" "<font color='#ff0000'>Bad; enable exec()!</font>"?>
</td>
</tr>
<tr>
<td>
Checking for PHP cli
</td>
<td align="right">
<?php $found=findPhpCli(); echo ($found) ? "<font color='#00ff00'>Found PHP at $found</font>" "<font color='#ff0000'>You'll need to set " '$phpPath' " in signup_first_config.php!</font>"?>
</td>
</tr>
<tr>
<td>
Checking PHP for cli build
</td>
<td align="right">
<?php if ($found && function_exists('shell_exec')) { $data=shell_exec("$found -v"); echo (eregi("\(cli\)"$data)) ? "<font color='#00ff00'>It is the cli version.</a>" "<font color='#ff0000'>Does not appear to be the CLI version.</font>";  } else { echo "<font color='#ff0000'>I can't test, beca
use I couldn't find PHP!</font>"
; } ?>
</td>
</tr>
<tr>
<td>
Checking cli for Zend Optimizer Support
</td>
<td align="right">
<?php if ($found && function_exists('shell_exec') && $data) { echo (eregi("zend\ optimizer"$data)
) ? 
"<font color='#00ff00'>Looks like it.</a>" "<font color='#ff0000'>You will need Zend Opmizer support in your cli php's .ini file.</font>";  } else { echo "<font color='#ff0000'>I can't test, b
ecause I couldn't find PHP!</font>"
; } ?>
</td>
</tr>
</table>
</center>
</body>
</html>
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:53 PM   #10
TampaToker
Confirmed User
 
Join Date: May 2006
Location: Tampa
Posts: 5,827
Quote:
Originally Posted by GigoloShawn View Post
Run this:
Diagnostics:

Checking for exec() exec() is here.
Checking for shell_exec() shell_exec() too.
Checking for PHP cli You'll need to set $phpPath in signup_first_config.php!
Checking PHP for cli build I can't test, beca use I couldn't find PHP!
Checking cli for Zend Optimizer Support I can't test, b ecause I couldn't find PHP!
__________________
Icq 247-742-205
TampaToker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:56 PM   #11
GigoloShawn
Confirmed User
 
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
It can't find a PHP cli.

That means that you probably don't have the PHP cli in your path, and it couldn't find it. I can't do much for ya to see if it's trying for the cli, sorry.

As suggested, make a page with <?php phpinfo(); ?> in it. If Optimizer is installed for the in-apache version, it will say so.
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:58 PM   #12
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,632
http://onlinehowto.net/Tutorials/PHP...allation/411/1

or

http://www.activecampaign.com/blog/2...end-optimizer/

But first check with a phpinfo file to see if it is already installed.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:58 PM   #13
TampaToker
Confirmed User
 
Join Date: May 2006
Location: Tampa
Posts: 5,827
Quote:
Originally Posted by GigoloShawn View Post
It can't find a PHP cli.

That means that you probably don't have the PHP cli in your path, and it couldn't find it. I can't do much for ya to see if it's trying for the cli, sorry.

As suggested, make a page with <?php phpinfo(); ?> in it. If Optimizer is installed for the in-apache version, it will say so.
ok cool man thanks for the help i will just send the script to the host.
__________________
Icq 247-742-205
TampaToker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 08:58 PM   #14
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by GigoloShawn View Post
Run this:
You forgot to change some data in there which doesn't apply to this case. I'm glad you found an actual use for the 'does your server have what it takes to run this' throwaway script.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 09:04 PM   #15
HighEnergy
So Fucking Banned
 
Join Date: Apr 2007
Posts: 806
Quote:
Originally Posted by GigoloShawn View Post
Run this:
That's funny .... ha ha ha
HighEnergy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 09:13 PM   #16
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by HighEnergy View Post
That's funny .... ha ha ha
Thank you.

This throwaway script has also saved me countless hours of work trying to explain the differences between the cli, and the 'built into apache' module.

I'll let you license it.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2008, 09:18 PM   #17
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Create a page with

Code:
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
save as phpinfo.php

upload - access
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.