Results 51 to 75 of 75
-
07-05-2007, 04:30 PM #51Newbie
- Join Date
- Mar 2002
- Location
- Bend, Oregon
- Posts
- 24
I can't for the life of me get this to show up when I run php -v. Here's the relevant sections of my php.ini file (changed the eaccelerator line to hardcoded location for the .so file, still no dice, and the IONCube location was just where I put hte files to keep it consistent with where I read cPanel looked for them):
Code:; IONCube Support zend_extension = /usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so [Zend] zend_optimizer.optimization_level=15 zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8 zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8 zend_optimizer.version=3.2.8 zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so ;;eAccelerator extension=/usr/lib/php/eaccelerator/eaccelerator.so eaccelerator.shm_size="16" eaccelerator.cache_dir="/php-cache" eaccelerator.enable="1" eaccelerator.optimizer="1" eaccelerator.check_mtime="1" eaccelerator.debug="0" eaccelerator.filter="" eaccelerator.shm_max="0" eaccelerator.shm_ttl="0" eaccelerator.shm_prune_period="0" eaccelerator.shm_only="0" eaccelerator.compress="0"
Code:PHP 4.4.6 (cli) (built: Jun 21 2007 10:55:24) Copyright (c) 1997-2007 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
-
07-05-2007, 04:36 PM #52Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Did you use the script?
Either way, here is what you should do:
Make sure your /usr/lib/php/eaccelerator/eaccelerator.so exists, if so:
Code:if [ ! -d /usr/local/lib/php/extensions ]; then mkdir /usr/local/lib/php/extensions; fi cp /usr/lib/php/eaccelerator/eaccelerator.so /usr/local/lib/php/extensions/eaccelerator.so
Now load eAccelerator like this:
extension=eaccelerator.so
It should work fine after that.
-
07-05-2007, 05:39 PM #53Newbie
- Join Date
- Mar 2002
- Location
- Bend, Oregon
- Posts
- 24
Yes, I used the scripts (thanks for those, BTW), but edited my php.ini to know locations of the files when it wasn't working. But it apparently wasn't comp
But my extension_dir was indeed pointing to the wrong place (had some random debug directory in there that didn't exist -- totally missed that on my phpinfo). All better now :-)
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
-
07-05-2007, 06:28 PM #54Newbie
- Join Date
- Mar 2002
- Location
- Bend, Oregon
- Posts
- 24
sorry, hit submit before editing properly...
"Yes, I used the scripts (thanks for those, BTW), but edited my php.ini to known locations of the files with a locate when it wasn't working. But it apparently wasn't compiled properly."
-
07-08-2007, 03:05 PM #55Web Hosting Master
- Join Date
- Aug 2004
- Location
- Canada
- Posts
- 3,785
I'm just wondering are you using any sort of system to keep that php-cache folder at a reasonable level? Never thought much about it but some machines after running it for a long time are seeing close to 7 gigs being used by the folder.
As for the performance increase I just upped the shm size to 128mb and modified the the sys so it could have a shm that big. Seemd to improve things much more since it's actually putting a lot more into shm compared to before.█ Tony B. - Chief Executive Officer
█ Hawk Host Inc. Proudly serving websites since 2004
█ Quality Shared and Cloud Hosting
█ PHP 5.2.x - PHP 8.1.X Support!
-
07-08-2007, 03:07 PM #56Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
07-10-2007, 02:37 PM #57WHT Addict
- Join Date
- Apr 2003
- Posts
- 170
how to edit php.ini file?
posted in wrong thread.
DOTS.WS - Domain Registration Service.
We are accredited .WS and CentralNIC registrar.
-
07-10-2007, 06:54 PM #58WHT Addict
- Join Date
- Jan 2004
- Posts
- 106
Perfect, I was in need of this info
-
07-11-2007, 07:55 AM #59Junior Guru Wannabe
- Join Date
- Jan 2004
- Location
- syd
- Posts
- 35
nice tutorial. thanks for this
-
08-05-2007, 02:13 AM #60New Member
- Join Date
- Aug 2007
- Posts
- 1
nice.. but.. i use a directadmin...but in this thread i found the eAccelerator is for (Cpanel)
so how? can i install it in my directadmin..
-
08-05-2007, 05:42 PM #61Junior Guru
- Join Date
- Apr 2006
- Location
- MA
- Posts
- 193
Great job.
-
09-20-2007, 05:16 PM #62Junior Guru Wannabe
- Join Date
- Aug 2007
- Location
- NM
- Posts
- 94
//edit
never mind didn't realize it was three scripts - duh
If zend is already installed on my vps, will this script still work?
-
09-21-2007, 12:24 PM #63Junior Guru Wannabe
- Join Date
- Aug 2007
- Location
- NM
- Posts
- 94
OK -
Got it all installed.
eAccelerator is v0.9.5.1. Is there a way to upgrade?
-
09-21-2007, 02:00 PM #64Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
09-21-2007, 03:59 PM #65Junior Guru Wannabe
- Join Date
- Oct 2006
- Posts
- 66
great guide but what does this mean?
i'm not sure what to do. Where am I adding it?
PHP Code:Add this line BEFORE any other zend_extension (e.g. Zend Optimizer or eAccelerator).
(#### replace below with the version tree you have (I will use 4.4))
-
09-21-2007, 04:08 PM #66Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
09-26-2007, 04:40 AM #67Newbie
- Join Date
- Apr 2007
- Location
- Moon
- Posts
- 6
Great job ,,,, thanks
-
09-26-2007, 05:23 AM #68Junior Guru Wannabe
- Join Date
- Oct 2006
- Posts
- 66
-
11-07-2007, 03:41 PM #69Junior Guru
- Join Date
- Aug 2003
- Location
- Kansas City, MO
- Posts
- 195
I followed this tutorial step-by-step however the ioncube loader is not working. My PHP Info still says:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.6, Copyright (c) 1998-2007, by Zend Technologies
With no ioncube
What could be the problem?NameHero® - Fast Web Hosting & Domains Made Easy
+40,000 web hosting and domain customers
Awarded Inc. 5000’s fastest growing private companies in America in 2022 and 2023
-
11-07-2007, 03:44 PM #70Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
11-07-2007, 03:52 PM #71Junior Guru
- Join Date
- Aug 2003
- Location
- Kansas City, MO
- Posts
- 195
Yeah, we don't need eaccelerator at this time.
[root@server ~]# grep -i ioncube -- /usr/local/lib/php.ini
zend_extension = /usr/local/lib/php/extensions/ioncube_loader_lin_4.4.soNameHero® - Fast Web Hosting & Domains Made Easy
+40,000 web hosting and domain customers
Awarded Inc. 5000’s fastest growing private companies in America in 2022 and 2023
-
11-07-2007, 03:56 PM #72Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
-
11-07-2007, 03:58 PM #73Junior Guru
- Join Date
- Aug 2003
- Location
- Kansas City, MO
- Posts
- 195
Yeah that's what blows my mind:
[root@server ~]# cd /usr/local/lib/php/extensions/
[root@server extensions]# ls -l
total 9804
-rwxr-xr-x 1 root root 298340 Nov 7 13:29 ioncube_loader_lin_4.4.so
drwxr-xr-x 2 root root 4096 Aug 9 14:58 no-debug-non-zts-20020429
drwxr-xr-x 4 root root 4096 Mar 22 2007 ZendOptimizer-3.2.6-linux-glibc21-i386
-rw-r--r-- 1 root root 9711391 Mar 22 2007 ZendOptimizer-3.2.6-linux-glibc21-i386.tar.gz
This is a cPanel machine if that makes a difference, but at this point I'm clueless!NameHero® - Fast Web Hosting & Domains Made Easy
+40,000 web hosting and domain customers
Awarded Inc. 5000’s fastest growing private companies in America in 2022 and 2023
-
11-07-2007, 04:05 PM #74Junior Guru
- Join Date
- Aug 2003
- Location
- Kansas City, MO
- Posts
- 195
I talked with ThePlanet and they said that ioncube needs to be loaded through Web Host Manager. So I went into Main >> Software >> Module Installers and tried to load the package and I got this error. Has anyone else ran into this?
parsePackageName(): invalid package name "ioncube_loader_lin_4.4.so" in "ioncube_loader_lin_4.4.so"
invalid package name/package file "ioncube_loader_lin_4.4.so"
Cannot initialize 'ioncube_loader_lin_4.4.so', invalid or missing package file
Package "ioncube_loader_lin_4.4.so" is not valid
install failedNameHero® - Fast Web Hosting & Domains Made Easy
+40,000 web hosting and domain customers
Awarded Inc. 5000’s fastest growing private companies in America in 2022 and 2023
-
01-15-2008, 12:57 PM #75Disabled
- Join Date
- Jan 2008
- Posts
- 4
thanks!
thanks! man